| /test/dittosuite/test/include/ |
| D | mock_syscall.h | 28 ON_CALL(*this, Access(::testing::_, ::testing::_)).WillByDefault(::testing::Return(0)); in MockSyscall() 29 ON_CALL(*this, Close(::testing::_)).WillByDefault(::testing::Return(0)); in MockSyscall() 30 ON_CALL(*this, CloseDir(::testing::_)).WillByDefault(::testing::Return(0)); in MockSyscall() 31 ON_CALL(*this, FAdvise(::testing::_, ::testing::_, ::testing::_, ::testing::_)) in MockSyscall() 32 .WillByDefault(::testing::Return(0)); in MockSyscall() 33 ON_CALL(*this, FAllocate(::testing::_, ::testing::_, ::testing::_, ::testing::_)) in MockSyscall() 34 .WillByDefault(::testing::Return(0)); in MockSyscall() 35 ON_CALL(*this, FTruncate(::testing::_, ::testing::_)).WillByDefault(::testing::Return(0)); in MockSyscall() 36 ON_CALL(*this, FStat(::testing::_, ::testing::_)) in MockSyscall() 37 .WillByDefault(::testing::Invoke([](int, struct stat64* buf) { in MockSyscall() [all …]
|
| D | instruction_test.h | 32 class InstructionTest : public ::testing::Test { 48 class InstructionTestWithParam : public InstructionTest, public ::testing::WithParamInterface<T> {};
|
| /test/vts-testcase/kernel/toolchain/ |
| D | vts_kernel_toolchain.cpp | 29 class KernelVersionTest : public ::testing::Test { 52 ASSERT_THAT(version_, ::testing::Not(::testing::HasSubstr(needle))); in TEST_F() 58 ASSERT_THAT(version_, ::testing::HasSubstr(needle)); in TEST_F() 64 ASSERT_THAT(version_, ::testing::Not(::testing::HasSubstr(needle))); in TEST_F() 65 ASSERT_THAT(version_, ::testing::Not(::testing::HasSubstr("GNU Binutils"))); in TEST_F() 66 ASSERT_THAT(version_, ::testing::Not(::testing::HasSubstr("binutils"))); in TEST_F() 72 ASSERT_THAT(version_, ::testing::Not(::testing::HasSubstr(needle))); in TEST_F() 78 ASSERT_THAT(version_, ::testing::HasSubstr(needle)); in TEST_F() 97 ASSERT_THAT(version_, ::testing::HasSubstr("kleaf@")) in TEST_F()
|
| /test/app_compat/csuite/tools/csuite_test/ |
| D | csuite_test_test.go | 28 func TestBpContainsTestHostPropsThrowsError(t *testing.T) { 40 func TestBpContainsManifestThrowsError(t *testing.T) { 52 func TestBpMissingNameThrowsError(t *testing.T) { 62 func TestBpMissingTemplatePathThrowsError(t *testing.T) { 72 func TestBpTemplatePathUnexpectedFileExtensionThrowsError(t *testing.T) { 83 func TestBpExtraTemplateUnexpectedFileExtensionThrowsError(t *testing.T) { 95 func TestBpValidExtraTemplateDoesNotThrowError(t *testing.T) { 105 func TestValidBpMissingPlanIncludeDoesNotThrowError(t *testing.T) { 114 func TestValidBpMissingPlanIncludeGeneratesPlanXmlWithoutPlaceholders(t *testing.T) { 129 func TestGeneratedTestPlanContainsPlanName(t *testing.T) { [all …]
|
| /test/vts-testcase/hal/treble/vintf/ |
| D | SingleManifestTest.h | 26 namespace testing { 31 public ::testing::WithParamInterface< 43 public ::testing::WithParamInterface< 49 const ::testing::TestParamInfo<ParamType>& info); 55 public ::testing::WithParamInterface< 63 public ::testing::WithParamInterface<
|
| D | SystemVendorTest.h | 25 namespace testing { 37 public ::testing::WithParamInterface<std::string /* fq instance name */> { 42 const ::testing::TestParamInfo<ParamType>& info);
|
| D | SystemVendorTest.cpp | 33 namespace testing { namespace 36 using ::testing::Combine; 37 using ::testing::Contains; 38 using ::testing::Values; 39 using ::testing::ValuesIn; 161 const ::testing::TestParamInfo<ParamType> &info) { in GetTestCaseSuffix()
|
| D | VtsTrebleVintfTestBase.h | 32 namespace testing { 39 class VtsTrebleVintfTestBase : public ::testing::Test {
|
| D | VtsNoHidl.cpp | 28 namespace testing { namespace 35 class VintfNoHidlTest : public ::testing::Test {};
|
| D | DeviceManifestTest.cpp | 26 using testing::Combine; 27 using testing::Values; 28 using testing::ValuesIn; 32 namespace testing { namespace
|
| D | main.cpp | 23 ::testing::InitGoogleTest(&argc, argv); in main()
|
| D | DeviceMatrixTest.h | 26 namespace testing {
|
| D | DeviceManifestTest.h | 26 namespace testing {
|
| /test/dittosuite/test/ |
| D | logger_test.cpp | 57 class DittoLoggerStreamUpdate : public testing::TestWithParam<dittosuite::LogStream> {}; 69 testing::Values(LogStream::kStdout, LogStream::kLogcat)); 71 class DittoLoggerLevelUpdate : public testing::TestWithParam<dittosuite::LogLevel> {}; 83 testing::Values(LogLevel::kInfo, LogLevel::kWarning, LogLevel::kError, 87 : public testing::TestWithParam<std::pair<std::string_view, dittosuite::LogLevel>> {}; 99 testing::Values( 108 testing::Values(std::make_pair("6", LogLevel::kInfo),
|
| D | result.cpp | 21 class DittoResult : public testing::TestWithParam<std::tuple<ResultsOutput, std::string_view>> {}; 29 testing::Values(std::make_tuple(ResultsOutput::kReport, "report"), 35 testing::Values(std::make_tuple(ResultsOutput::kReport, "0"), 41 testing::Values(std::make_tuple(ResultsOutput::kReport, "UNKNOWN"),
|
| D | example_test.cpp | 73 class ExampleTest : public testing::TestWithParam<std::string> {}; 90 testing::ExitedWithCode(0), ""); in TEST_P() 94 INSTANTIATE_TEST_SUITE_P(DittoFile, ExampleTest, testing::ValuesIn(ditto_files_paths()));
|
| D | close_file_test.cpp | 22 using ::testing::_; 23 using ::testing::Return;
|
| /test/vts-testcase/kernel/api/tun/ |
| D | vts_kernel_tun_test.cpp | 41 class VtsKernelTunTest : public ::testing::TestWithParam<short> { 90 ::testing::ValuesIn(kTunModes)); 93 ::testing::InitGoogleTest(&argc, argv); in main()
|
| /test/vts-testcase/hal/treble/vintf/libvts_vintf_test_common/ |
| D | common.cpp | 20 namespace android::vintf::testing { namespace 59 auto it = android::vintf::testing::kApiLevel2FcmMap.find(api_level); in GetFcmVersionFromApiLevel() 60 if (it == android::vintf::testing::kApiLevel2FcmMap.end()) { in GetFcmVersionFromApiLevel()
|
| /test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/ |
| D | CorrespondencesTest.java | 17 package com.android.csuite.testing; 19 import static com.android.csuite.testing.Correspondences.instanceOf;
|
| D | MoreAssertsTest.java | 17 package com.android.csuite.testing; 19 import static com.android.csuite.testing.MoreAsserts.assertThrows;
|
| /test/vts/vts_hal_hidl_target/ |
| D | VtsHalHidlTargetTestEnvBase.h | 26 namespace testing { 45 class VtsHalHidlTargetTestEnvBase : public ::testing::Environment {
|
| D | VtsHalHidlTargetTestBase.h | 30 namespace testing { 35 class VtsHalHidlTargetTestBase : public ::testing::Test {
|
| D | VtsCoreUtil.h | 19 namespace testing {
|
| /test/vts-testcase/hal/treble/vintf/libvts_vintf_test_common/include/libvts_vintf_test_common/ |
| D | common.h | 25 namespace android::vintf::testing {
|