src/media/audio/drivers/test/admin_test.cc
// If earlier in this test group we failed to get admin access, exit immediately.
// If the admin flag is specified, then fail; otherwise, skip the test case.
If earlier in this test group we failed to get admin access, exit immediately.
If the admin flag is specified, then fail; otherwise, skip the test case.
If earlier in this test group we failed to get admin access exit immediately . If the admin flag is specified then fail ; otherwise skip the test case .
void AdminTest::SetUp() {
  TestBase::SetUp();
  if (no_devices_found()) {
    GTEST_SKIP();
  }
  if (device_access_denied()) {
    if (test_admin_functions_) {
      FAIL();
    } else {
      GTEST_SKIP();
    }
    __UNREACHABLE;
  }
  EnumerateDevices();
}
void AdminTest :: SetUp ( ) { TestBase :: SetUp ( ) ; if ( no_devices_found ( ) ) { GTEST_SKIP ( ) ; } if ( device_access_denied ( ) ) { if ( test_admin_functions_ ) { FAIL ( ) ; } else { GTEST_SKIP ( ) ; } __UNREACHABLE ; } EnumerateDevices ( ) ; }
If earlier in this test group we failed to get admin access, exit immediately.
If earlier in this test group we failed to get admin access exit immediately .
// If previous test in this group found no device, we don't need to search again - skip this test.