Newer
Older
#ifndef MANTID_KERNEL_THREADPOOLRUNNABLETEST_H_
#define MANTID_KERNEL_THREADPOOLRUNNABLETEST_H_
#include <cxxtest/TestSuite.h>
#include <MantidKernel/Timer.h>
#include <MantidKernel/System.h>
#include <iostream>
#include <iomanip>
#include <MantidKernel/ThreadPoolRunnable.h>
using namespace Mantid::Kernel;
class ThreadPoolRunnableTest : public CxxTest::TestSuite
{
public:
Janik Zikovsky
committed
void test_constructor()
Janik Zikovsky
committed
ThreadPoolRunnable * tpr;
TS_ASSERT_THROWS( tpr = new ThreadPoolRunnable(0, NULL), std::invalid_argument);
}
};
#endif /* MANTID_KERNEL_THREADPOOLRUNNABLETEST_H_ */