Action_Thermostats
Add_SelectAtomByNameAction
Adding_Graph_to_ChangeBondActions
Adding_MD_integration_tests
Adding_StructOpt_integration_tests
AutomationFragmentation_failures
Candidate_v1.6.1
Candidate_v1.7.0
ChemicalSpaceEvaluator
EmpiricalPotential_contain_HomologyGraph_documentation
Enhance_userguide
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Example_ManyWaysToTranslateAtom
Exclude_Hydrogens_annealWithBondGraph
Fix_Verbose_Codepatterns
ForceAnnealing_oldresults
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_continued
ForceAnnealing_with_BondGraph_continued_betteresults
ForceAnnealing_with_BondGraph_contraction-expansion
Gui_displays_atomic_force_velocity
IndependentFragmentGrids_IntegrationTest
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
PythonUI_with_named_parameters
QtGui_reactivate_TimeChanged_changes
Recreated_GuiChecks
StoppableMakroAction
TremoloParser_IncreasedPrecision
TremoloParser_MultipleTimesteps
stable
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * GraveyardUnitTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Sep 05, 2013
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef OBSERVERTEST_HPP_
|
|---|
| 9 | #define OBSERVERTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 17 |
|
|---|
| 18 | // forward declaration for test stubs
|
|---|
| 19 | class Graveyard;
|
|---|
| 20 | class UpdateCountObserver;
|
|---|
| 21 |
|
|---|
| 22 | class GraveyardUnitTest : public CppUnit::TestFixture
|
|---|
| 23 | {
|
|---|
| 24 | CPPUNIT_TEST_SUITE( GraveyardUnitTest ) ;
|
|---|
| 25 | CPPUNIT_TEST ( Zombie_soloTest );
|
|---|
| 26 | CPPUNIT_TEST ( Zombie_oneTest );
|
|---|
| 27 | CPPUNIT_TEST ( Zombie_manyTest );
|
|---|
| 28 | CPPUNIT_TEST ( Zombie_notificationsTest );
|
|---|
| 29 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 30 |
|
|---|
| 31 | public:
|
|---|
| 32 | void setUp();
|
|---|
| 33 | void tearDown();
|
|---|
| 34 |
|
|---|
| 35 | void Zombie_soloTest();
|
|---|
| 36 | void Zombie_oneTest();
|
|---|
| 37 | void Zombie_manyTest();
|
|---|
| 38 | void Zombie_notificationsTest();
|
|---|
| 39 |
|
|---|
| 40 | private:
|
|---|
| 41 | Graveyard *graveyard;
|
|---|
| 42 |
|
|---|
| 43 | UpdateCountObserver *observer1;
|
|---|
| 44 | UpdateCountObserver *observer2;
|
|---|
| 45 | UpdateCountObserver *observer3;
|
|---|
| 46 | UpdateCountObserver *observer4;
|
|---|
| 47 | };
|
|---|
| 48 |
|
|---|
| 49 | #endif /* OBSERVERTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.