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

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/
H A Dgtest-spi.h32 // Utilities for testing Google Test itself and code that uses Google Test
40 namespace testing { namespace
113 } // namespace testing
115 // A set of macros for testing Google Test assertions or code that's expected
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing
[all...]
H A Dgtest-typed-test.h44 // by a type. Remember to derive it from testing::Test.
46 class FooTest : public testing::Test {
57 typedef testing::Types<char, int, unsigned int> MyTypes;
104 // by a type. Remember to derive it from testing::Test.
106 class FooTest : public testing::Test {
140 typedef testing::Types<char, int, unsigned int> MyTypes;
166 typedef ::testing::internal::TypeList< Types >::type \
179 ::testing::internal::TypeParameterizedTest< \
181 ::testing::internal::TemplateSel< \
184 "", ::testing
[all...]
H A Dgtest-death-test.h43 namespace testing { namespace
92 // ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
214 // The death testing framework causes this to have interesting semantics,
292 } // namespace testing
H A Dgtest.h83 namespace testing { namespace
192 // testing::AssertionResult IsEven(int n) {
194 // return testing::AssertionSuccess();
196 // return testing::AssertionFailure() << n << " is odd";
219 // testing::AssertionResult IsEven(int n) {
221 // return testing::AssertionSuccess() << n << " is even";
223 // return testing::AssertionFailure() << n << " is odd";
243 // testing::AssertionResult IsEven(const char* expr, int n) {
245 // return testing::AssertionSuccess();
247 // return testing
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
153 GTEST_ASSERT_(::testing::AssertPred2Helper(#pred, \
206 GTEST_ASSERT_(::testing::AssertPred3Helper(#pred, \
266 GTEST_ASSERT_(::testing::AssertPred4Helper(#pred, \
333 GTEST_ASSERT_(::testing::AssertPred5Helper(#pred, \
H A Dgtest-message.h55 void operator<<(const testing::internal::Secret&, int);
57 namespace testing { namespace
71 // testing::Message foo;
121 // namespace, but not other namespaces, including the testing
126 // assertions, testing::Message must access the custom << operator
248 } // namespace testing
/xsrc/external/mit/MesaLib/dist/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...]
H A Dgtest-death-test.h43 namespace testing { namespace
92 // ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
215 // The death testing framework causes this to have interesting semantics,
313 if (::testing::internal::AlwaysTrue()) { \
317 } else if (::testing::internal::AlwaysFalse()) { \
318 ::testing::internal::RE::PartialMatch(".*", (regex)); \
322 ::testing::Message()
341 } // namespace testing
[all...]
H A Dgtest_pred_impl.h41 namespace testing { namespace
52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
96 << e1 << " evaluates to " << ::testing::PrintToString(v1);
108 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
142 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n"
143 << e2 << " evaluates to " << ::testing::PrintToString(v2);
155 GTEST_ASSERT_(::testing::AssertPred2Helper(#pred, \
194 << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n"
195 << e2 << " evaluates to " << ::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...]
H A Dgtest-message.h60 void operator<<(const testing::internal::Secret&, int);
62 namespace testing { namespace
76 // testing::Message foo;
118 // namespace, but not other namespaces, including the testing
123 // assertions, testing::Message must access the custom << operator
214 } // namespace testing
H A Dgtest.h76 namespace testing { namespace
211 // testing::AssertionResult IsEven(int n) {
213 // return testing::AssertionSuccess();
215 // return testing::AssertionFailure() << n << " is odd";
238 // testing::AssertionResult IsEven(int n) {
240 // return testing::AssertionSuccess() << n << " is even";
242 // return testing::AssertionFailure() << n << " is odd";
262 // testing::AssertionResult IsEven(const char* expr, int n) {
264 // return testing::AssertionSuccess();
266 // return testing
377 namespace testing { namespace
[all...]
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest_main.cc35 testing::InitGoogleTest();
44 testing::InitGoogleTest(&argc, argv);
/xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
H A Dgtest_main.cc36 testing::InitGoogleTest(&argc, argv);
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h44 namespace testing { namespace
139 // Factory interface for death tests. May be mocked out for testing.
169 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
187 if (::testing::internal::AlwaysTrue()) { \
188 const ::testing::internal::RE& gtest_regex = (regex); \
189 ::testing::internal::DeathTest* gtest_dt; \
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
195 ::testing
[all...]
H A Dgtest-string.h54 namespace testing { namespace
165 } // namespace testing
H A Dgtest-internal.h82 namespace testing { namespace
133 (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1)
146 // std::runtime_error inherits from std::exception, many testing
455 // Returns the type ID of ::testing::Test. Always call this instead
456 // of GetTypeId< ::testing::Test>() to get the type ID of
457 // ::testing::Test, as the latter may give the wrong result due to a
789 typename ::testing::internal::RemoveReference<T>::type
820 typename ::testing::internal::RemoveConst<T>::type
837 typename ::testing::internal::AddReference<T>::type
1100 } // namespace testing
[all...]
/xsrc/external/mit/MesaLib/dist/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) {
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...]
H A Dgtest-string.h54 namespace testing { namespace
169 } // namespace testing
H A Dgtest-internal.h85 namespace testing { namespace
139 // std::runtime_error inherits from std::exception, many testing
431 // Returns the type ID of ::testing::Test. Always call this instead
432 // of GetTypeId< ::testing::Test>() to get the type ID of
433 // ::testing::Test, as the latter may give the wrong result due to a
504 // testing::Test is only forward declared at this point. So we make it a
507 typename std::conditional<sizeof(T) != 0, ::testing::Test, void>::type;
1233 } // namespace testing
1236 ::testing::internal::AssertHelper(result_type, file, line, message) \
1237 = ::testing
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/
H A Ddag_test.cpp27 class dag_test : public ::testing::Test {
102 static testing::AssertionResult
108 if (int_dynarrays_equal(a, b)) return testing::AssertionSuccess();
110 testing::AssertionResult result = testing::AssertionFailure();
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Dlist_iterators.cpp35 class list_iterators_node_inherite : public ::testing::TestWithParam<size_t> {
71 ::testing::Values(0, 1, 10)
153 class list_iterators_node_embed : public ::testing::TestWithParam<size_t> {
190 ::testing::Values(0, 1, 10)
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/custom/
H A DREADME.md11 * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See
12 `testing::TempDir` for semantics and signature.
/xsrc/external/mit/MesaLib/dist/docs/
H A Dhelpwanted.rst7 #. **Driver patching and testing.** Patches are often posted to the
11 testing them. Just applying patches, testing and reporting back is

Completed in 37 milliseconds

1234567891011>>