diff options
author | Ted Gould <ted@gould.cx> | 2015-03-06 16:19:41 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-03-06 16:19:41 -0600 |
commit | 4bef5575c83bd34e467c4aa043e9bec221354feb (patch) | |
tree | 0d3521be603a8db032411c1c089ece31f1e0c1c1 /tests/indicator-fixture.h | |
parent | bb83669a1a1cdf3cc4949a13a6b6977b336cd178 (diff) | |
download | ayatana-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.h | 4 |
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); } |