mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Removed all local type definitions for GCC.
This commit is contained in:
parent
6cc59a97cc
commit
bedde94a9f
5 changed files with 194 additions and 168 deletions
|
|
@ -26,8 +26,9 @@
|
|||
#include "console/console.h"
|
||||
#include "core/util/tVector.h"
|
||||
|
||||
TEST(ThreadPool, BasicAPI)
|
||||
FIXTURE(ThreadPool)
|
||||
{
|
||||
public:
|
||||
// Represents a single unit of work. In this test we just set an element in
|
||||
// a result vector.
|
||||
struct TestItem : public ThreadPool::WorkItem
|
||||
|
|
@ -43,7 +44,10 @@ TEST(ThreadPool, BasicAPI)
|
|||
mResults[mIndex] = mIndex;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
TEST_FIX(ThreadPool, BasicAPI)
|
||||
{
|
||||
// Construct the vector of results from the work items.
|
||||
const U32 numItems = 100;
|
||||
Vector<U32> results(__FILE__, __LINE__);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue