COPASI API
4.16.103
|
#include <test000094.h>
Public Member Functions | |
void | setUp () |
void | tearDown () |
void | test_notrequired_package () |
void | test_required_package () |
Static Protected Attributes | |
static const char * | MODEL_STRING1 |
static const char * | MODEL_STRING2 |
static CCopasiDataModel * | pCOPASIDATAMODEL = NULL |
Private Member Functions | |
CPPUNIT_TEST (test_required_package) | |
CPPUNIT_TEST (test_notrequired_package) | |
CPPUNIT_TEST_SUITE (test000094) | |
CPPUNIT_TEST_SUITE_END () | |
Definition at line 26 of file test000094.h.
|
private |
|
private |
|
private |
|
private |
void test000094::setUp | ( | ) |
Definition at line 32 of file test000094.cpp.
References CCopasiRootContainer::addDatamodel(), CCopasiRootContainer::init(), and pCOPASIDATAMODEL.
void test000094::tearDown | ( | ) |
void test000094::test_notrequired_package | ( | ) |
Definition at line 64 of file test000094.cpp.
References CCopasiDataModel::getCurrentSBMLDocument(), CCopasiDataModel::getModel(), CCopasiDataModel::importSBMLFromString(), MODEL_STRING2, and pCOPASIDATAMODEL.
void test000094::test_required_package | ( | ) |
Definition at line 45 of file test000094.cpp.
References CCopasiDataModel::importSBMLFromString(), MODEL_STRING1, and pCOPASIDATAMODEL.
|
staticprotected |
This model contains a required package which COPASI does not understand, so we refuse to load the model.
Definition at line 34 of file test000094.h.
Referenced by test_required_package().
|
staticprotected |
This model contains a package that is not required, so COPASI should just ignore it and load the model.
Definition at line 35 of file test000094.h.
Referenced by test_notrequired_package().
|
staticprotected |
Definition at line 36 of file test000094.h.
Referenced by setUp(), test_notrequired_package(), and test_required_package().