on xenial help sign in
Add a mock scope with interesting navigation filters
0f6da63Josh Arenson
tests/mocks/Unity/fake_scopes.cpp+2−1
@@ -60,7 +60,8 @@ void Scopes::updateScopes()
60 addScope(new Scope("MockScope7", "MS7", false, this));
60 addScope(new Scope("MockScope7", "MS7", false, this));
61 addScope(new Scope("MockScope8", "MS8", false, this));
61 addScope(new Scope("MockScope8", "MS8", false, this));
62 addScope(new Scope("MockScope9", "MS9", false, this));
62 addScope(new Scope("MockScope9", "MS9", false, this));
63− addScope(new Scope("MockScope10", "MS10", true, this));
63+ addScope(new Scope("MockScope10", "MS10", true, this, 1, false,
64+ QStringList() << "Meat" << "Vegetables" << "BBQ" << "Burritos" << "Pasta" << "Pancakes" << "Seafood" << "Soup" << "Bugs" << "Pudding" << "Chocolate" << "Gluten-Free" << "Hamburgers" << "Pho" << "Panang Curry" << "Lumpia" << "Sushi"));
64 addScope(new Scope("NullPreviewScope", "NPS", false, this, 1, true));
65 addScope(new Scope("NullPreviewScope", "NPS", false, this, 1, true));
65 m_scopesOverview = new ScopesOverview(this);
66 m_scopesOverview = new ScopesOverview(this);
66
67