Home
last modified time | relevance | path

Searched refs:TestThread (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_thread_test.cpp84 class TestThread : public OHOS::Thread { class
86 TestThread(const int data, const bool readyToWork, ThreadRunFunc runFunc) in TestThread() function in OHOS::__anon48::TestThread
90 TestThread() = delete;
91 ~TestThread() {} in ~TestThread()
106 bool TestThread::ReadyToWork() in ReadyToWork()
111 bool TestThread::Run() in Run()
132 std::unique_ptr<TestThread> test = std::make_unique<TestThread>(0, false, TestRun01); in HWTEST_F()
160 std::unique_ptr<TestThread> test = std::make_unique<TestThread>( in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/test/fuzztest/thread_fuzzer/
H A Dthread_fuzzer.cpp42 class TestThread : public OHOS::Thread { class
44 TestThread(const int data, const bool readyToWork, int priority, ThreadRunFunc runFunc) in TestThread() function in OHOS::TestThread
48 TestThread() = delete;
49 ~TestThread() {} in ~TestThread()
64 bool TestThread::ReadyToWork() in ReadyToWork()
69 bool TestThread::Run() in Run()
87 auto t = std::make_unique<TestThread>(0, readyToWork, priority, TestRun); in ThreadTestFunc()
/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp91 class TestThread : public OHOS::Thread { class
93 TestThread(const int data, const bool readyToWork, ThreadRunFunc runFunc) in TestThread() function in OHOS::__anon26::TestThread
101 TestThread() = delete;
102 ~TestThread() {} in ~TestThread()
118 bool TestThread::ReadyToWork() in ReadyToWork()
120 BENCHMARK_LOGD("ThreadTest bool TestThread::ReadyToWork is called."); in ReadyToWork()
124 bool TestThread::Run() in Run()
126 BENCHMARK_LOGD("ThreadTest bool TestThread::Run is called."); in Run()
149 std::unique_ptr<TestThread> test = std::make_unique<TestThread>(INITIAL_TEST_VALU in BENCHMARK_F()
[all...]

Completed in 2 milliseconds