source: src/Shapes/unittests/Makefile.am@ 97dff0

Last change on this file since 97dff0 was 87ec81, checked in by Frederik Heber <heber@…>, 12 years ago

ShapeFactory removed from libMolecuilderShapes.

  • Factory is right now required only in CombineShapesAction and CreateShapeAction. Hence, it is moved over to libMolecuilder to keep ..Shapes a low-dependency lib.
  • ShapeRegistry::getDefaultNameForShape() now gets just string, ShapeFactory is queried in Actions for getShapeName() as baseName.
  • added stubs for World and molecule to ShapeFactoryUnitTest deps.
  • Property mode set to 100644
File size: 3.3 KB
RevLine 
[0b3cbdf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4
[455573]5SHAPETESTSSOURCES = \
[84721b]6 ../Shapes/unittests/BaseShapesUnitTest.cpp \
[a367b8]7 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
[5a8d61]8 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
[d8421f]9 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \
[5a8d61]10 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
[0b3cbdf]11
[455573]12SHAPETESTSHEADERS= \
[84721b]13 ../Shapes/unittests/BaseShapesUnitTest.hpp \
[a367b8]14 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
[5a8d61]15 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
[d8421f]16 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \
[5a8d61]17 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
[455573]18
19SHAPETESTS = \
[84721b]20 BaseShapesUnitTest \
[a367b8]21 ShapeFactoryUnitTest \
[5a8d61]22 ShapeOpsUnitTest \
[d8421f]23 ShapeRegistryUnitTest \
[5a8d61]24 Shape_HomogeneousPointsUnitTest
[0b3cbdf]25
[455573]26TESTS += $(SHAPETESTS)
27check_PROGRAMS += $(SHAPETESTS)
28noinst_PROGRAMS += $(SHAPETESTS)
[0b3cbdf]29
30SHAPELIBS = \
[455573]31 ../libMolecuilderShapes.la \
[bf4b9f]32 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
[79de12]33 ${CodePatterns_LIBS}
34# $(BOOST_LIB)
[0b3cbdf]35
[571d04]36BaseShapesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
37 ../Shapes/unittests/BaseShapesUnitTest.cpp \
[da1e92]38 ../Shapes/unittests/BaseShapesUnitTest.hpp \
39 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
40 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[571d04]41nodist_BaseShapesUnitTest_SOURCES = \
[455573]42 ../Helpers/defs.hpp \
43 ../Helpers/defs.cpp
[571d04]44BaseShapesUnitTest_LDADD = $(SHAPELIBS)
[0b3cbdf]45
[a367b8]46ShapeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
47 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
48 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
49 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
[87ec81]50 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp \
51 ../Shapes/unittests/stubs/moleculeStub.cpp \
52 ../Shapes/unittests/stubs/WorldSelectedMoleculesStub.cpp
[a367b8]53nodist_ShapeFactoryUnitTest_SOURCES = \
54 ../Helpers/defs.hpp \
[87ec81]55 ../Helpers/defs.cpp \
56 ../Shapes/ShapeFactory.cpp \
57 ../Shapes/ShapeFactory.hpp
58ShapeFactoryUnitTest_LDADD = \
59 ../libMolecuilderElement.la \
60 $(SHAPELIBS)
[a367b8]61
[84721b]62ShapeOpsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
63 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
[da1e92]64 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
65 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
66 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[84721b]67nodist_ShapeOpsUnitTest_SOURCES = \
68 ../Helpers/defs.hpp \
69 ../Helpers/defs.cpp
70ShapeOpsUnitTest_LDADD = $(SHAPELIBS)
71
[d8421f]72ShapeRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
73 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \
74 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \
75 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
76 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
77nodist_ShapeRegistryUnitTest_SOURCES = \
78 ../Helpers/defs.hpp \
79 ../Helpers/defs.cpp
80ShapeRegistryUnitTest_LDADD = $(SHAPELIBS)
81
[5a8d61]82Shape_HomogeneousPointsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
83 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp \
[c48641]84 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.hpp \
85 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
86 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[5a8d61]87nodist_Shape_HomogeneousPointsUnitTest_SOURCES = \
88 ../Helpers/defs.hpp \
89 ../Helpers/defs.cpp
90Shape_HomogeneousPointsUnitTest_LDADD = $(SHAPELIBS)
91
[0b3cbdf]92
93#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.