diff --git a/build/build.xml b/build/build.xml index cebbe64..e2b5318 100644 --- a/build/build.xml +++ b/build/build.xml @@ -18,7 +18,30 @@ - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/tests/errors_test/mismatch_type_in_returns_action.cpp b/src/tests/errors_test/mismatch_type_in_returns_action.cpp index 36fc444..6c5b292 100644 --- a/src/tests/errors_test/mismatch_type_in_returns_action.cpp +++ b/src/tests/errors_test/mismatch_type_in_returns_action.cpp @@ -10,13 +10,13 @@ namespace { - MOCK_CLASS( cl ) + MOCK_CLASS( mocked ) { - MOCK_METHOD_EXT( m, 0, int(), m ) // add another test with void() and another with std::string() + MOCK_METHOD_EXT( method, 0, int(), method ) // add another test with void() and another with std::string() }; void test_case() { - cl c; - MOCK_EXPECT( c, m ).returns( "42" ); + mocked m; + MOCK_EXPECT( m, method ).returns( "42" ); } }