Ignore:
Timestamp:
Oct 30, 2009, 8:29:31 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
5f697c
Parents:
92fc40
Message:

Test code is moved to its own source subdirectory: test.

  • ActOnAll.hpp was just a template test for the molecule::ActOnAll...() member functions, as the code is still fine and a Unit test depends on it, we keep it, but in a special subdirectory.
Location:
molecuilder/src/unittests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/ActOnAllUnitTest.cpp

    r92fc40 rbc8155  
    1212#include <cppunit/ui/text/TestRunner.h>
    1313
    14 #include "ActOnAlltest.hpp"
     14#include "../test/ActOnAlltest.hpp"
    1515#include "ActOnAllUnitTest.hpp"
    1616#include "memoryallocator.hpp"
  • molecuilder/src/unittests/ActOnAllUnitTest.hpp

    r92fc40 rbc8155  
    1111#include <cppunit/extensions/HelperMacros.h>
    1212
    13 #include "ActOnAlltest.hpp"
     13#include "../test/ActOnAlltest.hpp"
    1414
    1515/********************************************** Test classes **************************************/
  • molecuilder/src/unittests/Makefile.am

    r92fc40 rbc8155  
    44AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
    55
    6 TESTS = ActOnAllUnitTest AnalysisCorrelationToPointUnitTest AnalysisCorrelationToSurfaceUnitTest AnalysisPairCorrelationUnitTest ListOfBondsUnitTest MemoryUsageObserverUnitTest MemoryAllocatorUnitTest StackClassUnitTest VectorUnitTest
     6TESTS = ActOnAllUnitTest AnalysisCorrelationToPointUnitTest AnalysisCorrelationToSurfaceUnitTest AnalysisPairCorrelationUnitTest BondGraphUnitTest ListOfBondsUnitTest MemoryUsageObserverUnitTest MemoryAllocatorUnitTest StackClassUnitTest VectorUnitTest
    77check_PROGRAMS = $(TESTS)
    88noinst_PROGRAMS = $(TESTS)
    99
    10 ActOnAllUnitTest_SOURCES = ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp memoryallocator.hpp
     10ActOnAllUnitTest_SOURCES = ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp memoryallocator.hpp
    1111ActOnAllUnitTest_LDADD = ../libmolecuilder.a
    1212
     
    1919AnalysisPairCorrelationUnitTest_SOURCES = analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
    2020AnalysisPairCorrelationUnitTest_LDADD = ../libmolecuilder.a
     21
     22BondGraphUnitTest_SOURCES = ../bondgraph.cpp ../bondgraph.hpp bondgraphunittest.cpp bondgraphunittest.hpp
     23BondGraphUnitTest_LDADD = ../libmolecuilder.a
    2124
    2225ListOfBondsUnitTest_SOURCES = listofbondsunittest.cpp listofbondsunittest.hpp
Note: See TracChangeset for help on using the changeset viewer.