~system-settings-touch/gsettings-qt/trunk

« back to all changes in this revision

Viewing changes to tests/tst_GSettings.qml

  • Committer: CI bot
  • Author(s): Ken VanDine
  • Date: 2014-08-01 17:06:47 UTC
  • mfrom: (59.2.1 lp1349787)
  • Revision ID: ps-jenkins@lists.canonical.com-20140801170647-f74fen3rlsa945n8
added tests for a{ss}
 
Approved by: Jonas G. Drange

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    compare(settings.testBoolean, false);
32
32
    compare(settings.testString, 'hello');
33
33
    compare(settings.testStringList, ['one', 'two', 'three']);
 
34
    compare(settings.testMap, {'foo': 'one', 'bar': 'two'});
34
35
 
35
36
    compare(testCase.bindingTest, 'hello');
36
37
  }
53
54
    settings.testStringList = [];
54
55
    compare(settings.testStringList, []);
55
56
 
 
57
    settings.testMap = {'baz': 'three'}
 
58
    compare(settings.testMap, {'baz': 'three'});
 
59
    settings.testMap = {};
 
60
    compare(settings.testMap, {});
 
61
 
56
62
    settings.testEnum = 'two';
57
63
    compare(settings.testEnum, 'two');
58
64