on xenial help sign in
make some count emblems visible in the mock
commit8a62abbe052960f4cc4ec56f9fd70160c6d1f679 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 3 Sep 2014, 15:33 (12 years ago) parentae59de5
1 file changed+6
tests/mocks/Unity/Launcher/MockLauncherModel.cpp+6
tests/mocks/Unity/Launcher/MockLauncherModel.cpp+6
@@ -33,26 +33,32 @@ MockLauncherModel::MockLauncherModel(QObject* parent): LauncherModelInterface(pa
3333 m_list.append(item);
3434 item = new MockLauncherItem("gallery-app", "/usr/share/applications/gallery-app.desktop", "Gallery", "gallery", this);
3535 item->setProgress(50);
36+ item->setCountVisible(true);
3637 m_list.append(item);
3738 item = new MockLauncherItem("facebook-webapp", "/usr/share/applications/facebook-webapp.desktop", "Facebook", "facebook", this);
3839 item->setProgress(150);
3940 m_list.append(item);
4041 item = new MockLauncherItem("webbrowser-app", "/usr/share/applications/webbrowser-app.desktop", "Browser", "browser", this);
4142 item->setCount(1);
43+ item->setCountVisible(true);
4244 m_list.append(item);
4345 item = new MockLauncherItem("twitter-webapp", "/usr/share/applications/twitter-webapp.desktop", "Twitter", "twitter", this);
4446 item->setCount(12);
47+ item->setCountVisible(true);
4548 item->setPinned(true);
4649 m_list.append(item);
4750 item = new MockLauncherItem("gmail-webapp", "/usr/share/applications/gmail-webapp.desktop", "GMail", "gmail", this);
4851 item->setCount(123);
52+ item->setCountVisible(true);
4953 m_list.append(item);
5054 item = new MockLauncherItem("ubuntu-weather-app", "/usr/share/applications/ubuntu-weather-app.desktop", "Weather", "weather", this);
5155 item->setCount(1234567890);
56+ item->setCountVisible(true);
5257 m_list.append(item);
5358 item = new MockLauncherItem("notes-app", "/usr/share/applications/notes-app.desktop", "Notepad", "notepad", this);
5459 item->setProgress(50);
5560 item->setCount(5);
61+ item->setCountVisible(true);
5662 item->setFocused(true);
5763 item->setPinned(true);
5864 m_list.append(item);