RestartAndReadTest.hpp 629 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#ifndef __HEPNOS_TEST_RESTARTANDREAD_H
#define __HEPNOS_TEST_RESTARTANDREAD_H

#include <cppunit/extensions/HelperMacros.h>
#include <hepnos.hpp>

extern hepnos::DataStore* datastore;

class RestartAndReadTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( RestartAndReadTest );
    CPPUNIT_TEST( testLoadDataSet );
    CPPUNIT_TEST( testLoadRun );
    CPPUNIT_TEST( testLoadSubRun );
    CPPUNIT_TEST( testLoadEvent );
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testLoadDataSet();
    void testLoadRun();
    void testLoadSubRun();
    void testLoadEvent();
};

#endif