Changeset 89235ea


Ignore:
Timestamp:
Jul 5, 2017, 7:42:40 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_oldresults, IndependentFragmentGrids_IntegrationTest
Children:
3dedfbd
Parents:
6e5907
git-author:
Frederik Heber <frederik.heber@…> (05/19/17 09:23:45)
git-committer:
Frederik Heber <frederik.heber@…> (07/05/17 19:42:40)
Message:

Added BreadthFirstSearchGathererUnitTest.

Location:
src/Graph
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/BoostGraphCreator.hpp

    r6e5907 r89235ea  
    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

    r6e5907 r89235ea  
    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.