~ps-jenkins/libunity/latestsnapshot-7.1.3+14.04.20131106-0ubuntu1

« back to all changes in this revision

Viewing changes to test/vala/test-scope-discovery.vala

  • Committer: Tarmac
  • Author(s): Michal Hruby
  • Date: 2013-09-27 17:35:04 UTC
  • mfrom: (296.1.1 libunity)
  • Revision ID: tarmac-20130927173504-z2ic4d94iz73j5zh
Add API to set renderer hints. Fixes: https://bugs.launchpad.net/bugs/1231951.

Approved by Pawel Stolowski, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
557
557
      assert (category.sort_field == null);
558
558
      assert (category.renderer == null);
559
559
      assert (category.content_type == null);
 
560
      assert (category.renderer_hint == null);
560
561
 
561
562
      category = categories[1];
562
563
      assert (category.id == "cat2");
566
567
      assert (category.sort_field == "title");
567
568
      assert (category.renderer == "list");
568
569
      assert (category.content_type == "music");
 
570
      assert (category.renderer_hint == "compact");
569
571
 
570
572
      var filters = metadata.get_filters ();
571
573
      assert (filters != null);