/device/generic/vulkan-cereal/third-party/googletest/googletest/include/gtest/ |
D | gtest-spi.h | 41 namespace testing { 147 ::testing::TestPartResultArray gtest_failures;\ 148 ::testing::internal::SingleFailureChecker gtest_checker(\ 149 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 151 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 152 ::testing::ScopedFakeTestPartResultReporter:: \ 156 } while (::testing::internal::AlwaysFalse()) 164 ::testing::TestPartResultArray gtest_failures;\ 165 ::testing::internal::SingleFailureChecker gtest_checker(\ 166 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
D | gtest-typed-test.h | 48 class FooTest : public testing::Test { 59 typedef testing::Types<char, int, unsigned int> MyTypes; 126 class FooTest : public testing::Test { 160 typedef testing::Types<char, int, unsigned int> MyTypes; 192 typedef ::testing::internal::GenerateTypeList<Types>::type \ 194 typedef ::testing::internal::NameGeneratorSelector<__VA_ARGS__>::type \ 209 GTEST_ATTRIBUTE_UNUSED_ = ::testing::internal::TypeParameterizedTest< \ 211 ::testing::internal::TemplateSel<GTEST_TEST_CLASS_NAME_(CaseName, \ 215 ::testing::internal::CodeLocation( \ 219 ::testing::internal::GenerateNames< \ [all …]
|
D | gtest-param-test.h | 55 class FooTest : public ::testing::TestWithParam<const char*> { 157 class BaseTest : public ::testing::Test { 162 class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> { 184 namespace testing { 421 ::testing::UnitTest::GetInstance() \ 425 ::testing::internal::CodeLocation(__FILE__, __LINE__)) \ 428 new ::testing::internal::TestMetaFactory<GTEST_TEST_CLASS_NAME_( \ 430 ::testing::internal::CodeLocation(__FILE__, __LINE__)); \ 460 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \ 465 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \ [all …]
|
D | gtest_pred_impl.h | 46 namespace testing { 82 if (const ::testing::AssertionResult gtest_ar = (expression)) \ 101 << e1 << " evaluates to " << ::testing::PrintToString(v1); in AssertPred1Helper() 113 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \ 147 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred2Helper() 148 << e2 << " evaluates to " << ::testing::PrintToString(v2); in AssertPred2Helper() 160 GTEST_ASSERT_(::testing::AssertPred2Helper(#pred, \ 199 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" in AssertPred3Helper() 200 << e2 << " evaluates to " << ::testing::PrintToString(v2) << "\n" in AssertPred3Helper() 201 << e3 << " evaluates to " << ::testing::PrintToString(v3); in AssertPred3Helper() [all …]
|
D | gtest.h | 160 namespace testing { 1736 ::testing::TestPartResult::kNonFatalFailure) 1744 ::testing::TestPartResult::kFatalFailure) 1865 EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) 1867 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) 1869 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) 1871 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) 1873 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) 1875 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) 1878 ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) [all …]
|
/device/generic/vulkan-cereal/third-party/googletest/googletest/test/ |
D | googletest-output-test_.cc | 47 using testing::ScopedFakeTestPartResultReporter; 48 using testing::TestPartResultArray; 50 using testing::internal::Notification; 51 using testing::internal::ThreadWithParam; 54 namespace posix = ::testing::internal::posix; 73 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine() 87 class FailingParamTest : public testing::TestWithParam<int> {}; 97 testing::Values(2)); 101 class EmptyBasenameParamInst : public testing::TestWithParam<int> {}; 105 INSTANTIATE_TEST_SUITE_P(, EmptyBasenameParamInst, testing::Values(1)); [all …]
|
D | googletest-param-test-test.cc | 51 using ::testing::AddGlobalTestEnvironment; 52 using ::testing::Bool; 53 using ::testing::Combine; 54 using ::testing::Message; 55 using ::testing::Range; 56 using ::testing::TestWithParam; 57 using ::testing::Values; 58 using ::testing::ValuesIn; 60 using ::testing::internal::ParamGenerator; 61 using ::testing::internal::UnitTestOptions; [all …]
|
D | googletest-death-test-test.cc | 38 using testing::internal::AlwaysFalse; 39 using testing::internal::AlwaysTrue; 63 namespace posix = ::testing::internal::posix; 65 using testing::ContainsRegex; 66 using testing::Matcher; 67 using testing::Message; 68 using testing::internal::DeathTest; 69 using testing::internal::DeathTestFactory; 70 using testing::internal::FilePath; 71 using testing::internal::GetLastErrnoDescription; [all …]
|
D | gtest_xml_output_unittest_.cc | 41 using ::testing::InitGoogleTest; 42 using ::testing::TestEventListeners; 43 using ::testing::TestWithParam; 44 using ::testing::UnitTest; 45 using ::testing::Test; 46 using ::testing::Values; 143 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 148 testing::Test::RecordProperty(key, value); in ExternalUtilityThatCallsRecordProperty() 169 typedef testing::Types<int, long> TypedTestTypes; 180 typedef testing::Types<int, long> TypeParameterizedTestSuiteTypes; // NOLINT [all …]
|
D | googletest-failfast-unittest_.cc | 46 class HasFixtureTest : public testing::Test {}; 116 class HasParametersTest : public testing::TestWithParam<int> {}; 123 testing::Values(1, 2)); 125 class MyTestListener : public ::testing::EmptyTestEventListener { 126 void OnTestSuiteStart(const ::testing::TestSuite& test_suite) override { in OnTestSuiteStart() 130 void OnTestStart(const ::testing::TestInfo& test_info) override { in OnTestStart() 136 const ::testing::TestPartResult& test_part_result) override { in OnTestPartResult() 141 void OnTestEnd(const ::testing::TestInfo& test_info) override { in OnTestEnd() 146 void OnTestSuiteEnd(const ::testing::TestSuite& test_suite) override { in OnTestSuiteEnd() 164 ::testing::InitGoogleTest(&argc, argv); in main() [all …]
|
D | googletest-listener-test.cc | 40 using ::testing::AddGlobalTestEnvironment; 41 using ::testing::Environment; 42 using ::testing::InitGoogleTest; 43 using ::testing::Test; 44 using ::testing::TestSuite; 45 using ::testing::TestEventListener; 46 using ::testing::TestInfo; 47 using ::testing::TestPartResult; 48 using ::testing::UnitTest; 53 namespace testing { namespace [all …]
|
D | gtest_list_output_unittest_.cc | 47 class FooTestFixture : public ::testing::Test {}; 51 class ValueParamTest : public ::testing::TestWithParam<int> {}; 54 INSTANTIATE_TEST_SUITE_P(ValueParam, ValueParamTest, ::testing::Values(33, 42)); 57 class TypedTest : public ::testing::Test {}; 58 typedef testing::Types<int, bool> TypedTestTypes; 64 class TypeParameterizedTestSuite : public ::testing::Test {}; 69 typedef testing::Types<int, bool> TypeParameterizedTestSuiteTypes; // NOLINT 74 ::testing::InitGoogleTest(&argc, argv); in main()
|
D | gtest_unittest.cc | 72 namespace testing { namespace 192 using testing::AssertionFailure; 193 using testing::AssertionResult; 194 using testing::AssertionSuccess; 195 using testing::DoubleLE; 196 using testing::EmptyTestEventListener; 197 using testing::Environment; 198 using testing::FloatLE; 199 using testing::IsNotSubstring; 200 using testing::IsSubstring; [all …]
|
/device/generic/vulkan-cereal/third-party/googletest/googlemock/test/ |
D | gmock_link_test.h | 130 using testing::_; 131 using testing::A; 132 using testing::Action; 133 using testing::AllOf; 134 using testing::AnyOf; 135 using testing::Assign; 136 using testing::ContainerEq; 137 using testing::DoAll; 138 using testing::DoDefault; 139 using testing::DoubleEq; [all …]
|
/device/generic/vulkan-cereal/third-party/angle/src/tests/preprocessor_tests/ |
D | number_test.cpp | 15 #define CLOSED_RANGE(x, y) testing::Range(x, static_cast<char>((y) + 1)) 18 public testing::WithParamInterface<const char *> 25 using testing::_; in TEST_P() 31 INSTANTIATE_TEST_SUITE_P(InvalidIntegers, InvalidNumberTest, testing::Values("1a", "08", "0xG")); 35 testing::Values("1eg", "0.a", "0.1.2", ".0a", ".0.1")); 38 class IntegerTest : public SimplePreprocessorTest, public testing::WithParamInterface<IntegerParams> 55 testing::Combine(testing::Values(""), CLOSED_RANGE('0', '9'))); 59 testing::Combine(testing::Values("0"), CLOSED_RANGE('0', '7'))); 63 testing::Combine(testing::Values("0x", "0X"), CLOSED_RANGE('0', '9'))); 67 testing::Combine(testing::Values("0x", "0X"), CLOSED_RANGE('a', 'f'))); [all …]
|
D | identifier_test.cpp | 15 #define CLOSED_RANGE(x, y) testing::Range(x, static_cast<char>((y) + 1)) 31 class SingleLetterIdentifierTest : public IdentifierTest, public testing::WithParamInterface<char> 42 INSTANTIATE_TEST_SUITE_P(Underscore, SingleLetterIdentifierTest, testing::Values('_')); 52 public testing::WithParamInterface<IdentifierParams> 68 testing::Combine(testing::Values('_'), testing::Values('_'))); 73 testing::Combine(testing::Values('_'), CLOSED_RANGE('a', 'z'))); 78 testing::Combine(testing::Values('_'), CLOSED_RANGE('A', 'Z'))); 83 testing::Combine(testing::Values('_'), CLOSED_RANGE('0', '9'))); 88 testing::Combine(CLOSED_RANGE('a', 'z'), testing::Values('_'))); 93 testing::Combine(CLOSED_RANGE('a', 'z'), CLOSED_RANGE('a', 'z'))); [all …]
|
D | version_test.cpp | 21 using testing::_; in TEST_F() 35 using testing::_; in TEST_F() 58 using testing::_; in TEST_F() 71 using testing::_; in TEST_F() 88 using testing::_; in TEST_F() 105 using testing::_; in TEST_F() 120 using testing::_; in TEST_F() 133 using testing::_; in TEST_F() 148 using testing::_; in TEST_F() 161 using testing::_; in TEST_F() [all …]
|
D | pragma_test.cpp | 21 using testing::_; in TEST_F() 35 using testing::_; in TEST_F() 48 using testing::_; in TEST_F() 61 using testing::_; in TEST_F() 74 using testing::_; in TEST_F() 103 using testing::_; in TEST_F() 116 using testing::_; in TEST_F() 125 class InvalidPragmaTest : public PragmaTest, public testing::WithParamInterface<const char *> 133 using testing::_; in TEST_P() 145 testing::Values("#pragma 1\n", // Invalid name.
|
/device/generic/vulkan-cereal/third-party/googletest/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 50 namespace testing { 172 ::testing::internal::RE regex) { in MakeDeathTestMatcher() 201 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \ 204 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 206 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \ 219 if (::testing::internal::AlwaysTrue()) { \ 220 ::testing::internal::DeathTest* gtest_dt; \ 221 if (!::testing::internal::DeathTest::Create( \ 223 ::testing::internal::MakeDeathTestMatcher(regex_or_matcher), \ 228 std::unique_ptr< ::testing::internal::DeathTest> gtest_dt_ptr(gtest_dt); \ [all …]
|
/device/generic/vulkan-cereal/stream-servers/tests/ |
D | GLSnapshotTesting.cpp | 47 testing::AssertionResult compareValue(T expected, in compareValue() 51 return testing::AssertionFailure() in compareValue() 53 << testing::PrintToString(actual) << "\n\t expected:\t" in compareValue() 54 << testing::PrintToString(expected) << "\t"; in compareValue() 56 return testing::AssertionSuccess(); in compareValue() 59 template testing::AssertionResult compareValue<GLboolean>(GLboolean, 62 template testing::AssertionResult compareValue<GLint>(GLint, 65 template testing::AssertionResult compareValue<GLfloat>(GLfloat, 69 testing::AssertionResult compareGlobalGlBoolean(const GLESv2Dispatch* gl, in compareGlobalGlBoolean() 80 testing::AssertionResult compareGlobalGlInt(const GLESv2Dispatch* gl, in compareGlobalGlInt() [all …]
|
D | GLSnapshotPixelOperations_unittest.cpp | 65 public ::testing::WithParamInterface<std::vector<GLint>> { 88 ::testing::Values(kGLES2TestScissorBox)); 111 public ::testing::WithParamInterface<GLenum> { 115 public ::testing::WithParamInterface<GLuint> { 147 ::testing::ValuesIn(kGLES2StencilFuncs)); 151 ::testing::ValuesIn(kGLES2TestStencilMasks)); 175 public ::testing::WithParamInterface<GLenum> { 180 public ::testing::WithParamInterface<GLenum> {}; 184 public ::testing::WithParamInterface<GLenum> {}; 206 ::testing::ValuesIn(kGLES2StencilOps)); [all …]
|
/device/generic/vulkan-cereal/third-party/angle/src/tests/test_utils/ |
D | ShaderExtensionTest.h | 15 using testing::Combine; 16 using testing::make_tuple; 17 using testing::Values; 27 : public testing::TestWithParam<testing::tuple<ShShaderSpec, const char *, const char *>> 49 mCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, testing::get<0>(GetParam()), in InitializeCompiler() 54 testing::AssertionResult TestShaderCompile(const char *pragma) in TestShaderCompile() 56 return TestShaderCompile(testing::get<1>(GetParam()), // Version. in TestShaderCompile() 58 testing::get<2>(GetParam()) // Shader. in TestShaderCompile() 62 testing::AssertionResult TestShaderCompile(const char *version, in TestShaderCompile() 70 return ::testing::AssertionSuccess() << "Compilation success"; in TestShaderCompile() [all …]
|
D | angle_test_instantiate.h | 89 std::string operator()(const testing::TestParamInfo<ParamType> &info) const in operator() 91 std::string name = testing::PrintToStringParamName()(info); in operator() 109 testing::ValuesIn(::angle::FilterTestParams(testName##__VA_ARGS__##params, \ 117 testing::PrintToStringParamName()) 120 INSTANTIATE_TEST_SUITE_P(, testName, testing::ValuesIn(::angle::FilterTestParams(valuesin)), \ 121 testing::PrintToStringParamName()) 142 testing::PrintToStringParamName()) 148 testing::PrintToStringParamName()) 154 testing::PrintToStringParamName()) 159 testing::PrintToStringParamName()) [all …]
|
/device/generic/vulkan-cereal/stream-servers/ |
D | CMakeLists.txt | 133 # Common testing support library################################################ 134 # This includes the server core and testing sources 136 stream-server-testing-support 146 stream-server-testing-support 149 ${GFXSTREAM_REPO_ROOT}/base/testing 155 stream-server-testing-support 181 stream-server-testing-support 182 gfxstream-base-testing-support 183 gfxstream-host-common-testing-support 214 stream-server-testing-support [all …]
|
/device/generic/vulkan-cereal/third-party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 38 using ::testing::EmptyTestEventListener; 39 using ::testing::InitGoogleTest; 40 using ::testing::Test; 41 using ::testing::TestSuite; 42 using ::testing::TestEventListeners; 43 using ::testing::TestInfo; 44 using ::testing::TestPartResult; 45 using ::testing::UnitTest; 139 const testing::TestSuite& test_suite = *unit_test.GetTestSuite(i); in main()
|