HomeSort by: relevance | last modified time | path
    Searched refs:testing (Results 1 - 25 of 175) sorted by relevancy

1 2 3 4 5 6 7

  /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/
gtest-spi.h 31 // 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::internal::AlwaysFalse()
    [all...]
gtest-typed-test.h 45 // 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::internal::TemplateSel<GTEST_TEST_CLASS_NAME_(CaseName,
    [all...]
gtest-death-test.h 31 // The Google C++ Testing and Mocking Framework (Google Test)
43 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(
    [all...]
gtest_pred_impl.h 41 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::PrintToString(v2) << "\n
    [all...]
gtest-param-test.h 31 // in Google C++ Testing and Mocking Framework (Google Test)
48 // 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
    [all...]
gtest-message.h 31 // The Google C++ Testing and Mocking Framework (Google Test)
60 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
gtest.h 31 // The Google C++ Testing and Mocking Framework (Google Test)
76 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()
377 namespace testing { namespace
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/
gtest-spi.h 32 // 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::internal::AlwaysFalse()
    [all...]
gtest-typed-test.h 44 // 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::internal::CodeLocation(__FILE__, __LINE__),
    [all...]
gtest-death-test.h 32 // The Google C++ Testing Framework (Google Test)
43 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
gtest.h 32 // The Google C++ Testing Framework (Google Test)
83 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()
    [all...]
gtest_pred_impl.h 52 // 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, \
gtest-message.h 32 // The Google C++ Testing Framework (Google Test)
55 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/src/
gtest_main.cc 35 testing::InitGoogleTest();
44 testing::InitGoogleTest(&argc, argv);
  /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
gtest_main.cc 36 testing::InitGoogleTest(&argc, argv);
  /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
gtest-death-test-internal.h 32 // The Google C++ Testing Framework (Google Test)
44 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,
    [all...]
gtest-string.h 32 // The Google C++ Testing Framework (Google Test)
54 namespace testing { namespace
165 } // namespace testing
gtest-internal.h 32 // The Google C++ Testing Framework (Google Test)
82 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>::typ
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/
gtest-death-test-internal.h 30 // The Google C++ Testing and Mocking Framework (Google Test)
45 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(
    [all...]
gtest-string.h 30 // The Google C++ Testing and Mocking Framework (Google Test)
54 namespace testing { namespace
169 } // namespace testing
gtest-internal.h 30 // The Google C++ Testing and Mocking Framework (Google Test)
85 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)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/util/tests/
dag_test.cpp 27 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/
list_iterators.cpp 35 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)
general_ir_test.cpp 29 class ir_variable_constructor : public ::testing::Test {
  /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/tests/
helpers.h 30 class spirv_test : public ::testing::Test {

Completed in 16 milliseconds

1 2 3 4 5 6 7