1 |
#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 |
CPPUNIT_TEST(testSamplesData); |
16 |
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 |
void testSamplesData(); |
29 |
}; |
30 |
|
31 |
#endif // __LIBGIG_GIGWRITETEST_H__ |