Ignore:
Timestamp:
Jun 11, 2012, 9:53:20 AM (13 years ago)
Author:
Frederik Heber <heber@…>
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:
7b1a19
Parents:
d555b8
git-author:
Michael Ankele <ankele@…> (05/09/12 14:15:45)
git-committer:
Frederik Heber <heber@…> (06/11/12 09:53:20)
Message:
Ops_Validators: new operators (&&,
, !)
  • created a unittest for the new Validator operators
Location:
src/Parameters/unittests
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parameters/unittests/Makefile.am

    rd555b8 r33d0af  
    77        ../Parameters/unittests/ContinuousParameterTest.cpp \
    88        ../Parameters/unittests/DiscreteValueTest.cpp \
    9         ../Parameters/unittests/DiscreteParameterTest.cpp
     9        ../Parameters/unittests/DiscreteParameterTest.cpp \
     10        ../Parameters/unittests/Ops_ValidatorTest.cpp
    1011
    1112PARAMETERSTESTSHEADERS = \
     
    1314        ../Parameters/unittests/ContinuousParameterTest.hpp \
    1415        ../Parameters/unittests/DiscreteValueTest.hpp \
    15         ../Parameters/unittests/DiscreteParameterTest.hpp
     16        ../Parameters/unittests/DiscreteParameterTest.hpp \
     17        ../Parameters/unittests/Ops_ValidatorTest.hpp
    1618
    1719PARAMETERSTESTS = \
     
    1921        ContinuousParameterTest \
    2022        DiscreteValueTest \
    21         DiscreteParameterTest
     23        DiscreteParameterTest \
     24        Ops_ValidatorTest
    2225
    2326TESTS += $(PARAMETERSTESTS)
     
    3538        ../Parameters/Validators/DiscreteValidator_impl.hpp \
    3639        ../Parameters/Validators/DummyValidator.hpp \
     40        ../Parameters/Validators/Ops_Validator.hpp \
     41        ../Parameters/Validators/Ops_Validator_impl.hpp \
    3742        ../Parameters/Validators/RangeValidator.hpp \
    3843        ../Parameters/Validators/RangeValidator_impl.hpp \
     
    6065        ../Parameters/Validators/DiscreteValidator_impl.hpp \
    6166        ../Parameters/Validators/DummyValidator.hpp \
     67        ../Parameters/Validators/Ops_Validator.hpp \
     68        ../Parameters/Validators/Ops_Validator_impl.hpp \
    6269        ../Parameters/Validators/RangeValidator.hpp \
    6370        ../Parameters/Validators/RangeValidator_impl.hpp \
     
    7784        ../Parameters/Validators/DiscreteValidator_impl.hpp \
    7885        ../Parameters/Validators/DummyValidator.hpp \
     86        ../Parameters/Validators/Ops_Validator.hpp \
     87        ../Parameters/Validators/Ops_Validator_impl.hpp \
    7988        ../Parameters/Validators/RangeValidator.hpp \
    8089        ../Parameters/Validators/RangeValidator_impl.hpp \
     
    102111        ../Parameters/Validators/DiscreteValidator_impl.hpp \
    103112        ../Parameters/Validators/DummyValidator.hpp \
     113        ../Parameters/Validators/Ops_Validator.hpp \
     114        ../Parameters/Validators/Ops_Validator_impl.hpp \
    104115        ../Parameters/Validators/RangeValidator.hpp \
    105116        ../Parameters/Validators/RangeValidator_impl.hpp \
     
    112123        $(PARAMETERSLIBS) \
    113124        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
     125
     126Ops_ValidatorTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     127        ../Parameters/unittests/Ops_ValidatorTest.cpp \
     128        ../Parameters/unittests/Ops_ValidatorTest.hpp \
     129        ../Parameters/Validators/DiscreteValidator.hpp \
     130        ../Parameters/Validators/DiscreteValidator_impl.hpp \
     131        ../Parameters/Validators/DummyValidator.hpp \
     132        ../Parameters/Validators/Ops_Validator.hpp \
     133        ../Parameters/Validators/Ops_Validator_impl.hpp \
     134        ../Parameters/Validators/RangeValidator.hpp \
     135        ../Parameters/Validators/RangeValidator_impl.hpp \
     136        ../Parameters/Validators/Validator.hpp
     137Ops_ValidatorTest_LDADD = \
     138        $(PARAMETERSLIBS) \
     139        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
    114140 
    115141 
Note: See TracChangeset for help on using the changeset viewer.