~ubuntu-branches/ubuntu/saucy/unity8/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/plugins/Unity/Launcher/launcherbackendtest.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Michał Sawicz, Nick Dedekind, Albert Astals, Christopher Lee, Ubuntu daily release
  • Date: 2013-10-05 11:45:14 UTC
  • mfrom: (1.1.42)
  • Revision ID: package-import@ubuntu.com-20131005114514-fhwzgl2362zv4fmd
Tags: 7.82+13.10.20131005-0ubuntu1
[ Michał Sawicz ]
* Revert r376 that caused constant CPU usage due to the
  ActivityIndicator.

[ Nick Dedekind ]
* Removed indicators-client autopilot tests. (LP: #1234736)

[ Albert Astals ]
* Revert r388. (LP: #1235268)

[ Christopher Lee ]
* Removes passing -fullscreen to unity8 when on the device (as per bug
  #1235065). (LP: #1235065)

[ Ubuntu daily release ]
* Automatic snapshot from revision 396

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
    void testFileNames()
39
39
    {
40
 
        LauncherBackend backend(false);
 
40
        LauncherBackend backend;
41
41
 
42
42
        backend.setStoredApplications(QStringList() << "rel-icon" << "abs-icon" << "invalid");
43
43
        QCOMPARE(backend.storedApplications(), QStringList() << "rel-icon" << "abs-icon");
45
45
 
46
46
    void testPinning()
47
47
    {
48
 
        LauncherBackend backend(false);
 
48
        LauncherBackend backend;
49
49
 
50
50
        backend.setStoredApplications(QStringList() << "rel-icon" << "abs-icon");
51
51
        QCOMPARE(backend.isPinned("rel-icon"), false);
82
82
        QFETCH(QString, appId);
83
83
        QFETCH(QString, expectedIcon);
84
84
 
85
 
        LauncherBackend backend(false);
 
85
        LauncherBackend backend;
86
86
        backend.setStoredApplications(QStringList() << appId);
87
87
 
88
88
        QCOMPARE(backend.icon(appId), expectedIcon);