aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-fixture.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-03-06 16:19:41 -0600
committerTed Gould <ted@gould.cx>2015-03-06 16:19:41 -0600
commit4bef5575c83bd34e467c4aa043e9bec221354feb (patch)
tree0d3521be603a8db032411c1c089ece31f1e0c1c1 /tests/indicator-fixture.h
parentbb83669a1a1cdf3cc4949a13a6b6977b336cd178 (diff)
downloadayatana-indicator-messages-4bef5575c83bd34e467c4aa043e9bec221354feb.tar.gz
ayatana-indicator-messages-4bef5575c83bd34e467c4aa043e9bec221354feb.tar.bz2
ayatana-indicator-messages-4bef5575c83bd34e467c4aa043e9bec221354feb.zip
Bringing in AS mock and getting a base test of the root action going
Diffstat (limited to 'tests/indicator-fixture.h')
-rw-r--r--tests/indicator-fixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/indicator-fixture.h b/tests/indicator-fixture.h
index e725a50..aa191ae 100644
--- a/tests/indicator-fixture.h
+++ b/tests/indicator-fixture.h
@@ -272,9 +272,9 @@ class IndicatorFixture : public ::testing::Test
return result;
}
- template <typename... Args> testing::AssertionResult expectEventuallyActionStateExists (Args&& ... args) {
+ template <typename... Args> testing::AssertionResult expectEventuallyActionExists (Args&& ... args) {
std::function<testing::AssertionResult(void)> func = [&]() {
- return expectActionStateExists(std::forward<Args>(args)...);
+ return expectActionExists(std::forward<Args>(args)...);
};
return expectEventually(func);
}