source:
src/Parser/unittests/ParserTremoloUnitTest.hpp@
6a5921
| Last change on this file since 6a5921 was ca331c, checked in by , 14 years ago | |
|---|---|
|
|
| File size: 1.3 KB | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * ParserTremoloUnitTest.hpp |
| 3 | * |
| 4 | * Created on: Mar 3, 2010 |
| 5 | * Author: metzler |
| 6 | */ |
| 7 | #ifndef PARSERTREMOLOUNITTEST_HPP_ |
| 8 | #define PARSERTREMOLOUNITTEST_HPP_ |
| 9 | |
| 10 | // include config.h |
| 11 | #ifdef HAVE_CONFIG_H |
| 12 | #include <config.h> |
| 13 | #endif |
| 14 | |
| 15 | #include "Parser/TremoloParser.hpp" |
| 16 | |
| 17 | #include <cppunit/extensions/HelperMacros.h> |
| 18 | #include <string> |
| 19 | |
| 20 | class ParserTremoloUnitTest : public CppUnit::TestFixture |
| 21 | { |
| 22 | CPPUNIT_TEST_SUITE( ParserTremoloUnitTest ) ; |
| 23 | CPPUNIT_TEST ( readTremoloPreliminaryCommentsTest ); |
| 24 | CPPUNIT_TEST ( getsetAtomDataTest ); |
| 25 | CPPUNIT_TEST ( readTremoloCoordinatesTest ); |
| 26 | CPPUNIT_TEST ( readTremoloVelocityTest ); |
| 27 | CPPUNIT_TEST ( readTremoloNeighborInformationTest ); |
| 28 | CPPUNIT_TEST ( readAndWriteTremoloImprDataInformationTest ); |
| 29 | CPPUNIT_TEST ( readAndWriteTremoloTorsionInformationTest ); |
| 30 | CPPUNIT_TEST ( writeTremoloTest ); |
| 31 | CPPUNIT_TEST_SUITE_END(); |
| 32 | |
| 33 | public: |
| 34 | void setUp(); |
| 35 | void tearDown(); |
| 36 | |
| 37 | void readTremoloPreliminaryCommentsTest(); |
| 38 | void getsetAtomDataTest(); |
| 39 | void readTremoloCoordinatesTest(); |
| 40 | void readTremoloVelocityTest(); |
| 41 | void readTremoloNeighborInformationTest(); |
| 42 | void readAndWriteTremoloImprDataInformationTest(); |
| 43 | void readAndWriteTremoloTorsionInformationTest(); |
| 44 | void writeTremoloTest(); |
| 45 | |
| 46 | private: |
| 47 | FormatParser<tremolo> *parser; |
| 48 | }; |
| 49 | |
| 50 | #endif /* PARSERTREMOLOUNITTEST_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
