COPASI API  4.16.103
test000082.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000082.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2009/05/08 15:56:28 $
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_000082_H__
15 #define TEST_000082_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 /**
23  * Test for event import/export and especially the handling of the
24  * delayAssignment flag and the corresponding flag in SBML.
25  */
26 
27 class CCopasiDataModel;
28 
29 class test000082 : public CppUnit::TestFixture
30 {
40 
48 
49 protected:
50  // models for import test
51 
52  // L2V1 model with event and delay
53  static const char* MODEL_STRING1;
54 
55  // L2V1 model with event and no delay
56  static const char* MODEL_STRING2;
57 
58  // L2V4 model with event and delayEvent unset
59  static const char* MODEL_STRING3;
60  // L2V4 model with event and delayEvent=true
61  static const char* MODEL_STRING4;
62  // L2V4 model with event and delayEvent=false
63  static const char* MODEL_STRING5;
64  // L2V4 model without delay and delayEvent unset
65  static const char* MODEL_STRING6;
66  // L2V4 model without delay and delayEvent=false
67  static const char* MODEL_STRING7;
68  // L2V4 model without delay and delayEvent=true
69  static const char* MODEL_STRING8;
70 
71  // models for export test
72 
73  // event with delayEvent=true
74  static const char* MODEL_STRING101;
75  // event with delayEvent=false
76  static const char* MODEL_STRING102;
77  // model without delay expression
78  static const char* MODEL_STRING103;
79 
81 
82 public:
83  void setUp();
84 
85  void tearDown();
86 
95 
102 };
103 
104 #endif /* TEST000082_H__ */
void test_import_delayAssignment_2()
Definition: test000082.cpp:201
void test_export_delayAssignment_1()
static const char * MODEL_STRING5
Definition: test000082.h:63
static const char * MODEL_STRING4
Definition: test000082.h:61
void test_import_delayAssignment_1()
Definition: test000082.cpp:64
static const char * MODEL_STRING103
Definition: test000082.h:78
void test_export_delayAssignment_6()
void test_import_delayAssignment_3()
Definition: test000082.cpp:327
void test_import_delayAssignment_6()
Definition: test000082.cpp:738
CPPUNIT_TEST_SUITE(test000082)
static const char * MODEL_STRING1
Definition: test000082.h:53
CPPUNIT_TEST_SUITE_END()
void test_import_delayAssignment_7()
Definition: test000082.cpp:864
CPPUNIT_TEST(test_import_delayAssignment_1)
void test_import_delayAssignment_8()
Definition: test000082.cpp:990
void test_export_delayAssignment_3()
static const char * MODEL_STRING3
Definition: test000082.h:59
static const char * MODEL_STRING6
Definition: test000082.h:65
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000082.h:80
void setUp()
Definition: test000082.cpp:51
static const char * MODEL_STRING101
Definition: test000082.h:74
void test_export_delayAssignment_2()
void test_import_delayAssignment_4()
Definition: test000082.cpp:464
static const char * MODEL_STRING2
Definition: test000082.h:56
static const char * MODEL_STRING102
Definition: test000082.h:76
static const char * MODEL_STRING7
Definition: test000082.h:67
static const char * MODEL_STRING8
Definition: test000082.h:69
void test_export_delayAssignment_4()
void test_export_delayAssignment_5()
void tearDown()
Definition: test000082.cpp:59
void test_import_delayAssignment_5()
Definition: test000082.cpp:601