- Timestamp:
- Sep 30, 2011, 8:19:37 AM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- aba610
- Parents:
- fec381
- git-author:
- Frederik Heber <heber@…> (09/29/11 07:44:37)
- git-committer:
- Frederik Heber <heber@…> (09/30/11 08:19:37)
- Location:
- src/UIElements/CommandLineUI
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineParser.hpp
rfec381 r552597 25 25 26 26 class Action; 27 class CommandLineParser_ActionRegistry_Consisten yTest;27 class CommandLineParser_ActionRegistry_ConsistencyTest; 28 28 class OptionTrait; 29 29 … … 102 102 103 103 //!> test needs to access CmdParserLookup to see whether menus are missing 104 friend class CommandLineParser_ActionRegistry_Consisten yTest;104 friend class CommandLineParser_ActionRegistry_ConsistencyTest; 105 105 public: 106 106 -
src/UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp
rfec381 r552597 7 7 8 8 /* 9 * CommandLineParser_ActionRegistry_Consisten yUnitTest.cpp9 * CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp 10 10 * 11 11 * Created on: Nov 25, 2009 … … 29 29 #include "UIElements/CommandLineUI/CommandLineParser.hpp" 30 30 31 #include "CommandLineParser_ActionRegistry_Consisten yUnitTest.hpp"31 #include "CommandLineParser_ActionRegistry_ConsistencyUnitTest.hpp" 32 32 33 33 #ifdef HAVE_TESTRUNNER … … 38 38 39 39 // Registers the fixture into the 'registry' 40 CPPUNIT_TEST_SUITE_REGISTRATION( CommandLineParser_ActionRegistry_Consisten yTest );40 CPPUNIT_TEST_SUITE_REGISTRATION( CommandLineParser_ActionRegistry_ConsistencyTest ); 41 41 42 42 43 void CommandLineParser_ActionRegistry_Consisten yTest::setUp()43 void CommandLineParser_ActionRegistry_ConsistencyTest::setUp() 44 44 { 45 45 AR = ActionRegistry::getPointer(); … … 48 48 49 49 50 void CommandLineParser_ActionRegistry_Consisten yTest::tearDown()50 void CommandLineParser_ActionRegistry_ConsistencyTest::tearDown() 51 51 { 52 52 CommandLineParser::purgeInstance(); … … 60 60 * there might be more program_options maps). 61 61 */ 62 void CommandLineParser_ActionRegistry_Consisten yTest::ConsistencyCheck()62 void CommandLineParser_ActionRegistry_ConsistencyTest::ConsistencyCheck() 63 63 { 64 64 std::set <std::string> MenuNames_from_CommandLineParser; -
src/UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.hpp
rfec381 r552597 1 1 /* 2 * CommandLineParser_ActionRegistry_Consisten yUnitTest.cpp.hpp2 * CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp.hpp 3 3 * 4 4 * Created on: Nov 25, 2009 … … 23 23 /********************************************** Test classes **************************************/ 24 24 25 class CommandLineParser_ActionRegistry_Consisten yTest : public CppUnit::TestFixture25 class CommandLineParser_ActionRegistry_ConsistencyTest : public CppUnit::TestFixture 26 26 { 27 CPPUNIT_TEST_SUITE( CommandLineParser_ActionRegistry_Consisten yTest) ;27 CPPUNIT_TEST_SUITE( CommandLineParser_ActionRegistry_ConsistencyTest) ; 28 28 CPPUNIT_TEST ( ConsistencyCheck ); 29 29 CPPUNIT_TEST_SUITE_END(); -
src/UIElements/CommandLineUI/unittests/Makefile.am
rfec381 r552597 3 3 4 4 UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES = \ 5 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_Consisten yUnitTest.cpp5 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp 6 6 7 7 UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS = \ 8 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_Consisten yUnitTest.hpp8 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.hpp 9 9 10 10 UIELEMENTSCOMMANDLINEPARSERTESTS = \ … … 16 16 17 17 CommandLineParser_ActionRegistry_ConsistencyUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 18 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_Consisten yUnitTest.cpp \19 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_Consisten yUnitTest.hpp18 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp \ 19 ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistencyUnitTest.hpp 20 20 CommandLineParser_ActionRegistry_ConsistencyUnitTest_LDADD = \ 21 21 ../libMolecuilderUI.la \
Note:
See TracChangeset
for help on using the changeset viewer.