Home
last modified time | relevance | path

Searched refs:testing (Results 1 - 25 of 2154) sorted by relevance

12345678910>>...87

/third_party/skia/third_party/externals/tint/src/resolver/
H A Dbitcast_validation_test.cc94 testing::Combine(testing::ValuesIn(kNumericScalars),
95 testing::ValuesIn(kNumericScalars)));
99 testing::Combine(testing::ValuesIn(kVec2NumericScalars),
100 testing::ValuesIn(kVec2NumericScalars)));
104 testing::Combine(testing::ValuesIn(kVec3NumericScalars),
105 testing::ValuesIn(kVec3NumericScalars)));
109 testing
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest-spi.h30 // Utilities for testing Google Test itself and code that uses Google Test
43 namespace testing { namespace
121 } // namespace testing
125 // A set of macros for testing Google Test assertions or code that's expected
155 ::testing::TestPartResultArray gtest_failures; \
156 ::testing::internal::SingleFailureChecker gtest_checker( \
157 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \
159 ::testing::ScopedFakeTestPartResultReporter gtest_reporter( \
160 ::testing::ScopedFakeTestPartResultReporter:: \
165 } while (::testing
[all...]
H A Dgtest-typed-test.h46 // by a type. Remember to derive it from testing::Test.
48 class FooTest : public testing::Test {
59 typedef testing::Types<char, int, unsigned int> MyTypes;
124 // by a type. Remember to derive it from testing::Test.
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
[all...]
H A Dgtest-param-test.h48 // class. It is usually derived from testing::TestWithParam<T> (see below for
51 // TestWithParam<T> is itself derived from testing::Test. T can be any
55 class FooTest : public ::testing::TestWithParam<const char*> {
78 // are all in the testing namespace:
150 // A parameterized test fixture must be derived from testing::Test and from
151 // testing::WithParamInterface<T>, where T is the type of the parameter
157 class BaseTest : public ::testing::Test {
162 class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
184 namespace testing { namespace
345 // It is useful when testing cod
[all...]
/third_party/node/deps/googletest/include/gtest/
H A Dgtest-spi.h30 // Utilities for testing Google Test itself and code that uses Google Test
43 namespace testing { namespace
121 } // namespace testing
125 // A set of macros for testing Google Test assertions or code that's expected
155 ::testing::TestPartResultArray gtest_failures; \
156 ::testing::internal::SingleFailureChecker gtest_checker( \
157 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr)); \
159 ::testing::ScopedFakeTestPartResultReporter gtest_reporter( \
160 ::testing::ScopedFakeTestPartResultReporter:: \
165 } while (::testing
[all...]
H A Dgtest-typed-test.h46 // by a type. Remember to derive it from testing::Test.
48 class FooTest : public testing::Test {
59 typedef testing::Types<char, int, unsigned int> MyTypes;
124 // by a type. Remember to derive it from testing::Test.
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
[all...]
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest-spi.h31 // Utilities for testing Google Test itself and code that uses Google Test
44 namespace testing { namespace
117 } // namespace testing
121 // A set of macros for testing Google Test assertions or code that's expected
150 ::testing::TestPartResultArray gtest_failures;\
151 ::testing::internal::SingleFailureChecker gtest_checker(\
152 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
154 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
155 ::testing::ScopedFakeTestPartResultReporter:: \
159 } while (::testing
[all...]
H A Dgtest-typed-test.h45 // by a type. Remember to derive it from testing::Test.
47 class FooTest : public testing::Test {
58 typedef testing::Types<char, int, unsigned int> MyTypes;
123 // by a type. Remember to derive it from testing::Test.
125 class FooTest : public testing::Test {
159 typedef testing::Types<char, int, unsigned int> MyTypes;
192 typedef ::testing::internal::TypeList<Types>::type GTEST_TYPE_PARAMS_( \
194 typedef ::testing::internal::NameGeneratorSelector<__VA_ARGS__>::type \
208 ::testing::internal::TypeParameterizedTest< \
210 ::testing
[all...]
/third_party/googletest/googletest/test/
H A Dgoogletest-output-test_.cc47 using testing::ScopedFakeTestPartResultReporter;
48 using testing::TestPartResultArray;
50 using testing::internal::Notification;
51 using testing::internal::ThreadWithParam;
54 namespace posix = ::testing::internal::posix;
69 // The testing::Test:: prefix is necessary when calling in TryTestSubroutine()
71 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine()
83 class FailingParamTest : public testing::TestWithParam<int> {};
90 testing::Values(2));
94 class EmptyBasenameParamInst : public testing
[all...]
H A Dgoogletest-param-test-test.cc52 using ::testing::AddGlobalTestEnvironment;
53 using ::testing::Bool;
54 using ::testing::Combine;
55 using ::testing::ConvertGenerator;
56 using ::testing::Message;
57 using ::testing::Range;
58 using ::testing::TestWithParam;
59 using ::testing::Values;
60 using ::testing::ValuesIn;
62 using ::testing
[all...]
/third_party/json/
H A DMakefile37 @echo "fuzz_testing - prepare fuzz testing of the JSON parser"
38 @echo "fuzz_testing_bson - prepare fuzz testing of the BSON parser"
39 @echo "fuzz_testing_cbor - prepare fuzz testing of the CBOR parser"
40 @echo "fuzz_testing_msgpack - prepare fuzz testing of the MessagePack parser"
41 @echo "fuzz_testing_ubjson - prepare fuzz testing of the UBJSON parser"
71 # the overall fuzz testing target
73 rm -fr fuzz-testing
74 mkdir -p fuzz-testing fuzz-testing/testcases fuzz-testing/ou
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Didentifier_test.cpp15 #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
[all...]
H A Dnumber_test.cpp15 #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
[all...]
/third_party/gn/src/util/test/
H A Dtest.h13 // This is a minimal googletest-like testing framework. It's originally derived
17 namespace testing { namespace
35 extern testing::Test* g_current_test;
83 } // namespace testing
85 void RegisterTest(testing::Test* (*)(), const char*);
89 static testing::Test* Create() { \
90 return testing::g_current_test = new y; \
103 #define TEST(x, y) TEST_F_(testing::Test, x##y, #x "." #y)
120 if (const ::testing::TestResult test_result = (expression)) \
126 ::testing
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dany_exception_safety_test.cc29 using Thrower = testing::ThrowingValue<>;
31 testing::ThrowingValue<testing::TypeSpec::kNoThrowMove>;
34 using ThrowingAlloc = testing::ThrowingAllocator<Thrower>;
39 testing::AssertionResult AnyInvariants(absl::any* a) { in AnyInvariants()
40 using testing::AssertionFailure; in AnyInvariants()
41 using testing::AssertionSuccess; in AnyInvariants()
79 testing::AssertionResult AnyIsEmpty(absl::any* a) { in AnyIsEmpty()
81 return testing::AssertionSuccess(); in AnyIsEmpty()
83 return testing in AnyIsEmpty()
[all...]
H A Doptional_exception_safety_test.cc31 using ::testing::AssertionFailure;
32 using ::testing::AssertionResult;
33 using ::testing::AssertionSuccess;
34 using ::testing::MakeExceptionSafetyTester;
36 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>;
39 using MoveThrower = testing::ThrowingValue<testing::TypeSpec::kNoThrowMove>;
110 testing::TestThrowingCtor<Optional>(thrower_nonempty); in TEST()
113 testing in TEST()
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock_link_test.h129 using testing::_;
130 using testing::A;
131 using testing::Action;
132 using testing::AllOf;
133 using testing::AnyOf;
134 using testing::Assign;
135 using testing::ContainerEq;
136 using testing::DoAll;
137 using testing::DoDefault;
138 using testing
[all...]
/third_party/benchmark/test/
H A Dbenchmark_gtest.cc18 EXPECT_THAT(dst, testing::ElementsAre(1, 2)); in TEST()
24 EXPECT_THAT(dst, testing::ElementsAre(1, 2)); in TEST()
30 EXPECT_THAT(dst, testing::ElementsAre(5, 8, 15)); in TEST()
36 EXPECT_THAT(dst, testing::ElementsAre(5, 8, 15)); in TEST()
43 dst, testing::ElementsAre(int8_t{1}, int8_t{8}, int8_t{64}, int8_t{127})); in TEST()
50 dst, testing::ElementsAre(1LL, 1024LL, 1048576LL, 1073741824LL, in TEST()
58 EXPECT_THAT(dst, testing::ElementsAre(-8, -4, -2, -1, 0)); in TEST()
64 EXPECT_THAT(dst, testing::ElementsAre(-8, -4, -2, -1)); in TEST()
70 EXPECT_THAT(dst, testing::ElementsAre(-8, -4, -2, -1, 0, 1, 2, 4, 8)); in TEST()
76 EXPECT_THAT(dst, testing in TEST()
[all...]
/third_party/glslang/gtests/
H A DSpv.FromFile.cpp59 const ::testing::TestParamInfo<IoMapData>& info) { in FileNameAsCustomTestSuffixIoMap()
67 using CompileVulkanToSpirvTest = GlslangTest<::testing::TestWithParam<std::string>>;
68 using CompileVulkanToSpirvTestNoLink = GlslangTest<::testing::TestWithParam<std::string>>;
69 using CompileVulkanToSpirvDeadCodeElimTest = GlslangTest<::testing::TestWithParam<std::string>>;
70 using CompileVulkanToDebugSpirvTest = GlslangTest<::testing::TestWithParam<std::string>>;
71 using CompileVulkan1_1ToSpirvTest = GlslangTest<::testing::TestWithParam<std::string>>;
72 using CompileToSpirv14Test = GlslangTest<::testing::TestWithParam<std::string>>;
73 using CompileToSpirv16Test = GlslangTest<::testing::TestWithParam<std::string>>;
74 using CompileOpenGLToSpirvTest = GlslangTest<::testing::TestWithParam<std::string>>;
75 using VulkanSemantics = GlslangTest<::testing
[all...]
H A DHlsl.FromFile.cpp52 const ::testing::TestParamInfo<FileNameEntryPointPair>& info) { in FileNameAsCustomTestSuffix()
60 using HlslCompileTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
61 using HlslVulkan1_1CompileTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
62 using HlslVulkan1_2CompileTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
63 using HlslSpv1_6CompileTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
64 using HlslCompileAndFlattenTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
65 using HlslLegalizeTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
66 using HlslDebugTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
67 using HlslDX9CompatibleTest = GlslangTest<::testing::TestWithParam<FileNameEntryPointPair>>;
68 using HlslLegalDebugTest = GlslangTest<::testing
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DShaderExtensionTest.h7 // Utilities for testing that GLSL extension pragma and changing the extension flag in compiler
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 in TestShaderCompile()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_exception_safety_test.cc36 using Thrower = testing::ThrowingValue<>;
37 using MovableThrower = testing::ThrowingValue<testing::TypeSpec::kNoThrowMove>;
38 using ThrowAlloc = testing::ThrowingAllocator<Thrower>;
50 // incorrect exception safety test failures. Thus, `testing::nothrow_ctor` is
54 ? std::initializer_list<T>{T(0, testing::nothrow_ctor), \
55 T(1, testing::nothrow_ctor), \
56 T(2, testing::nothrow_ctor), \
57 T(3, testing::nothrow_ctor), \
58 T(4, testing
[all...]
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h52 namespace testing { namespace
153 // Factory interface for death tests. May be mocked out for testing.
177 ::testing::internal::RE regex) { in MakeDeathTestMatcher()
206 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
209 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
211 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
224 if (::testing::internal::AlwaysTrue()) { \
225 ::testing::internal::DeathTest* gtest_dt; \
226 if (!::testing::internal::DeathTest::Create( \
228 ::testing
[all...]
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h45 namespace testing { namespace
145 // Factory interface for death tests. May be mocked out for testing.
169 ::testing::internal::RE regex) { in MakeDeathTestMatcher()
198 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
201 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
203 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
216 if (::testing::internal::AlwaysTrue()) { \
217 ::testing::internal::DeathTest* gtest_dt; \
218 if (!::testing::internal::DeathTest::Create( \
220 ::testing
[all...]
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h52 namespace testing { namespace
153 // Factory interface for death tests. May be mocked out for testing.
177 ::testing::internal::RE regex) { in MakeDeathTestMatcher()
206 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
209 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
211 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
224 if (::testing::internal::AlwaysTrue()) { \
225 ::testing::internal::DeathTest* gtest_dt; \
226 if (!::testing::internal::DeathTest::Create( \
228 ::testing
[all...]

Completed in 17 milliseconds

12345678910>>...87