WriteBatchTest.hpp 584 Bytes
Newer Older
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
#ifndef __HEPNOS_TEST_WRITEBATCH_H
#define __HEPNOS_TEST_WRITEBATCH_H

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

extern hepnos::DataStore* datastore;

class WriteBatchTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( WriteBatchTest );
    CPPUNIT_TEST( testWriteBatchRun );
    CPPUNIT_TEST( testWriteBatchSubRun );
    CPPUNIT_TEST( testWriteBatchEvent );
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testWriteBatchRun();
    void testWriteBatchSubRun();
    void testWriteBatchEvent();
};

#endif