Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewards browser test failed #3883

Closed
yrliou opened this issue Mar 25, 2019 · 0 comments · Fixed by brave/brave-core#2058
Closed

Rewards browser test failed #3883

yrliou opened this issue Mar 25, 2019 · 0 comments · Fixed by brave/brave-core#2058

Comments

@yrliou
Copy link
Member

yrliou commented Mar 25, 2019

Caused by brave/brave-core#1943 which is in master & dev

hidden -c ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc -o obj/brave/test/brave_browser_tests/rewards_service_browsertest.o
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:391:3: error: no member named 'gmock_OnGetDebug' in 'BraveRewardsBrowserTest_HandleFlagsSingleArg_Test'
11:49:54    EXPECT_CALL(*this, OnGetDebug(true));
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1979:3: note: expanded from macro 'EXPECT_CALL'
11:49:54    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1971:16: note: expanded from macro 'GMOCK_ON_CALL_IMPL_'
11:49:54    ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
11:49:54     ~~~~~~~~~~~ ^
11:49:54  <scratch space>:7:1: note: expanded from here
11:49:54  gmock_OnGetDebug
11:49:54  ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:393:3: error: no member named 'gmock_OnGetDebug' in 'BraveRewardsBrowserTest_HandleFlagsSingleArg_Test'
11:49:54    EXPECT_CALL(*this, OnGetDebug(false)).Times(2);
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1979:3: note: expanded from macro 'EXPECT_CALL'
11:49:54    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1971:16: note: expanded from macro 'GMOCK_ON_CALL_IMPL_'
11:49:54    ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
11:49:54     ~~~~~~~~~~~ ^
11:49:54  <scratch space>:12:1: note: expanded from here
11:49:54  gmock_OnGetDebug
11:49:54  ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:395:3: error: no member named 'gmock_OnGetDebug' in 'BraveRewardsBrowserTest_HandleFlagsSingleArg_Test'
11:49:54    EXPECT_CALL(*this, OnGetDebug(true)).Times(2);
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1979:3: note: expanded from macro 'EXPECT_CALL'
11:49:54    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1971:16: note: expanded from macro 'GMOCK_ON_CALL_IMPL_'
11:49:54    ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
11:49:54     ~~~~~~~~~~~ ^
11:49:54  <scratch space>:17:1: note: expanded from here
11:49:54  gmock_OnGetDebug
11:49:54  ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:398:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:404:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:410:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:416:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:422:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:466:3: error: no member named 'gmock_OnGetDebug' in 'BraveRewardsBrowserTest_HandleFlagsMultipleFlags_Test'
11:49:54    EXPECT_CALL(*this, OnGetDebug(false));
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1979:3: note: expanded from macro 'EXPECT_CALL'
11:49:54    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1971:16: note: expanded from macro 'GMOCK_ON_CALL_IMPL_'
11:49:54    ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
11:49:54     ~~~~~~~~~~~ ^
11:49:54  <scratch space>:69:1: note: expanded from here
11:49:54  gmock_OnGetDebug
11:49:54  ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:481:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:487:3: error: no member named 'gmock_OnGetDebug' in 'BraveRewardsBrowserTest_HandleFlagsWrongInput_Test'
11:49:54    EXPECT_CALL(*this, OnGetDebug(true));
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1979:3: note: expanded from macro 'EXPECT_CALL'
11:49:54    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
11:49:54    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11:49:54  ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h:1971:16: note: expanded from macro 'GMOCK_ON_CALL_IMPL_'
11:49:54    ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
11:49:54     ~~~~~~~~~~~ ^
11:49:54  <scratch space>:111:1: note: expanded from here
11:49:54  gmock_OnGetDebug
11:49:54  ^
11:49:54  ../../brave/components/brave_rewards/browser/rewards_service_browsertest.cc:502:3: error: use of undeclared identifier 'GetDebug'
11:49:54    GetDebug();
11:49:54    ^
11:49:54  12 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants