Changeset 2ed1a0 for src/Patterns/unittests
- Timestamp:
- Apr 6, 2011, 4:05:13 PM (15 years ago)
- Children:
- 17eaa5
- Parents:
- a0ddcf
- git-author:
- Frederik Heber <heber@…> (04/06/11 15:33:06)
- git-committer:
- Frederik Heber <heber@…> (04/06/11 16:05:13)
- File:
-
- 1 edited
-
src/Patterns/unittests/Makefile.am (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/unittests/Makefile.am
ra0ddcf r2ed1a0 2 2 # Also indentation by a single tab 3 3 4 INCLUDES = -I$(top_srcdir)/src/Patterns -I$(top_srcdir)/src/Helpers 4 # NOTE that all paths are relative to ./src (because we get included there!) 5 5 6 AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_THREAD_LDFLAGS) 7 AM_CXXFLAGS = $(CPPUNIT_CFLAGS) 8 AM_CPPFLAGS = ${BOOST_CPPFLAGS} 9 10 TESTS = \ 6 TESTS += \ 11 7 CacheableUnitTest \ 12 8 CloneUnitTest \ … … 22 18 23 19 24 check_PROGRAMS = $(TESTS)25 noinst_PROGRAMS = $(TESTS)20 check_PROGRAMS += $(TESTS) 21 noinst_PROGRAMS += $(TESTS) 26 22 27 23 TESTLIBS = \ 28 ../../libCodePatterns-debug.la \24 libCodePatterns-debug.la \ 29 25 $(BOOST_THREAD_LIBS) 30 26 31 CacheableUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \32 CacheableUnitTest.cpp \33 CacheableUnitTest.hpp27 CacheableUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 28 Patterns/unittests/CacheableUnitTest.cpp \ 29 Patterns/unittests/CacheableUnitTest.hpp 34 30 nodist_CacheableUnitTest_SOURCES = \ 35 ../Cachable.hpp \36 ../Observer.hpp \37 ../ObserverIterator.hpp31 Patterns/Cachable.hpp \ 32 Patterns/Observer.hpp \ 33 Patterns/ObserverIterator.hpp 38 34 CacheableUnitTest_LDADD = $(TESTLIBS) 39 35 40 CloneUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \41 CloneUnitTest.cpp \42 CloneUnitTest.hpp \43 stubs/CommonStub.cpp \44 stubs/CommonStub.hpp \45 stubs/CloneStub.cpp \46 stubs/CloneStub.hpp36 CloneUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 37 Patterns/unittests/CloneUnitTest.cpp \ 38 Patterns/unittests/CloneUnitTest.hpp \ 39 Patterns/unittests/stubs/CommonStub.cpp \ 40 Patterns/unittests/stubs/CommonStub.hpp \ 41 Patterns/unittests/stubs/CloneStub.cpp \ 42 Patterns/unittests/stubs/CloneStub.hpp 47 43 nodist_CloneUnitTest_SOURCES = \ 48 ../Clone.hpp44 Patterns/Clone.hpp 49 45 CloneUnitTest_LDADD = $(TESTLIBS) 50 46 51 CreatorUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \52 CreatorUnitTest.cpp \53 CreatorUnitTest.hpp \54 stubs/CommonStub.cpp \55 stubs/CommonStub.hpp \56 stubs/CreatorStub.hpp47 CreatorUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 48 Patterns/unittests/CreatorUnitTest.cpp \ 49 Patterns/unittests/CreatorUnitTest.hpp \ 50 Patterns/unittests/stubs/CommonStub.cpp \ 51 Patterns/unittests/stubs/CommonStub.hpp \ 52 Patterns/unittests/stubs/CreatorStub.hpp 57 53 nodist_CreatorUnitTest_SOURCES = \ 58 ../Creator.hpp54 Patterns/Creator.hpp 59 55 CreatorUnitTest_LDADD = $(TESTLIBS) 60 56 61 FactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \62 FactoryUnitTest.cpp \63 FactoryUnitTest.hpp \64 stubs/CommonStub.cpp \65 stubs/CommonStub.hpp \66 stubs/CreatorStub.hpp \67 stubs/FactoryStub.hpp \68 stubs/FactoryStub.cpp57 FactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 58 Patterns/unittests/FactoryUnitTest.cpp \ 59 Patterns/unittests/FactoryUnitTest.hpp \ 60 Patterns/unittests/stubs/CommonStub.cpp \ 61 Patterns/unittests/stubs/CommonStub.hpp \ 62 Patterns/unittests/stubs/CreatorStub.hpp \ 63 Patterns/unittests/stubs/FactoryStub.hpp \ 64 Patterns/unittests/stubs/FactoryStub.cpp 69 65 nodist_FactoryUnitTest_SOURCES = \ 70 ../Factory.hpp \71 ../FactoryTypeList.hpp \72 ../Factory_impl.hpp66 Patterns/Factory.hpp \ 67 Patterns/FactoryTypeList.hpp \ 68 Patterns/Factory_impl.hpp 73 69 FactoryUnitTest_LDADD = $(TESTLIBS) 74 70 75 ManipulableCloneUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \76 ManipulableCloneUnitTest.cpp \77 ManipulableCloneUnitTest.hpp \78 stubs/CommonStub.cpp \79 stubs/CommonStub.hpp \80 stubs/ManipulableCloneStub.cpp \81 stubs/ManipulableCloneStub.hpp71 ManipulableCloneUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 72 Patterns/unittests/ManipulableCloneUnitTest.cpp \ 73 Patterns/unittests/ManipulableCloneUnitTest.hpp \ 74 Patterns/unittests/stubs/CommonStub.cpp \ 75 Patterns/unittests/stubs/CommonStub.hpp \ 76 Patterns/unittests/stubs/ManipulableCloneStub.cpp \ 77 Patterns/unittests/stubs/ManipulableCloneStub.hpp 82 78 nodist_ManipulableCloneUnitTest_SOURCES = \ 83 ../ManipulableClone.hpp79 Patterns/ManipulableClone.hpp 84 80 ManipulableCloneUnitTest_LDADD = $(TESTLIBS) 85 81 86 ManipulablePrototypeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \87 ManipulablePrototypeFactoryUnitTest.cpp \88 ManipulablePrototypeFactoryUnitTest.hpp \89 stubs/ManipulableCloneStub.cpp \90 stubs/ManipulableCloneStub.hpp \91 stubs/CommonStub.cpp \92 stubs/CommonStub.hpp \93 stubs/ManipulablePrototypeFactoryStub.hpp \94 stubs/ManipulablePrototypeFactoryStub.cpp82 ManipulablePrototypeFactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 83 Patterns/unittests/ManipulablePrototypeFactoryUnitTest.cpp \ 84 Patterns/unittests/ManipulablePrototypeFactoryUnitTest.hpp \ 85 Patterns/unittests/stubs/ManipulableCloneStub.cpp \ 86 Patterns/unittests/stubs/ManipulableCloneStub.hpp \ 87 Patterns/unittests/stubs/CommonStub.cpp \ 88 Patterns/unittests/stubs/CommonStub.hpp \ 89 Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.hpp \ 90 Patterns/unittests/stubs/ManipulablePrototypeFactoryStub.cpp 95 91 nodist_ManipulablePrototypeFactoryUnitTest_SOURCES = \ 96 ../ManipulablePrototypeFactory.hpp \97 ../FactoryTypeList.hpp \98 ../ManipulablePrototypeFactory_impl.hpp92 Patterns/ManipulablePrototypeFactory.hpp \ 93 Patterns/FactoryTypeList.hpp \ 94 Patterns/ManipulablePrototypeFactory_impl.hpp 99 95 ManipulablePrototypeFactoryUnitTest_LDADD = $(TESTLIBS) 100 96 101 ObserverUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \102 ObserverUnitTest.cpp \103 ObserverUnitTest.hpp \104 stubs/ObserverStub.cpp \105 stubs/ObserverStub.hpp97 ObserverUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 98 Patterns/unittests/ObserverUnitTest.cpp \ 99 Patterns/unittests/ObserverUnitTest.hpp \ 100 Patterns/unittests/stubs/ObserverStub.cpp \ 101 Patterns/unittests/stubs/ObserverStub.hpp 106 102 nodist_ObserverUnitTest_SOURCES = \ 107 ../Observer.hpp \108 ../ObserverContainer.hpp \109 ../ObserverContainer_impl.hpp \110 ../ObserverIterator.hpp103 Patterns/Observer.hpp \ 104 Patterns/ObserverContainer.hpp \ 105 Patterns/ObserverContainer_impl.hpp \ 106 Patterns/ObserverIterator.hpp 111 107 ObserverUnitTest_LDADD = $(TESTLIBS) 112 108 113 ObservedContainerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \114 ObservedContainerUnitTest.cpp \115 ObservedContainerUnitTest.hpp \116 stubs/ObserverStub.cpp \117 stubs/ObserverStub.hpp109 ObservedContainerUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 110 Patterns/unittests/ObservedContainerUnitTest.cpp \ 111 Patterns/unittests/ObservedContainerUnitTest.hpp \ 112 Patterns/unittests/stubs/ObserverStub.cpp \ 113 Patterns/unittests/stubs/ObserverStub.hpp 118 114 nodist_ObservedContainerUnitTest_SOURCES = \ 119 ../ObserverContainer.hpp \120 ../ObserverContainer_impl.hpp115 Patterns/ObserverContainer.hpp \ 116 Patterns/ObserverContainer_impl.hpp 121 117 ObservedContainerUnitTest_LDADD = $(TESTLIBS) 122 118 123 PrototypeFactoryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \124 P rototypeFactoryUnitTest.cpp \125 P rototypeFactoryUnitTest.hpp \126 stubs/CloneStub.cpp \127 stubs/CloneStub.hpp \128 stubs/CommonStub.cpp \129 stubs/CommonStub.hpp \130 stubs/PrototypeFactoryStub.hpp \131 stubs/PrototypeFactoryStub.cpp119 PrototypeFactoryUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 120 Patterns/unittests/PrototypeFactoryUnitTest.cpp \ 121 Patterns/unittests/PrototypeFactoryUnitTest.hpp \ 122 Patterns/unittests/stubs/CloneStub.cpp \ 123 Patterns/unittests/stubs/CloneStub.hpp \ 124 Patterns/unittests/stubs/CommonStub.cpp \ 125 Patterns/unittests/stubs/CommonStub.hpp \ 126 Patterns/unittests/stubs/PrototypeFactoryStub.hpp \ 127 Patterns/unittests/stubs/PrototypeFactoryStub.cpp 132 128 nodist_PrototypeFactoryUnitTest_SOURCES = \ 133 ../PrototypeFactory.hpp \134 ../FactoryTypeList.hpp \135 ../PrototypeFactory_impl.hpp129 Patterns/PrototypeFactory.hpp \ 130 Patterns/FactoryTypeList.hpp \ 131 Patterns/PrototypeFactory_impl.hpp 136 132 PrototypeFactoryUnitTest_LDADD = $(TESTLIBS) 137 133 138 RegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \139 RegistryUnitTest.cpp \140 RegistryUnitTest.hpp \141 stubs/CommonNamedStub.cpp \142 stubs/CommonNamedStub.hpp \143 stubs/RegistryStub.cpp \144 stubs/RegistryStub.hpp134 RegistryUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 135 Patterns/unittests/RegistryUnitTest.cpp \ 136 Patterns/unittests/RegistryUnitTest.hpp \ 137 Patterns/unittests/stubs/CommonNamedStub.cpp \ 138 Patterns/unittests/stubs/CommonNamedStub.hpp \ 139 Patterns/unittests/stubs/RegistryStub.cpp \ 140 Patterns/unittests/stubs/RegistryStub.hpp 145 141 nodist_RegistryUnitTest_SOURCES = \ 146 Registry.hpp \147 Registry_impl.hpp142 Patterns/unittests/Registry.hpp \ 143 Patterns/unittests/Registry_impl.hpp 148 144 RegistryUnitTest_LDADD = $(TESTLIBS) 149 145 150 SingletonUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \151 SingletonUnitTest.cpp \152 SingletonUnitTest.hpp146 SingletonUnitTest_SOURCES = unittests/UnitTestMain.cpp \ 147 Patterns/unittests/SingletonUnitTest.cpp \ 148 Patterns/unittests/SingletonUnitTest.hpp 153 149 #nodist_SingletonUnitTest_SOURCES = 154 150 SingletonUnitTest_LDADD = $(TESTLIBS)
Note:
See TracChangeset
for help on using the changeset viewer.
