COPASI API  4.16.103
test000058.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000058.h,v $
3 // $Revision: 1.3 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2009/02/18 20:41:02 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 #ifndef TEST_000058_H__
15 #define TEST_000058_H__
16 
17 #include <cppunit/TestFixture.h>
18 #include <cppunit/TestSuite.h>
19 #include <cppunit/TestResult.h>
20 #include <cppunit/extensions/HelperMacros.h>
21 
22 class Model;
23 class CCopasiDataModel;
24 
25 class test000058 : public CppUnit::TestFixture
26  {
39 
40  protected:
41  static const char* MODEL_STRING;
42  static const char* MODEL_STRING2;
44 
45  bool checkIfIdsUnique(const Model* pSBMLModel);
46 
47  public:
48  void setUp();
49 
50  void tearDown();
51 
52  // tests with SBML files
53  // for reaction id
54  void test_bug1025_1();
55  // for compartment id
56  void test_bug1025_2();
57  // for species id
58  void test_bug1025_3();
59  // for parameter id
60  void test_bug1025_4();
61  // for function definition id
62  void test_bug1025_5();
63 
64  // test with COPASI files created from an SBML file
65  // for reaction id
66  void test_bug1025_6();
67  // for compartment id
68  void test_bug1025_7();
69  // for species id
70  void test_bug1025_8();
71  // for parameter id
72  void test_bug1025_9();
73  // for function definition id
74  void test_bug1025_10();
75  };
76 
77 #endif /* TEST000058_H__ */
void test_bug1025_7()
Definition: test000058.cpp:821
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000058.h:43
static const char * MODEL_STRING2
Definition: test000058.h:42
void test_bug1025_9()
Definition: test000058.cpp:899
void test_bug1025_1()
Definition: test000058.cpp:545
CPPUNIT_TEST_SUITE(test000058)
static const char * MODEL_STRING
Definition: test000058.h:41
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST(test_bug1025_1)
void setUp()
Definition: test000058.cpp:31
void test_bug1025_2()
Definition: test000058.cpp:591
void test_bug1025_6()
Definition: test000058.cpp:781
void test_bug1025_10()
Definition: test000058.cpp:938
void tearDown()
Definition: test000058.cpp:39
void test_bug1025_8()
Definition: test000058.cpp:860
void test_bug1025_3()
Definition: test000058.cpp:636
bool checkIfIdsUnique(const Model *pSBMLModel)
Definition: test000058.cpp:44
void test_bug1025_4()
Definition: test000058.cpp:681
void test_bug1025_5()
Definition: test000058.cpp:726