New issue
Advanced search Search tips

Issue 807670 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

MediaStreamDispatcherHostTest and UserMediaClientImplTest have gmock warnings

Project Member Reported by mcasas@chromium.org, Jan 31 2018

Issue description

ToT on my linux box, dev build r533292, when running

/out/desktop/content_unittests --gtest_filter=*MediaStream*


[ RUN      ] MediaStreamDispatcherHostTest.Salt

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc:276:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436a96e8 8-byte object <20-47 91-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc:276:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436a9928 8-byte object <10-9B 8F-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc:276:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436a9928 8-byte object <70-18 7D-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[144495:144495:0131/124608.348750:412855794961:WARNING:media_stream_manager.cc(890)] Invalid device ID = c5f3f1811ac9512bbf20270e647c129f4938ce1eb34b56a712c1349e96aac124
[       OK ] MediaStreamDispatcherHostTest.Salt (10 ms)
[----------] 1 test from MediaStreamDispatcherHostTest (16 ms total)

[----------] 5 tests from MediaStreamManagerTest
[ RUN      ] MediaStreamManagerTest.MakeMediaAccessRequest

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_manager_unittest.cc:150:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436aa088 8-byte object <20-47 91-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] MediaStreamManagerTest.MakeMediaAccessRequest (4 ms)
[ RUN      ] MediaStreamManagerTest.MakeAndCancelMediaAccessRequest
[       OK ] MediaStreamManagerTest.MakeAndCancelMediaAccessRequest (3 ms)
[ RUN      ] MediaStreamManagerTest.MakeMultipleRequests

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_manager_unittest.cc:150:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436a9e88 8-byte object <30-5A AC-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] MediaStreamManagerTest.MakeMultipleRequests (4 ms)
[ RUN      ] MediaStreamManagerTest.MakeAndCancelMultipleRequests

GMOCK WARNING:
Uninteresting mock function call - taking default action specified at:
../../content/browser/renderer_host/media/media_stream_manager_unittest.cc:150:
    Function call: DoGetDeviceInfosAsync(@0x7ffc436aa058 8-byte object <D0-1C 92-0A E9-3D 00-00>)
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] MediaStreamManagerTest.MakeAndCancelMultipleRequests (4 ms)




[ RUN      ] UserMediaClientImplTest.GenerateTwoMediaStreamsWithSameSource

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: OnStreamStarted(@0x7ffc009401f0 "dummy1")
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: OnStreamStarted(@0x7ffc009401f0 "dummy2")
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] UserMediaClientImplTest.GenerateTwoMediaStreamsWithSameSource (26 ms)
[ RUN      ] UserMediaClientImplTest.GenerateTwoMediaStreamsWithDifferentSources

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: OnStreamStarted(@0x7ffc009401f0 "dummy3")
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] UserMediaClientImplTest.GenerateTwoMediaStreamsWithDifferentSources (26 ms)
[ RUN      ] UserMediaClientImplTest.StopSourceWhenMediaStreamGoesOutOfScope

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: OnStreamStarted(@0x7ffc009404b0 "dummy5")
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
[       OK ] UserMediaClientImplTest.StopSourceWhenMediaStreamGoesOutOfScope (48 ms)
[----------] 4 tests from UserMediaClientImplTest (125 ms total)

 
Owner: guidou@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment