mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
added testcase for #936
This commit is contained in:
parent
8d8074fc00
commit
e63c56cafb
@ -499,6 +499,13 @@ void ThreadTest::testAffinity()
|
||||
}
|
||||
|
||||
|
||||
void ThreadTest::testJoinNotStarted()
|
||||
{
|
||||
Thread thread;
|
||||
thread.join();
|
||||
}
|
||||
|
||||
|
||||
void ThreadTest::setUp()
|
||||
{
|
||||
}
|
||||
@ -528,6 +535,7 @@ CppUnit::Test* ThreadTest::suite()
|
||||
CppUnit_addTest(pSuite, ThreadTest, testThreadStackSize);
|
||||
CppUnit_addTest(pSuite, ThreadTest, testSleep);
|
||||
CppUnit_addTest(pSuite, ThreadTest, testAffinity);
|
||||
CppUnit_addTest(pSuite, ThreadTest, testJoinNotStarted);
|
||||
|
||||
return pSuite;
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ public:
|
||||
void testThreadStackSize();
|
||||
void testSleep();
|
||||
void testAffinity();
|
||||
void testJoinNotStarted();
|
||||
|
||||
void setUp();
|
||||
void tearDown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user