AsyncWriteBatchTest.hpp 634 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
#ifndef __HEPNOS_TEST_ASYNCWRITEBATCH_H
#define __HEPNOS_TEST_ASYNCWRITEBATCH_H

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

extern hepnos::DataStore* datastore;

class AsyncWriteBatchTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( AsyncWriteBatchTest );
    CPPUNIT_TEST( testAsyncWriteBatchRun );
    CPPUNIT_TEST( testAsyncWriteBatchSubRun );
    CPPUNIT_TEST( testAsyncWriteBatchEvent );
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testAsyncWriteBatchRun();
    void testAsyncWriteBatchSubRun();
    void testAsyncWriteBatchEvent();
};

#endif