Searched refs:test_name (Results 1 - 25 of 1434) sorted by path

1234567891011>>

/external/bluetooth/bluedroid/osi/test/
H A Dthread_test.cpp19 TEST(ThreadTest, test_name) {
20 thread_t *thread = thread_new("test_name");
21 ASSERT_STREQ(thread_name(thread), "test_name");
/external/chromium_org/base/
H A Dgtest_prod_util.h21 #define FRIEND_TEST_ALL_PREFIXES(test_case_name, test_name) \
22 FRIEND_TEST(test_case_name, test_name); \
23 FRIEND_TEST(test_case_name, DISABLED_##test_name); \
24 FRIEND_TEST(test_case_name, FLAKY_##test_name)
61 #define FORWARD_DECLARE_TEST(test_case_name, test_name) \
62 class test_case_name##_##test_name##_Test; \
63 class test_case_name##_##DISABLED_##test_name##_Test; \
64 class test_case_name##_##FLAKY_##test_name##_Test
/external/chromium_org/base/json/
H A Djson_parser.h28 #define FRIEND_TEST(test_case_name, test_name)\
29 friend class test_case_name##_##test_name##_Test
31 #define FRIEND_TEST_ALL_PREFIXES(test_case_name, test_name) \
32 FRIEND_TEST(test_case_name, test_name); \
33 FRIEND_TEST(test_case_name, DISABLED_##test_name); \
34 FRIEND_TEST(test_case_name, FLAKY_##test_name)
/external/chromium_org/base/memory/
H A Dshared_memory_unittest.cc150 std::string test_name = "SharedMemoryOpenCloseTest"; local
155 bool rv = memory1.Delete(test_name);
157 rv = memory1.Delete(test_name);
159 rv = memory1.Open(test_name, false);
161 rv = memory1.CreateNamedDeprecated(test_name, false, kDataSize);
166 rv = memory2.Open(test_name, false);
190 rv = memory1.Delete(test_name);
192 rv = memory2.Delete(test_name);
202 std::string test_name = test_name_stream.str(); local
207 bool rv = memory1.CreateNamedDeprecated(test_name, fals
[all...]
/external/chromium_org/base/test/expectations/
H A Dexpectation.h80 std::string test_name; member in struct:test_expectations::Expectation
H A Dparser.cc129 current_.test_name = extracted_string_.as_string();
H A Dparser_unittest.cc45 EXPECT_EQ("DouglasTest.PoopsOk", expectations_[0].test_name);
61 EXPECT_EQ("OhMy.MeOhMy", expectations_[0].test_name);
84 EXPECT_EQ("First.Test", expectations_[0].test_name);
91 EXPECT_EQ("Second.Test", expectations_[1].test_name);
109 EXPECT_EQ("Line.First", expectations_[0].test_name);
118 EXPECT_EQ("Line.Second", expectations_[1].test_name);
135 EXPECT_EQ("Foo=Bar", expectations_[0].test_name);
144 EXPECT_EQ("Cow.GoesMoo", expectations_[1].test_name);
/external/chromium_org/base/test/
H A Dgtest_xml_util.cc146 std::string test_name;
147 if (!xml_reader.NodeAttribute("name", &test_name))
150 test_name);
173 std::string test_name;
174 if (!xml_reader.NodeAttribute("name", &test_name))
176 result.full_name = test_case_name + "." + test_name;
H A Dperf_log.cc34 void LogPerfResult(const char* test_name, double value, const char* units) { argument
40 fprintf(perf_log_file, "%s\t%g\t%s\n", test_name, value, units);
41 printf("%s\t%g\t%s\n", test_name, value, units);
H A Dperf_log.h20 void LogPerfResult(const char* test_name, double value, const char* units);
H A Dperf_time_logger.cc11 PerfTimeLogger::PerfTimeLogger(const char* test_name) argument
12 : logged_(false), test_name_(test_name) {}
H A Dperf_time_logger.h22 explicit PerfTimeLogger(const char* test_name);
/external/chromium_org/base/test/launcher/
H A Dtest_launcher.cc693 const std::string& test_name) {
694 return test_case_name + "." + test_name;
913 std::string test_name = FormatFullTestName( local
916 results_tracker_.AddTest(test_name);
919 if (test_name.find("DISABLED") != std::string::npos) {
920 results_tracker_.AddDisabledTest(test_name);
934 if (MatchPattern(test_name, positive_test_filter_[k])) {
945 if (MatchPattern(test_name, negative_test_filter_[k])) {
953 if (base::Hash(test_name) % total_shards_ !=
958 test_names.push_back(test_name);
692 FormatFullTestName(const std::string& test_case_name, const std::string& test_name) argument
[all...]
H A Dtest_launcher.h115 const std::string& test_name);
H A Dtest_results_tracker.cc48 std::string TestNameWithoutDisabledPrefix(const std::string& test_name) { argument
49 std::string test_name_no_disabled(test_name);
162 void TestResultsTracker::AddTest(const std::string& test_name) { argument
165 all_tests_.insert(TestNameWithoutDisabledPrefix(test_name));
168 void TestResultsTracker::AddDisabledTest(const std::string& test_name) { argument
171 disabled_tests_.insert(TestNameWithoutDisabledPrefix(test_name));
H A Dtest_results_tracker.h43 // Adds |test_name| to the set of discovered tests (this includes all tests
45 void AddTest(const std::string& test_name);
47 // Adds |test_name| to the set of disabled tests.
48 void AddDisabledTest(const std::string& test_name);
H A Dunit_test_launcher.cc166 std::string test_name(new_test_names.back());
177 current_test_names.push_back(test_name);
/external/chromium_org/build/android/pylib/gtest/
H A Dtest_package.py96 test_name = test.split()[0]
97 ret += [current + test_name]
/external/chromium_org/build/android/pylib/host_driven/
H A Dtest_case.py45 def __init__(self, test_name, instrumentation_options=None):
46 """Create a test case initialized to run |test_name|.
49 test_name: The name of the method to run as the test.
65 self.test_name = test_name
66 self.qualified_name = '%s.%s' % (class_name, self.test_name)
96 return getattr(self, self.test_name)()
H A Dtest_runner.py21 def __init__(self, test_name, start_date_ms, exc_info):
25 test_name: name of the test which raised an exception.
36 test_name,
/external/chromium_org/build/android/pylib/instrumentation/
H A Dtest_jar.py241 def _IsTestValidForSdkRange(self, test_name, attached_min_sdk_level):
242 required_min_sdk_level = self.GetTestMethods()[test_name].get(
/external/chromium_org/build/android/pylib/linker/
H A Dtest_runner.py26 def __init__(self, test_name, exc_info):
30 test_name: name of the test which raised an exception.
39 test_name,
/external/chromium_org/build/android/pylib/monkey/
H A Dtest_runner.py45 def RunTest(self, test_name):
49 test_name: String to use for logging the test result.
84 test_name, base_test_result.ResultType.PASS, log=output)
87 test_name, base_test_result.ResultType.FAIL, log=output)
/external/chromium_org/build/android/pylib/perf/
H A Dtest_runner.py75 def PrintTestOutput(test_name):
76 """Helper method to print the output of previously executed test_name.
79 test_name: name of the test that has been previously executed.
84 file_name = os.path.join(constants.PERF_OUTPUT_DIR, test_name)
104 for test_name in test_names:
105 file_name = os.path.join(constants.PERF_OUTPUT_DIR, test_name)
107 logging.info('%s : No status file found', test_name)
161 tests: a dict mapping test_name to command.
162 flaky_tests: a list of flaky test_name.
190 def _CheckDeviceAffinity(self, test_name)
[all...]
/external/chromium_org/build/android/pylib/utils/
H A Dflakiness_dashboard_results_uploader.py43 def _GetModifierChar(self, test_name):
44 if test_name not in self._test_results_map:
47 return self._test_results_map[test_name].modifier

Completed in 5304 milliseconds

1234567891011>>