Home
last modified time | relevance | path

Searched refs:test_info (Results 1 – 25 of 86) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_parser_unittest.py49 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 …]
Dtest_parser.py70 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
Dtest_importer.py247 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/
Dsample9_unittest.cc64 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/
Dsample9_unittest.cc64 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/
Dtest_log_collector.cc40 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/
Dmain.cc30 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/
Dmain.cc30 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/
Dmain.cc31 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/
Dtesting.cc36 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/
Dgtest_xml_util.cc59 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()
Dtest_suite.cc52 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/
Ddiagnostics_writer.cc226 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/
Daes_128_gcm_12_decrypter_test.cc274 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()
Daes_128_gcm_12_encrypter_test.cc230 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/
Dpermission_selector_button_unittest.mm24 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/
Dgtest_shuffle_test_.cc87 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/
Dgtest_shuffle_test_.cc86 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/
Dgtest_shuffle_test_.cc86 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/
Dgtest.cc2237 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/
Dgtest.cc2237 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/
Dgtest.h715 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/
Dgtest.h715 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/
Dgtest.cc2138 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/
Dgtest.cc2237 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 …]

1234