/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
D | test_parser_unittest.py | 49 test_info = parser.analyze_test(test_contents=test_html) 51 self.assertNotEqual(test_info, None, 'did not find a test') 52 self.assertTrue('test' in test_info.keys(), 'did not find a test file') 53 self.assertTrue('reference' in test_info.keys(), 'did not find a reference file') 54 … self.assertTrue(test_info['reference'].startswith(test_path), 'reference path is not correct') 55 …self.assertFalse('refsupport' in test_info.keys(), 'there should be no refsupport files for this t… 56 … self.assertFalse('jstest' in test_info.keys(), 'test should not have been analyzed as a jstest') 70 test_info = parser.analyze_test(test_contents=test_html) 74 self.assertNotEqual(test_info, None, 'did not find a test') 75 self.assertTrue('test' in test_info.keys(), 'did not find a test file') [all …]
|
D | test_parser.py | 70 test_info = None 73 return test_info 100 test_info = {'test': self.filename, 'reference': ref_file} 120 test_info['refsupport'] = support_files 123 test_info = {'test': self.filename, 'jstest': True} 125 test_info = {'test': self.filename} 127 return test_info
|
D | test_importer.py | 247 test_info = test_parser.analyze_test() 248 if test_info is None: 251 if 'reference' in test_info.keys(): 254 test_basename = os.path.basename(test_info['test']) 264 copy_list.append({'src': test_info['reference'], 'dest': ref_file}) 265 copy_list.append({'src': test_info['test'], 'dest': filename}) 268 if 'refsupport' in test_info.keys(): 269 for support_file in test_info['refsupport']: 270 … source_file = os.path.join(os.path.dirname(test_info['reference']), support_file) 279 elif 'jstest' in test_info.keys():
|
/external/chromium_org/testing/gtest/samples/ |
D | sample9_unittest.cc | 64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 67 test_info.test_case_name(), in OnTestStart() 68 test_info.name()); in OnTestStart() 84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument 87 test_info.test_case_name(), in OnTestEnd() 88 test_info.name()); in OnTestEnd() 145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local 148 if (test_info.result()->Failed() && in main() 149 strcmp(test_info.name(), "Fails") != 0) { in main()
|
/external/protobuf/gtest/samples/ |
D | sample9_unittest.cc | 64 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 67 test_info.test_case_name(), in OnTestStart() 68 test_info.name()); in OnTestStart() 84 virtual void OnTestEnd(const TestInfo& test_info) { in OnTestEnd() argument 87 test_info.test_case_name(), in OnTestEnd() 88 test_info.name()); in OnTestEnd() 145 const TestInfo& test_info = *test_case.GetTestInfo(j); in main() local 148 if (test_info.result()->Failed() && in main() 149 strcmp(test_info.name(), "Fails") != 0) { in main()
|
/external/chromium_org/chrome/test/logging/win/ |
D | test_log_collector.cc | 40 void StartSessionForTest(const testing::TestInfo& test_info); 42 void ProcessSessionForTest(const testing::TestInfo& test_info); 82 virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE { in OnTestStart() argument 83 default_result_printer_->OnTestStart(test_info); in OnTestStart() 84 test_log_collector_->StartSessionForTest(test_info); in OnTestStart() 97 virtual void OnTestEnd(const testing::TestInfo& test_info) OVERRIDE { in OnTestEnd() argument 98 test_log_collector_->ProcessSessionForTest(test_info); in OnTestEnd() 99 default_result_printer_->OnTestEnd(test_info); in OnTestEnd() 220 void TestLogCollector::StartSessionForTest(const testing::TestInfo& test_info) { in StartSessionForTest() argument 222 std::string log_file_name(test_info.name()); in StartSessionForTest() [all …]
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | main.cc | 30 virtual void OnTestStart(const ::testing::TestInfo& test_info) { in OnTestStart() argument 32 msg << "start:" << test_info.test_case_name() << "." << test_info.name(); in OnTestStart() 47 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { in OnTestEnd() argument 49 msg << "end:" << test_info.test_case_name() << "." << test_info.name() in OnTestEnd() 50 << "," << (test_info.result()->Failed() ? "failed" : "ok"); in OnTestEnd()
|
/external/chromium_org/native_client_sdk/src/tests/sdk_util_test/ |
D | main.cc | 30 virtual void OnTestStart(const ::testing::TestInfo& test_info) { in OnTestStart() argument 32 msg << "start:" << test_info.test_case_name() << "." << test_info.name(); in OnTestStart() 47 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { in OnTestEnd() argument 49 msg << "end:" << test_info.test_case_name() << "." << test_info.name() in OnTestEnd() 50 << "," << (test_info.result()->Failed() ? "failed" : "ok"); in OnTestEnd()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | main.cc | 31 virtual void OnTestStart(const ::testing::TestInfo& test_info) { in OnTestStart() argument 33 msg << "start:" << test_info.test_case_name() << "." << test_info.name(); in OnTestStart() 48 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { in OnTestEnd() argument 50 msg << "end:" << test_info.test_case_name() << "." << test_info.name() in OnTestEnd() 51 << "," << (test_info.result()->Failed() ? "failed" : "ok"); in OnTestEnd()
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/testing/ |
D | testing.cc | 36 virtual void OnTestStart(const ::testing::TestInfo& test_info) { in OnTestStart() argument 38 msg << "start:" << test_info.test_case_name() << "." << test_info.name(); in OnTestStart() 53 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { in OnTestEnd() argument 55 msg << "end:" << test_info.test_case_name() << "." << test_info.name() in OnTestEnd() 56 << "," << (test_info.result()->Failed() ? "failed" : "ok"); in OnTestEnd()
|
/external/chromium_org/base/test/ |
D | gtest_xml_util.cc | 59 void XmlUnitTestResultPrinter::OnTestStart(const testing::TestInfo& test_info) { in OnTestStart() argument 65 test_info.name(), in OnTestStart() 66 test_info.test_case_name()); in OnTestStart() 70 void XmlUnitTestResultPrinter::OnTestEnd(const testing::TestInfo& test_info) { in OnTestEnd() argument 74 test_info.name(), in OnTestEnd() 75 static_cast<double>(test_info.result()->elapsed_time()) / in OnTestEnd() 77 test_info.test_case_name()); in OnTestEnd() 78 if (test_info.result()->Failed()) in OnTestEnd()
|
D | test_suite.cc | 52 virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE { in OnTestStart() argument 53 ASSERT_FALSE(TestSuite::IsMarkedMaybe(test_info)) in OnTestStart() 66 virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE { in OnTestStart() argument 70 virtual void OnTestEnd(const testing::TestInfo& test_info) OVERRIDE { in OnTestEnd() argument 248 const ::testing::TestInfo* const test_info = in UnitTestAssertHandler() local 250 if (test_info) { in UnitTestAssertHandler() 251 LOG(ERROR) << "Currently running: " << test_info->test_case_name() << "." in UnitTestAssertHandler() 252 << test_info->name(); in UnitTestAssertHandler()
|
/external/chromium_org/chrome/browser/diagnostics/ |
D | diagnostics_writer.cc | 226 const DiagnosticsModel::TestInfo& test_info = model->GetTest(index); in OnTestFinished() local 227 bool success = (DiagnosticsModel::TEST_OK == test_info.GetResult()); in OnTestFinished() 229 test_info.GetName(), in OnTestFinished() 230 test_info.GetTitle(), in OnTestFinished() 231 test_info.GetOutcomeCode(), in OnTestFinished() 232 test_info.GetAdditionalInfo()); in OnTestFinished() 241 const DiagnosticsModel::TestInfo& test_info = model->GetTest(index); in OnRecoveryFinished() local 242 WriteInfoLine("Finished Recovery for: " + test_info.GetTitle()); in OnRecoveryFinished()
|
/external/chromium_org/net/quic/crypto/ |
D | aes_128_gcm_12_decrypter_test.cc | 274 const TestGroupInfo& test_info = test_group_info[i]; in TEST() local 297 EXPECT_EQ(test_info.key_len, key.length() * 8); in TEST() 298 EXPECT_EQ(test_info.iv_len, iv.length() * 8); in TEST() 299 EXPECT_EQ(test_info.pt_len, ct.length() * 8); in TEST() 300 EXPECT_EQ(test_info.aad_len, aad.length() * 8); in TEST() 301 EXPECT_EQ(test_info.tag_len, tag.length() * 8); in TEST() 303 EXPECT_EQ(test_info.pt_len, pt.length() * 8); in TEST()
|
D | aes_128_gcm_12_encrypter_test.cc | 230 const TestGroupInfo& test_info = test_group_info[i]; in TEST() local 248 EXPECT_EQ(test_info.key_len, key.length() * 8); in TEST() 249 EXPECT_EQ(test_info.iv_len, iv.length() * 8); in TEST() 250 EXPECT_EQ(test_info.pt_len, pt.length() * 8); in TEST() 251 EXPECT_EQ(test_info.aad_len, aad.length() * 8); in TEST() 252 EXPECT_EQ(test_info.pt_len, ct.length() * 8); in TEST() 253 EXPECT_EQ(test_info.tag_len, tag.length() * 8); in TEST()
|
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/ |
D | permission_selector_button_unittest.mm | 24 WebsiteSettingsUI::PermissionInfo test_info; 25 test_info.type = kTestPermissionType; 26 test_info.setting = CONTENT_SETTING_BLOCK; 27 test_info.source = content_settings::SETTING_SOURCE_USER; 32 [[PermissionSelectorButton alloc] initWithPermissionInfo:test_info
|
/external/protobuf/gtest/test/ |
D | gtest_shuffle_test_.cc | 87 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 88 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
/external/chromium_org/testing/gtest/test/ |
D | gtest_shuffle_test_.cc | 86 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 87 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
/external/gtest/test/ |
D | gtest_shuffle_test_.cc | 86 virtual void OnTestStart(const TestInfo& test_info) { in OnTestStart() argument 87 printf("%s.%s\n", test_info.test_case_name(), test_info.name()); in OnTestStart()
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
D | gtest.cc | 2237 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2241 return test_info; in MakeAndRegisterTestInfo() 2284 bool operator()(const TestInfo * test_info) const { in operator ()() 2285 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2424 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2425 test_info_list_.push_back(test_info); in AddTestInfo() 2666 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 2667 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 2668 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 2237 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2241 return test_info; in MakeAndRegisterTestInfo() 2284 bool operator()(const TestInfo * test_info) const { in operator ()() 2285 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2424 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2425 test_info_list_.push_back(test_info); in AddTestInfo() 2666 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 2667 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 2668 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() [all …]
|
/external/gtest/include/gtest/ |
D | gtest.h | 715 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 716 test_info->result_.Clear(); in ClearTestResult() 840 void AddTestInfo(TestInfo * test_info); 862 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 863 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 867 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 868 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 873 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 874 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 878 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/chromium_org/testing/gtest/include/gtest/ |
D | gtest.h | 715 static void ClearTestResult(TestInfo* test_info) { in ClearTestResult() argument 716 test_info->result_.Clear(); in ClearTestResult() 840 void AddTestInfo(TestInfo * test_info); 862 static bool TestPassed(const TestInfo* test_info) { in TestPassed() argument 863 return test_info->should_run() && test_info->result()->Passed(); in TestPassed() 867 static bool TestFailed(const TestInfo* test_info) { in TestFailed() argument 868 return test_info->should_run() && test_info->result()->Failed(); in TestFailed() 873 static bool TestReportableDisabled(const TestInfo* test_info) { in TestReportableDisabled() argument 874 return test_info->is_reportable() && test_info->is_disabled_; in TestReportableDisabled() 878 static bool TestDisabled(const TestInfo* test_info) { in TestDisabled() argument [all …]
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 2138 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2141 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2142 return test_info; in MakeAndRegisterTestInfo() 2220 bool operator()(const TestInfo * test_info) const { in operator ()() 2221 return test_info && internal::String(test_info->name()).Compare(name_) == 0; in operator ()() 2376 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2377 test_info_list_->PushBack(test_info); in AddTestInfo() 2412 bool TestCase::TestPassed(const TestInfo * test_info) { in TestPassed() argument 2413 const internal::TestInfoImpl* const impl = test_info->impl(); in TestPassed() 2418 bool TestCase::TestFailed(const TestInfo * test_info) { in TestFailed() argument [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 2237 TestInfo* const test_info = in MakeAndRegisterTestInfo() local 2240 GetUnitTestImpl()->AddTestInfo(set_up_tc, tear_down_tc, test_info); in MakeAndRegisterTestInfo() 2241 return test_info; in MakeAndRegisterTestInfo() 2395 void TestCase::AddTestInfo(TestInfo * test_info) { in AddTestInfo() argument 2396 test_info_list_.push_back(test_info); in AddTestInfo() 2638 void PrintFullTestCommentIfPresent(const TestInfo& test_info) { in PrintFullTestCommentIfPresent() argument 2639 const char* const type_param = test_info.type_param(); in PrintFullTestCommentIfPresent() 2640 const char* const value_param = test_info.value_param(); in PrintFullTestCommentIfPresent() 2671 virtual void OnTestStart(const TestInfo& test_info); 2673 virtual void OnTestEnd(const TestInfo& test_info); [all …]
|