Changeset d86d97 for tests/regression/DiffFragmentResultContainer.cpp
- Timestamp:
- Jul 12, 2017, 7:12:47 PM (8 years ago)
- Branches:
- Action_Thermostats, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, Fix_Verbose_Codepatterns, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision
- Children:
- 6c2ae0, 780f25
- Parents:
- 9a1e099
- git-author:
- Frederik Heber <frederik.heber@…> (07/12/17 15:08:55)
- git-committer:
- Frederik Heber <frederik.heber@…> (07/12/17 19:12:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/regression/DiffFragmentResultContainer.cpp
r9a1e099 rd86d97 76 76 } 77 77 78 FragmentationResultContainer &results = FragmentationResultContainer::getInstance(); 78 79 // deserialize and compare 79 80 // Note that because FragmentationResultContainer is a singleton, we cannot … … 83 84 std::stringstream outfile1; 84 85 std::stringstream outfile2; 85 FragmentationResultContainer::purgeInstance();86 results.clear(); 86 87 { 87 88 std::ifstream infile(filenames[0].string().c_str()); 88 FragmentationResultContainer &results = FragmentationResultContainer::getInstance();89 89 boost::archive::text_iarchive ia(infile); 90 90 boost::archive::text_oarchive oa(outfile1); … … 92 92 oa << results; 93 93 } 94 FragmentationResultContainer::purgeInstance();94 results.clear(); 95 95 { 96 96 std::ifstream infile(filenames[1].string().c_str()); 97 FragmentationResultContainer &results = FragmentationResultContainer::getInstance();98 97 boost::archive::text_iarchive ia(infile); 99 98 boost::archive::text_oarchive oa(outfile2);
Note:
See TracChangeset
for help on using the changeset viewer.