src/connectivity/bluetooth/core/bt-host/cobalt/cobalt_logger_unittest.cc
// Tests that the cobalt logger without a interface handle to the cobalt service will
// silently ignore logging requests
Tests that the cobalt logger without a interface handle to the cobalt service will
silently ignore logging requests
Tests that the cobalt logger without a interface handle to the cobalt service will silently ignore logging requests
TEST_F(COBALT_CobaltLoggerTest, NotBoundToService) {
  auto logger = CobaltLogger::Create();
  logger->LogEvent(1, 2);
  logger->LogEventCount(1, 2, 3);
  logger->LogElapsedTime(1, 2, 3);
  logger->LogCobaltEvent({1, {}, EventCount{2}});
  logger->LogCobaltEvents({{1, {}, EventCount{2}}, {2, {2}, ElapsedMicros{3}}});
}
TEST_F ( COBALT_CobaltLoggerTest , NotBoundToService ) { auto logger = CobaltLogger :: Create ( ) ; logger -> LogEvent ( 1 , 2 ) ; logger -> LogEventCount ( 1 , 2 , 3 ) ; logger -> LogElapsedTime ( 1 , 2 , 3 ) ; logger -> LogCobaltEvent ( { 1 , { } , EventCount { 2 } } ) ; logger -> LogCobaltEvents ( { { 1 , { } , EventCount { 2 } } , { 2 , { 2 } , ElapsedMicros { 3 } } } ) ; }
Tests that the cobalt logger without a interface handle to the cobalt service will
silently ignore logging requests
Tests that the cobalt logger without a interface handle to the cobalt service will silently ignore logging requests