/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest_prod.h | 55 #define FRIEND_TEST(test_case_name, test_name)\ argument 56 friend class test_case_name##_##test_name##_Test
|
D | gtest-param-test.h.pump | 446 # define TEST_P(test_case_name, test_name) \ 447 class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \ 448 : public test_case_name { \ 450 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \ 455 GetTestCasePatternHolder<test_case_name>(\ 456 #test_case_name, __FILE__, __LINE__)->AddTestPattern(\ 457 #test_case_name, \ 460 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>()); \ 465 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)); \ 467 int GTEST_TEST_CLASS_NAME_(test_case_name, \ [all …]
|
D | gtest.h | 628 const char* test_case_name() const { return test_case_name_.c_str(); } in test_case_name() function 679 const char* test_case_name, 690 TestInfo(const std::string& test_case_name, 2204 #define GTEST_TEST(test_case_name, test_name)\ argument 2205 GTEST_TEST_(test_case_name, test_name, \ 2211 # define TEST(test_case_name, test_name) GTEST_TEST(test_case_name, test_name) argument
|
D | gtest-param-test.h | 1380 # define TEST_P(test_case_name, test_name) \ argument 1381 class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \ 1382 : public test_case_name { \ 1384 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \ 1389 GetTestCasePatternHolder<test_case_name>(\ 1390 #test_case_name, __FILE__, __LINE__)->AddTestPattern(\ 1391 #test_case_name, \ 1394 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>()); \ 1399 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)); \ 1401 int GTEST_TEST_CLASS_NAME_(test_case_name, \ [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-unittest-api_test.cc | 161 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TEST() 167 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); in TEST() 173 EXPECT_STREQ("ApiTest", tests[2]->test_case_name()); in TEST() 179 EXPECT_STREQ("ApiTest", tests[3]->test_case_name()); in TEST() 201 EXPECT_STREQ("TestCaseWithCommentTest/0", tests[0]->test_case_name()); in TEST() 223 EXPECT_STREQ("DISABLED_Test", test_info->test_case_name()); in TEST() 282 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TearDown() 286 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); in TearDown() 294 EXPECT_STREQ("ApiTest", tests[2]->test_case_name()); in TearDown() 302 EXPECT_STREQ("ApiTest", tests[3]->test_case_name()); in TearDown() [all …]
|
D | gtest_shuffle_test_.cc | 87 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
D | gtest-param-test_test.cc | 801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); in TEST_P()
|
D | gtest_unittest.cc | 5207 ASSERT_STREQ("TestInfoTest", test_info->test_case_name()); in TEST_F() 6269 EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name()) in TEST_F() 6284 EXPECT_STREQ("CurrentTestInfoTest", test_info->test_case_name()) in TEST_F()
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-param-util.h | 60 GTEST_API_ void ReportInvalidTestCaseType(const char* test_case_name, 466 void AddTestPattern(const char* test_case_name, in AddTestPattern() argument 469 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, in AddTestPattern() 497 string test_case_name; in RegisterTests() local 499 test_case_name = instantiation_name + "/"; in RegisterTests() 500 test_case_name += test_info->test_case_base_name; in RegisterTests() 509 test_case_name.c_str(), in RegisterTests() 570 const char* test_case_name, in GetTestCasePatternHolder() argument 576 if ((*it)->GetTestCaseName() == test_case_name) { in GetTestCasePatternHolder() 581 ReportInvalidTestCaseType(test_case_name, file, line); in GetTestCasePatternHolder() [all …]
|
D | gtest-internal.h | 481 const char* test_case_name, 1121 #define GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \ 1122 test_case_name##_##test_name##_Test 1125 #define GTEST_TEST_(test_case_name, test_name, parent_class, parent_id)\ 1126 class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\ 1128 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\ 1133 GTEST_TEST_CLASS_NAME_(test_case_name, test_name));\ 1136 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\ 1139 #test_case_name, #test_name, NULL, NULL, \ 1144 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>);\ [all …]
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 67 test_info.test_case_name(), in OnTestStart() 87 test_info.test_case_name(), in OnTestEnd()
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest.cc | 476 bool UnitTestOptions::FilterMatchesTest(const std::string &test_case_name, in FilterMatchesTest() argument 478 const std::string& full_name = test_case_name + "." + test_name.c_str(); in FilterMatchesTest() 1965 << "illegal. In test case " << this_test_info->test_case_name() in HasSameFixtureClass() 1977 << this_test_info->test_case_name() << ",\n" in HasSameFixtureClass() 2202 const char* test_case_name, in MakeAndRegisterTestInfo() argument 2211 new TestInfo(test_case_name, name, type_param, value_param, in MakeAndRegisterTestInfo() 2218 void ReportInvalidTestCaseType(const char* test_case_name, in ReportInvalidTestCaseType() argument 2222 << "Attempted redefinition of test case " << test_case_name << ".\n" in ReportInvalidTestCaseType() 2224 << "class. However, in test case " << test_case_name << ", you tried\n" in ReportInvalidTestCaseType() 2750 PrintTestName(test_info.test_case_name(), test_info.name()); in OnTestStart() [all …]
|
D | gtest-internal-inl.h | 395 static bool FilterMatchesTest(const std::string &test_case_name, 636 TestCase* GetTestCase(const char* test_case_name, 664 GetTestCase(test_info->test_case_name(), in AddTestInfo()
|
D | gtest-death-test.cc | 718 info->test_case_name() + "." + info->name(); in AssumeRole() 1120 + info->test_case_name() + "." + info->name(); in AssumeRole()
|