WriteAndRestartTest.hpp 710 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 30 31
#ifndef __HEPNOS_TEST_WRITEANDRESTART_H
#define __HEPNOS_TEST_WRITEANDRESTART_H

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

extern hepnos::DataStore* datastore;

class WriteAndRestartTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( WriteAndRestartTest );
    CPPUNIT_TEST( testFillDataStore );
    CPPUNIT_TEST( testStoreDataSet );
    CPPUNIT_TEST( testStoreRun );
    CPPUNIT_TEST( testStoreSubRun );
    CPPUNIT_TEST( testStoreEvent );
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testFillDataStore();
    void testStoreDataSet();
    void testStoreRun();
    void testStoreSubRun();
    void testStoreEvent();
};

#endif