COPASI API  4.16.103
test000097.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000097.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/04/26 16:10:39 $
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_000097_H__
15 #define TEST_000097_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  * Tests for dealing with render information
24  */
25 
26 class CCopasiDataModel;
27 
28 class test000097 : public CppUnit::TestFixture
29 {
48 
49 protected:
50  // SBML model with local render information
51  static const char* SBML_MODEL_1;
52  // SBML model with global render information
53  static const char* SBML_MODEL_2;
54  // COPASI model with local render information
55  static const char* CPS_MODEL_1;
56  // COPASI model with global render information
57  static const char* CPS_MODEL_2;
58 
60 
61  // method the create a model with a single compartment
62  // and a small layout
63  void createModel();
64 
65  // method to add a local render information object
66  // to the given model
68 
69  // method to add a global render information object
70  // to the given model
72 
73 public:
74  void setUp();
75 
76  void tearDown();
77 
78  // tests whether we are importing local render information
80 
81  // tests whether we are importing global render information
83 
84  // tests whether we are exporting local render information
86 
87  // tests whether we are exporting global render information
89 
90  // tests whether we are exporting local render information
91  // that has been read
93 
94  // tests whether we are exporting global render information
95  // that has been read
97 
98  // tests whether we are exporting local render information
99  // that has been import
101 
102  // tests whether we are exporting global render information
103  // that has been import
105 
106  // tests whether we are saving local render information
108 
109  // tests whether we are saving global render information
111 
112  // test whether we are reading local render information
114 
115  // test whether we are reading global render information
117 
118  // test whether we are writing local render information
119  // that has been read
121 
122  // test whether we are writing global render information
123  // that has been read
125 
126  // test whether we are writing local render information
127  // that has been imported
129 
130  // test whether we are writing global render information
131  // that has been importer
133 };
134 
135 #endif /* TEST000097_H__ */
void addLocalRenderInformation()
Definition: test000097.cpp:714
void test_import_local_render_information()
Definition: test000097.cpp:59
void addGlobalRenderInformation()
Definition: test000097.cpp:737
void test_read_local_render_information()
Definition: test000097.cpp:629
void test_import_global_render_information()
Definition: test000097.cpp:76
void test_save_global_render_information()
Definition: test000097.cpp:526
void test_readexport_global_render_information()
CPPUNIT_TEST(test_import_local_render_information)
CPPUNIT_TEST_SUITE(test000097)
void test_importexport_global_render_information()
static const char * SBML_MODEL_1
Definition: test000097.h:51
void test_readwrite_global_render_information()
static const char * CPS_MODEL_2
Definition: test000097.h:57
void test_importexport_local_render_information()
void test_importwrite_global_render_information()
static const char * CPS_MODEL_1
Definition: test000097.h:55
void test_readwrite_local_render_information()
void test_importwrite_local_render_information()
void setUp()
Definition: test000097.cpp:45
void test_save_local_render_information()
Definition: test000097.cpp:416
void test_export_global_render_information()
Definition: test000097.cpp:255
CCopasiDataModel * pDataModel
Definition: test000097.h:59
void test_export_local_render_information()
Definition: test000097.cpp:94
void tearDown()
Definition: test000097.cpp:52
CPPUNIT_TEST_SUITE_END()
static const char * SBML_MODEL_2
Definition: test000097.h:53
void createModel()
Definition: test000097.cpp:663
void test_read_global_render_information()
Definition: test000097.cpp:645
void test_readexport_local_render_information()
Definition: test000097.cpp:918