EventSetTest.hpp 607 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef __HEPNOS_TEST_EVENTSET_H
#define __HEPNOS_TEST_EVENTSET_H

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

extern hepnos::DataStore* datastore;

class EventSetTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( EventSetTest );
    CPPUNIT_TEST( testFillDataStore );
13
    CPPUNIT_TEST( testInvalid );
14
    CPPUNIT_TEST( testBeginEnd );
15
    CPPUNIT_TEST( testPrefetcher );
16 17 18 19 20 21 22 23
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testFillDataStore();
24
    void testInvalid();
25
    void testBeginEnd();
26
    void testPrefetcher();
27 28 29
};

#endif