Adding_MD_integration_tests
Adding_StructOpt_integration_tests
AutomationFragmentation_failures
Candidate_v1.6.1
ChemicalSpaceEvaluator
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Exclude_Hydrogens_annealWithBondGraph
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_contraction-expansion
Gui_displays_atomic_force_velocity
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
PythonUI_with_named_parameters
StoppableMakroAction
TremoloParser_IncreasedPrecision
Rev | Line | |
---|
[404d2b] | 1 | /*
|
---|
| 2 | * SystemCommandJobUnitTest.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Oct 23, 2011
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef SYSTEMCOMMANDJOBUNITTEST_HPP_
|
---|
| 9 | #define SYSTEMCOMMANDJOBUNITTEST_HPP_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | #include <string>
|
---|
| 17 |
|
---|
| 18 | #include <cppunit/extensions/HelperMacros.h>
|
---|
| 19 |
|
---|
| 20 | /********************************************** Test classes **************************************/
|
---|
| 21 |
|
---|
| 22 | class SystemCommandJobTest : public CppUnit::TestFixture
|
---|
| 23 | {
|
---|
| 24 | CPPUNIT_TEST_SUITE( SystemCommandJobTest) ;
|
---|
| 25 | CPPUNIT_TEST ( equalityTest );
|
---|
| 26 | CPPUNIT_TEST ( serializationTest );
|
---|
| 27 | CPPUNIT_TEST ( WorkTest );
|
---|
| 28 | CPPUNIT_TEST ( extractStringTest );
|
---|
| 29 | CPPUNIT_TEST_SUITE_END();
|
---|
| 30 |
|
---|
| 31 | public:
|
---|
| 32 | void setUp();
|
---|
| 33 | void tearDown();
|
---|
| 34 | void equalityTest();
|
---|
| 35 | void serializationTest();
|
---|
| 36 | void WorkTest();
|
---|
| 37 | void extractStringTest();
|
---|
| 38 |
|
---|
| 39 | private:
|
---|
| 40 | std::string command;
|
---|
| 41 | std::string outputfile;
|
---|
| 42 |
|
---|
| 43 | };
|
---|
| 44 |
|
---|
| 45 | #endif /* SYSTEMCOMMANDJOBUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.