Ignore:
Timestamp:
Oct 10, 2011, 4:58:17 PM (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:
f08ae7
Parents:
aa8cc2
git-author:
Frederik Heber <heber@…> (09/05/11 17:25:14)
git-committer:
Frederik Heber <heber@…> (10/10/11 16:58:17)
Message:

Added Undo/Redo capability to LoadAction.

  • Added cloning of FormatParser_Parameters before the file is loaded such that FormatParser (here only MpqcParser) is returned to original state.
  • Additionally, we just store molecule's id and the file's prefix and suffix in the undo state.
  • TESTCHANGE: Removed XFAIL's from all Parser load's Undo/Redo tests.
Location:
tests/regression/Parser
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Parser/Mpqc/testsuite-parser-mpqc-load.at

    raa8cc2 r78d5b2  
    2424
    2525AT_SETUP([Parser - loading mpqc file with Undo])
    26 AT_XFAIL_IF([/bin/true])
    2726AT_KEYWORDS([parser load mpqc undo])
    2827
     
    4746
    4847AT_SETUP([Parser - loading mpqc file with Redo])
    49 AT_XFAIL_IF([/bin/true])
    5048AT_KEYWORDS([parser load mpqc redo])
    5149
  • tests/regression/Parser/Pcp/testsuite-parser-pcp-load.at

    raa8cc2 r78d5b2  
    1111
    1212AT_SETUP([Parser - loading conf file with Undo])
    13 AT_XFAIL_IF([/bin/true])
    1413AT_KEYWORDS([parser load pcp undo])
    1514
     
    2120
    2221AT_SETUP([Parser - loading conf file with Redo])
    23 AT_XFAIL_IF([/bin/true])
    2422AT_KEYWORDS([parser load pcp redo])
    2523
  • tests/regression/Parser/Pcp/testsuite-parser-pcp-multiple-timesteps.at

    raa8cc2 r78d5b2  
    1111
    1212AT_SETUP([Parser - loading conf with multiple time steps with Undo])
    13 AT_XFAIL_IF([/bin/true])
    1413AT_KEYWORDS([parser load pcp timesteps undo])
    1514
     
    2120
    2221AT_SETUP([Parser - loading conf with multiple time steps with Redo])
    23 AT_XFAIL_IF([/bin/true])
    2422AT_KEYWORDS([parser load pcp timesteps redo])
    2523
  • tests/regression/Parser/Pdb/testsuite-parser-pdb-load.at

    raa8cc2 r78d5b2  
    1111
    1212AT_SETUP([Parser - loading pdb file with Undo])
    13 AT_XFAIL_IF([/bin/true])
    1413AT_KEYWORDS([parser load pdb undo])
    1514
     
    2120
    2221AT_SETUP([Parser - loading pdb file with Redo])
    23 AT_XFAIL_IF([/bin/true])
    2422AT_KEYWORDS([parser load pdb redo])
    2523
  • tests/regression/Parser/Pdb/testsuite-parser-pdb-multiple-timesteps.at

    raa8cc2 r78d5b2  
    1313
    1414AT_SETUP([Parser - loading pdb file with multiple time steps with Undo])
    15 AT_XFAIL_IF([/bin/true])
    1615AT_KEYWORDS([parser load pdb timesteps undo])
    1716
     
    2524
    2625AT_SETUP([Parser - loading pdb file with multiple time steps with Redo])
    27 AT_XFAIL_IF([/bin/true])
    2826AT_KEYWORDS([parser load pdb timesteps redo])
    2927
  • tests/regression/Parser/Pdb/testsuite-parser-pdb-with-conects.at

    raa8cc2 r78d5b2  
    1111
    1212AT_SETUP([Parser - loading pdb file with CONECTs with Undo])
    13 AT_XFAIL_IF([/bin/true])
    1413AT_KEYWORDS([parser load pdb conect undo])
    1514
    1615AT_CHECK([../../molecuilder -i test_conect.pdb -o pdb -l ${abs_top_srcdir}/tests/regression/Parser/Pdb/pre/test_conect.pdb --undo], 0, [ignore], [ignore])
    17 AT_CHECK([file=test_conect.pdb; diff -w -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Parser/Pdb/post/test_conect.pdb], 0, [ignore], [ignore])
     16AT_CHECK([file=test_conect.pdb; diff -w -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Parser/Pdb/post/empty.pdb], 0, [ignore], [ignore])
    1817
    1918AT_CLEANUP
     
    2120
    2221AT_SETUP([Parser - loading pdb file with CONECTs with Redo])
    23 AT_XFAIL_IF([/bin/true])
    2422AT_KEYWORDS([parser load pdb conect redo])
    2523
  • tests/regression/Parser/Tremolo/testsuite-parser-tremolo-load.at

    raa8cc2 r78d5b2  
    1313
    1414AT_SETUP([Parser - loading tremolo file with Undo])
    15 AT_XFAIL_IF([/bin/true])
    1615AT_KEYWORDS([parser load tremolo undo])
    1716
     
    2423
    2524AT_SETUP([Parser - loading tremolo file with Redo])
    26 AT_XFAIL_IF([/bin/true])
    2725AT_KEYWORDS([parser load tremolo redo])
    2826
  • tests/regression/Parser/Xyz/testsuite-parser-xyz-load.at

    raa8cc2 r78d5b2  
    1212
    1313AT_SETUP([Parser - loading xyz file with Undo])
    14 AT_XFAIL_IF([/bin/true])
    1514AT_KEYWORDS([parser load xyz undo])
    1615
     
    2322
    2423AT_SETUP([Parser - loading xyz file with Redo])
    25 AT_XFAIL_IF([/bin/true])
    2624AT_KEYWORDS([parser load xyz redo])
    2725
  • tests/regression/Parser/Xyz/testsuite-parser-xyz-multiple-timesteps.at

    raa8cc2 r78d5b2  
    1212
    1313AT_SETUP([Parser - loading xyz file with multiple time steps with Undo])
    14 AT_XFAIL_IF([/bin/true])
    1514AT_KEYWORDS([parser load xyz timesteps undo])
    1615
     
    2322
    2423AT_SETUP([Parser - loading xyz file with multiple time steps with Redo])
    25 AT_XFAIL_IF([/bin/true])
    2624AT_KEYWORDS([parser load xyz timesteps redo])
    2725
Note: See TracChangeset for help on using the changeset viewer.