Changeset 6e5b8d for src/Graph


Ignore:
Timestamp:
Jul 12, 2017, 7:10:31 PM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Adding_Graph_to_ChangeBondActions, 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:
1356af
Parents:
bccbe9
git-author:
Frederik Heber <frederik.heber@…> (05/19/17 09:23:45)
git-committer:
Frederik Heber <frederik.heber@…> (07/12/17 19:10:31)
Message:

Added BreadthFirstSearchGathererUnitTest.

Location:
src/Graph
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/BoostGraphCreator.hpp

    rbccbe9 r6e5b8d  
    2727class molecule;
    2828
     29class BreadthFirstSearchGathererTest;
     30
    2931/** This is a helper class that contains functions to create a boost::graph
    3032 * from the present bond graph of molecules.
     
    3234struct BoostGraphCreator
    3335{
     36  //!> grant unit test access to private parts that use BoostGraphCreator's internal graph
     37  friend class BreadthFirstSearchGathererTest;
     38
    3439public:
    3540  //!> typedef for an undirected graph using boost::graph
  • src/Graph/unittests/Makefile.am

    rbccbe9 r6e5b8d  
    44GRAPHTESTSSOURCES = \
    55        ../Graph/unittests/AdjacencyListUnitTest.cpp \
    6         ../Graph/unittests/BondGraphUnitTest.cpp
     6        ../Graph/unittests/BondGraphUnitTest.cpp \
     7        ../Graph/unittests/BreadthFirstSearchGathererUnitTest.cpp
    78
    89GRAPHTESTSHEADERS = \
    910        ../Graph/unittests/AdjacencyListUnitTest.hpp \
    10         ../Graph/unittests/BondGraphUnitTest.hpp
     11        ../Graph/unittests/BondGraphUnitTest.hpp \
     12        ../Graph/unittests/BreadthFirstSearchGathererUnitTest.hpp
    1113
    1214GRAPHTESTS = \
    1315        AdjacencyListUnitTest \
    14         BondGraphUnitTest
    15 
     16        BondGraphUnitTest \
     17        BreadthFirstSearchGathererUnitTest
    1618
    1719TESTS += $(GRAPHTESTS)
     
    2123GRAPHLIBS = \
    2224        libUnitTest.la \
     25        ../libMolecuilderGraph.la \
    2326        ../libMolecuilder.la \
    24         ../libMolecuilderUI.la \
    25         ../libMolecuilderGraph.la
     27        ../libMolecuilderUI.la
    2628if CONDJOBMARKET
    2729GRAPHLIBS += \
     
    4547BondGraphUnitTest_LDADD = ${GRAPHLIBS}
    4648
     49BreadthFirstSearchGathererUnitTest_SOURCES = \
     50        ../Graph/unittests/BreadthFirstSearchGathererUnitTest.cpp \
     51        ../Graph/unittests/BreadthFirstSearchGathererUnitTest.hpp
     52BreadthFirstSearchGathererUnitTest_LDADD = ${GRAPHLIBS}
    4753
    4854
Note: See TracChangeset for help on using the changeset viewer.