Candidate_v1.7.0
        stable
      
      
      
| Rev | Line |  | 
|---|
| [1bef07] | 1 | /* | 
|---|
|  | 2 | * ParserPsi3UnitTest.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Mar 3, 2010 | 
|---|
|  | 5 | *      Author: metzler | 
|---|
|  | 6 | */ | 
|---|
|  | 7 | #ifndef PARSERPSI3UNITTEST_HPP_ | 
|---|
|  | 8 | #define PARSERPSI3UNITTEST_HPP_ | 
|---|
|  | 9 |  | 
|---|
|  | 10 | // include config.h | 
|---|
|  | 11 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 12 | #include <config.h> | 
|---|
|  | 13 | #endif | 
|---|
|  | 14 |  | 
|---|
|  | 15 | #include "Parser/Psi3Parser.hpp" | 
|---|
|  | 16 |  | 
|---|
|  | 17 | #include <cppunit/extensions/HelperMacros.h> | 
|---|
|  | 18 | #include <string> | 
|---|
|  | 19 |  | 
|---|
| [154a45] | 20 | class Psi3Parser_Parameters; | 
|---|
|  | 21 |  | 
|---|
| [1bef07] | 22 | class ParserPsi3UnitTest :  public CppUnit::TestFixture | 
|---|
|  | 23 | { | 
|---|
|  | 24 | CPPUNIT_TEST_SUITE( ParserPsi3UnitTest ) ; | 
|---|
|  | 25 | CPPUNIT_TEST ( ParameterDefaultTest ); | 
|---|
|  | 26 | CPPUNIT_TEST ( ParameterSetterTest ); | 
|---|
|  | 27 | CPPUNIT_TEST ( ParameterCloneTest ); | 
|---|
|  | 28 | CPPUNIT_TEST ( readPsi3Test ); | 
|---|
|  | 29 | CPPUNIT_TEST ( writePsi3Test ); | 
|---|
|  | 30 | CPPUNIT_TEST_SUITE_END(); | 
|---|
|  | 31 |  | 
|---|
|  | 32 | public: | 
|---|
|  | 33 | void setUp(); | 
|---|
|  | 34 | void tearDown(); | 
|---|
|  | 35 |  | 
|---|
|  | 36 | void ParameterDefaultTest(); | 
|---|
|  | 37 | void ParameterSetterTest(); | 
|---|
|  | 38 | void ParameterCloneTest(); | 
|---|
|  | 39 | void readPsi3Test(); | 
|---|
|  | 40 | void writePsi3Test(); | 
|---|
|  | 41 |  | 
|---|
|  | 42 | private: | 
|---|
|  | 43 | FormatParser<psi3> *parser; | 
|---|
| [154a45] | 44 | Psi3Parser_Parameters *params; | 
|---|
| [1bef07] | 45 | }; | 
|---|
|  | 46 |  | 
|---|
|  | 47 | #endif /* PARSERPSI3UNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.