Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 15 of 15) sorted by relevance

/system/bt/test/
Dgen_coverage.py147 test_name = test['test_name']
153 os.path.join(test_name, "index.html") + "\'>" + test_name +
189 def get_profraw_for_test(test_name): argument
191 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name)
193 logging.error('The test ' + test_name + ' does not exist, please compile first')
196 profraw_file_name = test_name + ".profraw"
197 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name))
201 logging.info('Generating profraw data for ' + test_name)
204 logging.error('Test ' + test_name + ' failed. Please fix the test before generating coverage.')
214 def merge_profraw_data(test_name): argument
[all …]
Drun_host_unit_tests.py130 def get_test_cmd_or_die(test_root, test_name, enable_xml, test_filter): argument
131 test_path = os.path.join(os.path.join(test_root, test_name), test_name)
139 .format(test_name))
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c31 static const char *test_name = NULL; variable
121 test_name = strdup(optarg); in parse_options()
903 if (!test_name) { in main()
908 if (strcmp(test_name, "connect") == 0) { in main()
910 } else if (strcmp(test_name, "connect_foo") == 0) { in main()
912 } else if (strcmp(test_name, "burst_write") == 0) { in main()
914 } else if (strcmp(test_name, "select") == 0) { in main()
916 } else if (strcmp(test_name, "blocked_read") == 0) { in main()
918 } else if (strcmp(test_name, "closer1") == 0) { in main()
920 } else if (strcmp(test_name, "closer2") == 0) { in main()
[all …]
/system/core/storaged/include/
Dstoraged_uid_monitor.h32 #define FRIEND_TEST(test_case_name, test_name) \ argument
33 friend class test_case_name##_##test_name##_Test
Dstoraged_info.h30 #define FRIEND_TEST(test_case_name, test_name) \ argument
31 friend class test_case_name##_##test_name##_Test
Dstoraged.h33 #define FRIEND_TEST(test_case_name, test_name) \ argument
34 friend class test_case_name##_##test_name##_Test
/system/testing/gtest_extras/
DIsolate.cpp134 std::string test_name = &buffer[2]; in EnumerateTests() local
135 auto space_index = test_name.find(' '); in EnumerateTests()
137 test_name.erase(space_index); in EnumerateTests()
139 if (test_name.back() == '\n') { in EnumerateTests()
140 test_name.resize(test_name.size() - 1); in EnumerateTests()
142 if (options_.allow_disabled_tests() || !android::base::StartsWith(test_name, "DISABLED_")) { in EnumerateTests()
144 tests_.push_back(std::make_tuple(suite_name, test_name)); in EnumerateTests()
690 test->test_name().c_str(), double(test->RunTimeNs()) / kNsPerMs, in WriteXmlResults()
DTest.h64 const std::string& test_name() const { return test_name_; } in test_name() function
/system/extras/simpleperf/runtest/
Druntest.py169 test_name, argument
177 self.test_name = test_name
189 strs.append('Test test_name=%s' % self.test_name)
213 test_name = test.attrib['name']
269 test_name,
571 print('Skip test %s on %s' % (test.test_name, runner.target))
584 str = 'test %s on %s ' % (test.test_name, runner.target)
600 if test.test_name in selected_tests:
/system/testing/gtest_extras/tests/
DSystemTests.cpp63 void RunTest(const std::string& test_name, std::vector<const char*> extra_args = {});
64 void RunTestCaptureFooter(const std::string& test_name, std::string* footer,
66 void Verify(const std::string& test_name, const std::string& expected_output,
141 void SystemTests::RunTest(const std::string& test_name, std::vector<const char*> extra_args) { in RunTest() argument
155 std::string filter_arg("--gtest_filter=" + test_name); in RunTest()
161 void SystemTests::RunTestCaptureFooter(const std::string& test_name, std::string* footer, in RunTestCaptureFooter() argument
163 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in RunTestCaptureFooter()
179 void SystemTests::Verify(const std::string& test_name, const std::string& expected_output, in Verify() argument
181 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in Verify()
/system/extras/libperfmgr/tests/
DPropertyNodeTest.cc106 std::string test_name = "TESTREQ_1"; in TEST() local
108 PropertyNode t(test_name, test_path, {}, 0, false); in TEST()
109 EXPECT_EQ(test_name, t.GetName()); in TEST()
DFileNodeTest.cc97 std::string test_name = "TESTREQ_1"; in TEST() local
99 FileNode t(test_name, test_path, {}, 0, false, true); in TEST()
100 EXPECT_EQ(test_name, t.GetName()); in TEST()
/system/bt/osi/test/
Dthread_test.cc24 TEST_F(ThreadTest, test_name) { in TEST_F() argument
/system/tools/hidl/test/hidl_test/
Dhidl_test_helper66 #usage: run_all_tests server_path32 server_path64 client_path32 client_path64 test_name [-h/-c conf…
/system/bt/common/
Dmessage_loop_thread_unittest.cc136 TEST_F(MessageLoopThreadTest, test_name) { in TEST_F() argument