ApplicationTest.h
610 Bytes
#ifndef APPLICATION_TEST_H
#define APPLICATION_TEST_H
#include "cppunit/TestFixture.h"
#include "cppunit/extensions/HelperMacros.h"
#include "Application.h"
using namespace std;
using namespace CppUnit;
using namespace TREPS::Application;
//unit tests for ApplicationClass functions
class ApplicationTest : public TestFixture
{
CPPUNIT_TEST_SUITE( ApplicationTest );
CPPUNIT_TEST( TestInitApplication );
CPPUNIT_TEST_SUITE_END();
public:
ApplicationTest(void);
void setUp(void);
void tearDown(void);
protected:
void TestInitApplication(void);
private:
ApplicationClass *app;
};
#endif