LoadStoreTest.hpp 1.18 KB
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
#ifndef __HEPNOS_TEST_LOADSTORE_H
#define __HEPNOS_TEST_LOADSTORE_H

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

extern hepnos::DataStore* datastore;

class LoadStoreTest : public CppUnit::TestFixture
{
    CPPUNIT_TEST_SUITE( LoadStoreTest );
    CPPUNIT_TEST( testFillDataStore );
    CPPUNIT_TEST( testLoadStoreDataSet );
    CPPUNIT_TEST( testLoadStoreRun );
    CPPUNIT_TEST( testLoadStoreSubRun );
    CPPUNIT_TEST( testLoadStoreEvent );
17 18 19 20
    CPPUNIT_TEST( testAsyncLoadStoreDataSet );
    CPPUNIT_TEST( testAsyncLoadStoreRun );
    CPPUNIT_TEST( testAsyncLoadStoreSubRun );
    CPPUNIT_TEST( testAsyncLoadStoreEvent );
21
    CPPUNIT_TEST( testPrefetchLoadStore );
22
    CPPUNIT_TEST( testAsyncPrefetchLoadStore );
Matthieu Dorier's avatar
Matthieu Dorier committed
23 24 25 26 27 28 29 30 31 32 33 34
    CPPUNIT_TEST_SUITE_END();

    public:

    void setUp();
    void tearDown();

    void testFillDataStore();
    void testLoadStoreDataSet();
    void testLoadStoreRun();
    void testLoadStoreSubRun();
    void testLoadStoreEvent();
35 36 37 38
    void testAsyncLoadStoreDataSet();
    void testAsyncLoadStoreRun();
    void testAsyncLoadStoreSubRun();
    void testAsyncLoadStoreEvent();
39
    void testPrefetchLoadStore();
40
    void testAsyncPrefetchLoadStore();
Matthieu Dorier's avatar
Matthieu Dorier committed
41 42 43
};

#endif