Home
last modified time | relevance | path

Searched refs:kThreadCount (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgtest_stress_test.cc55 const int kThreadCount = 50; variable
86 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()
121 std::unique_ptr<ThreadWithParam<int> > threads[kThreadCount]; in TEST()
123 for (int i = 0; i != kThreadCount; i++) in TEST()
130 for (int i = 0; i != kThreadCount; i++) threads[i]->Join(); in TEST()
143 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) in TEST()
146 for (int i = 0; i < kThreadCount; ++i) { in TEST()
150 CheckTestFailureCount(kThreadCount * kThreadCount); in TEST()
H A Dgoogletest-port-test.cc1101 const int kThreadCount = 7; in TEST() local
1102 std::unique_ptr<ThreadType> counting_threads[kThreadCount]; in TEST()
1106 for (int i = 0; i < kThreadCount; ++i) { in TEST()
1112 for (int i = 0; i < kThreadCount; ++i) counting_threads[i]->Join(); in TEST()
1118 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value()); in TEST()