~ci-train-bot/ubuntu-app-launch/ubuntu-app-launch-ubuntu-zesty-2264

« back to all changes in this revision

Viewing changes to tests/list-apps.cpp

  • Committer: Ted Gould
  • Date: 2017-04-04 05:29:16 UTC
  • mfrom: (307.1.20 registry-cleanup)
  • mto: This revision was merged to the branch mainline in revision 314.
  • Revision ID: ted@gould.cx-20170404052916-sy1fq5qzfrau6o53
Merge registry cleanup changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
TEST_F(ListApps, ListLegacy)
140
140
{
141
141
    auto registry = std::make_shared<ubuntu::app_launch::Registry>();
142
 
    ubuntu::app_launch::app_store::Legacy store(*registry);
 
142
    ubuntu::app_launch::app_store::Legacy store(registry->impl);
143
143
    auto apps = store.list();
144
144
 
145
145
    printApps(apps);
154
154
TEST_F(ListApps, ListLibertine)
155
155
{
156
156
    auto registry = std::make_shared<ubuntu::app_launch::Registry>();
157
 
    ubuntu::app_launch::app_store::Libertine store(*registry);
 
157
    ubuntu::app_launch::app_store::Libertine store(registry->impl);
158
158
    auto apps = store.list();
159
159
 
160
160
    printApps(apps);
197
197
                    interfaces, x11Package, x11Package, x11Package}};                  /* x11 check */
198
198
    auto registry = std::make_shared<ubuntu::app_launch::Registry>();
199
199
 
200
 
    ubuntu::app_launch::app_store::Snap store(*registry);
 
200
    ubuntu::app_launch::app_store::Snap store(registry->impl);
201
201
    auto apps = store.list();
202
202
 
203
203
    printApps(apps);