Searched refs:testCase (Results 1 - 3 of 3) sorted by relevance
/kernel/liteos_a/testsuites/unittest/tools/ |
H A D | unittest_tools.cpp | 65 struct TestCase *testCase[TEST_DEFAULT_CASE_MAX]; member 122 static void RunCase(const char *testCase, char *param[]) in RunCase() argument 135 cout << testCase << ":" << endl; in RunCase() 138 cout << "execl: " << testCase << " failed, " << strerror(errno) << endl; in RunCase() 158 size = strlen(testCase) + 1; in RunCase() 165 if (memcpy_s(g_testsuitesFailedCase[g_testsuitesFailedCount], size, testCase, size) != EOK) { in RunCase() 271 g_param.testCase[g_param.testCaseNum] = (struct TestCase *)malloc(sizeof(struct TestCase)); in ParseTestCaseAndParam() 272 if (g_param.testCase[g_param.testCaseNum] == nullptr) { in ParseTestCaseAndParam() 276 (void)memset_s(g_param.testCase[g_param.testCaseNum], sizeof(struct TestCase), 0, sizeof(struct TestCase)); in ParseTestCaseAndParam() 277 struct TestCase *testCase in ParseTestCaseAndParam() local 347 IsCase(vector<string> files, struct TestCase *testCase) IsCase() argument [all...] |
/kernel/liteos_a/testsuites/kernel/src/ |
H A D | iCunit.c | 607 extern iUINT32 ICunitRunTestcaseOne(ICUNIT_CASE_S *testCase); 631 iUINT32 ICunitRunTestcaseSatisfied(ICUNIT_CASE_S *testCase, iUINT32 testcaseLayer, iUINT32 testcaseModule, in ICunitRunTestcaseSatisfied() argument 635 if (((testCase->testcase_layer == testcaseLayer) || (testcaseLayer == TEST_LAYER_ALL)) && in ICunitRunTestcaseSatisfied() 636 ((testCase->testcase_module == testcaseModule) || (testcaseModule == TEST_MODULE_ALL)) && in ICunitRunTestcaseSatisfied() 637 ((testCase->testcase_level == testcaseLevel) || (testcaseLevel == TEST_LEVEL_ALL)) && in ICunitRunTestcaseSatisfied() 638 ((testCase->testcase_type == testcaseType) || (testcaseType == TEST_TYPE_ALL))) { in ICunitRunTestcaseSatisfied() 639 ICunitRunSingle(testCase); in ICunitRunTestcaseSatisfied() 645 iUINT32 ICunitRunTestcaseOne(ICUNIT_CASE_S *testCase) in ICunitRunTestcaseOne() argument 647 ICunitRunSingle(testCase); in ICunitRunTestcaseOne()
|
/kernel/liteos_a/testsuites/kernel/include/ |
H A D | iCunit.h | 433 extern iUINT32 ICunitRunTestcaseSatisfied(ICUNIT_CASE_S *testCase, iUINT32 testcaseLayer, iUINT32 testcaseModule,
|
Completed in 5 milliseconds