1 |
schoenebeck |
917 |
#ifndef __LIBGIG_GIGWRITETEST_H__ |
2 |
|
|
#define __LIBGIG_GIGWRITETEST_H__ |
3 |
|
|
|
4 |
|
|
#include <cppunit/TestFixture.h> |
5 |
|
|
#include <cppunit/extensions/HelperMacros.h> |
6 |
|
|
|
7 |
|
|
class GigWriteTest : public CppUnit::TestFixture { |
8 |
|
|
|
9 |
|
|
CPPUNIT_TEST_SUITE(GigWriteTest); |
10 |
|
|
CPPUNIT_TEST(printTestSuiteName); |
11 |
|
|
CPPUNIT_TEST(createNewGigFile); |
12 |
|
|
CPPUNIT_TEST(testOpenCreatedGigFile); |
13 |
|
|
CPPUNIT_TEST(testArticulationsOfCreatedGigFile); |
14 |
|
|
CPPUNIT_TEST(testWriteSamples); |
15 |
schoenebeck |
923 |
CPPUNIT_TEST(testSamplesData); |
16 |
schoenebeck |
917 |
CPPUNIT_TEST_SUITE_END(); |
17 |
|
|
|
18 |
|
|
public: |
19 |
|
|
void setUp(); |
20 |
|
|
void tearDown(); |
21 |
|
|
|
22 |
|
|
void printTestSuiteName(); |
23 |
|
|
|
24 |
|
|
void createNewGigFile(); |
25 |
|
|
void testOpenCreatedGigFile(); |
26 |
|
|
void testArticulationsOfCreatedGigFile(); |
27 |
|
|
void testWriteSamples(); |
28 |
schoenebeck |
923 |
void testSamplesData(); |
29 |
schoenebeck |
917 |
}; |
30 |
|
|
|
31 |
|
|
#endif // __LIBGIG_GIGWRITETEST_H__ |