COPASI API  4.16.103
test000100.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000100.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2011/09/08 11:26:17 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 #ifndef TEST_000100_H__
15 #define TEST_000100_H__
16 
17 
18 #include <cppunit/TestFixture.h>
19 #include <cppunit/TestSuite.h>
20 #include <cppunit/TestResult.h>
21 #include <cppunit/extensions/HelperMacros.h>
22 
23 /**
24  * Test for exporting Level 3 models before or after Level 2 models
25  */
26 
27 class CCopasiDataModel;
28 
29 class test000100 : public CppUnit::TestFixture
30 {
35 
36 protected:
37  // CPS model for the test
38  // Since the bug only occurs if functions are exported,
39  // function definitions are crucial for this test
40  static const char* CPS_STRING;
41 
43 
44 public:
45  void setUp();
46 
47  void tearDown();
48 
49  // test whether exporting an SBML Level 3 file after an SBML Level 2 file
50  // succeeds
51  void test_bug1692_1();
52 
53  // test whether exporting an SBML Level 3 file before an SBML Level 2 file
54  // succeeds
55  void test_bug1692_2();
56 
57 };
58 
59 #endif /* TEST000100_H__ */
static const char * CPS_STRING
Definition: test000100.h:40
void tearDown()
Definition: test000100.cpp:64
void test_bug1692_1()
Definition: test000100.cpp:81
CPPUNIT_TEST_SUITE(test000100)
CPPUNIT_TEST(test_bug1692_1)
void setUp()
Definition: test000100.cpp:42
void test_bug1692_2()
Definition: test000100.cpp:109
CCopasiDataModel * pDataModel
Definition: test000100.h:42
CPPUNIT_TEST_SUITE_END()