summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2019-01-22 14:55:39 -0800
committerTomasz Wasilczyk <twasilczyk@google.com>2019-01-23 09:37:11 -0800
commitf54fc26af70d5ee42d7c67398e8fb645a80d8dd5 (patch)
tree286e6a82c857cf27832c3b09b58ea7e0de53ff37 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentf6f46ce603a5c8e1ea6371e4edad8731101f742e (diff)
Don't over-specify testcases with verifyNoMoreInteractions.
In this specific case, there is a race condition between verify(...).onProgramInfoChanged(...) and verifyNoMoreInteractions call. As it's being called in the middle of the testcases, it's not possible to pull the callback from the radio service to prevent the race condition. However, Mockito docs ask to not overuse this method for over-specification of the tests, so let's just comply with what the doc says. Bug: 122715569 Test: atest BroadcastRadioTests Change-Id: I978b13c7c7607773f12cc5a3a9f72f782fb3f345
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions