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
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4
5SHAPETESTSSOURCES = \
6 ../Shapes/unittests/BaseShapesUnitTest.cpp \
7 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
8 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
9 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \
10 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
11
12SHAPETESTSHEADERS= \
13 ../Shapes/unittests/BaseShapesUnitTest.hpp \
14 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
15 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
16 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \
17 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
18
19SHAPETESTS = \
20 BaseShapesUnitTest \
21 ShapeFactoryUnitTest \
22 ShapeOpsUnitTest \
23 ShapeRegistryUnitTest \
24 Shape_HomogeneousPointsUnitTest
25
26TESTS += $(SHAPETESTS)
27check_PROGRAMS += $(SHAPETESTS)
28noinst_PROGRAMS += $(SHAPETESTS)
29
30SHAPELIBS = \
31 ../libMolecuilderShapes.la \
32 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
33 ${CodePatterns_LIBS}
34# $(BOOST_LIB)
35
36BaseShapesUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
37 ../Shapes/unittests/BaseShapesUnitTest.cpp \
38 ../Shapes/unittests/BaseShapesUnitTest.hpp \
39 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
40 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
41nodist_BaseShapesUnitTest_SOURCES = \
42 ../Helpers/defs.hpp \
43 ../Helpers/defs.cpp
44BaseShapesUnitTest_LDADD = $(SHAPELIBS)
45
46ShapeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
47 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
48 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
49 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
50 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp \
51 ../Shapes/unittests/stubs/moleculeStub.cpp \
52 ../Shapes/unittests/stubs/WorldSelectedMoleculesStub.cpp
53nodist_ShapeFactoryUnitTest_SOURCES = \
54 ../Helpers/defs.hpp \
55 ../Helpers/defs.cpp \
56 ../Shapes/ShapeFactory.cpp \
57 ../Shapes/ShapeFactory.hpp
58ShapeFactoryUnitTest_LDADD = \
59 ../libMolecuilderElement.la \
60 $(SHAPELIBS)
61
62ShapeOpsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
63 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
64 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
65 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
66 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
67nodist_ShapeOpsUnitTest_SOURCES = \
68 ../Helpers/defs.hpp \
69 ../Helpers/defs.cpp
70ShapeOpsUnitTest_LDADD = $(SHAPELIBS)
71
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
82Shape_HomogeneousPointsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
83 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp \
84 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.hpp \
85 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
86 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
87nodist_Shape_HomogeneousPointsUnitTest_SOURCES = \
88 ../Helpers/defs.hpp \
89 ../Helpers/defs.cpp
90Shape_HomogeneousPointsUnitTest_LDADD = $(SHAPELIBS)
91
92
93#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.