00001 #ifndef __LIBGIG_GIGWRITETEST_H__ 00002 #define __LIBGIG_GIGWRITETEST_H__ 00003 00004 #include <cppunit/TestFixture.h> 00005 #include <cppunit/extensions/HelperMacros.h> 00006 00007 class GigWriteTest : public CppUnit::TestFixture { 00008 00009 CPPUNIT_TEST_SUITE(GigWriteTest); 00010 CPPUNIT_TEST(printTestSuiteName); 00011 CPPUNIT_TEST(createNewGigFile); 00012 CPPUNIT_TEST(testOpenCreatedGigFile); 00013 CPPUNIT_TEST(testArticulationsOfCreatedGigFile); 00014 CPPUNIT_TEST(testWriteSamples); 00015 CPPUNIT_TEST(testSamplesData); 00016 CPPUNIT_TEST_SUITE_END(); 00017 00018 public: 00019 void setUp(); 00020 void tearDown(); 00021 00022 void printTestSuiteName(); 00023 00024 void createNewGigFile(); 00025 void testOpenCreatedGigFile(); 00026 void testArticulationsOfCreatedGigFile(); 00027 void testWriteSamples(); 00028 void testSamplesData(); 00029 }; 00030 00031 #endif // __LIBGIG_GIGWRITETEST_H__