COPASI API  4.16.103
test000104.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000104.h,v $
3 // $Revision: 1.1 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2011/12/24 11:14:48 $
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_000104_H__
15 #define TEST_000104_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 class CCopasiDataModel;
24 
25 // test for bug 1744
26 // COPASI crashes if an SBML level 3 model is imported that
27 // uses an extends unit id in the model element that is not defined
28 // later in the unit definitions
29 
30 class test000104 : public CppUnit::TestFixture
31 {
35 
36 protected:
37  // SBML model for the test
38  static const char* SBML_STRING;
39 
41 
42 public:
43  void setUp();
44 
45  void tearDown();
46 
47  void test_bug1744();
48 
49 };
50 
51 #endif /* TEST000104_H__ */
void test_bug1744()
Definition: test000104.cpp:45
CPPUNIT_TEST(test_bug1744)
static const char * SBML_STRING
Definition: test000104.h:38
void setUp()
Definition: test000104.cpp:31
CCopasiDataModel * pDataModel
Definition: test000104.h:40
CPPUNIT_TEST_SUITE(test000104)
void tearDown()
Definition: test000104.cpp:38
CPPUNIT_TEST_SUITE_END()