Last change
on this file since 9352 was
9221,
checked in by landauf, 13 years ago
|
added tests for MultiType
added isType<void>() which is equivalent to null()
|
-
Property svn:eol-style set to
native
|
File size:
973 bytes
|
Rev | Line | |
---|
[9114] | 1 | ADD_EXECUTABLE( |
---|
| 2 | util_test |
---|
| 3 | EXCLUDE_FROM_ALL |
---|
| 4 | ${GMOCK_MAIN} |
---|
| 5 | ConvertTest.cc |
---|
| 6 | MathTest.cc |
---|
| 7 | mboolTest.cc |
---|
[9221] | 8 | MultiTypeTest.cc |
---|
[9114] | 9 | ScopeTest.cc |
---|
| 10 | SharedPtrTest.cc |
---|
| 11 | SingletonTest.cc |
---|
| 12 | SmallObjectAllocatorTest.cc |
---|
| 13 | StringUtilsTest.cc |
---|
| 14 | SubStringTest.cc |
---|
| 15 | VA_NARGSTest.cc |
---|
| 16 | ) |
---|
| 17 | TARGET_LINK_LIBRARIES(util_test util gmock_orxonox) |
---|
| 18 | ADD_DEPENDENCIES(test util_test) |
---|
| 19 | |
---|
| 20 | ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test) |
---|
| 21 | |
---|
| 22 | #----------------- |
---|
| 23 | |
---|
| 24 | IF(MSVC) |
---|
| 25 | IF(CMAKE_CL_64) |
---|
| 26 | SET(MSVC_PLATFORM "x64") |
---|
| 27 | ELSE() |
---|
| 28 | SET(MSVC_PLATFORM "Win32") |
---|
| 29 | ENDIF() |
---|
| 30 | IF(MSVC10) |
---|
| 31 | CONFIGURE_FILE("../../src/orxonox-main.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcxproj.user") |
---|
| 32 | ELSE() |
---|
| 33 | STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1" |
---|
| 34 | VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}") |
---|
| 35 | CONFIGURE_FILE("../../src/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcproj.user") |
---|
| 36 | ENDIF() |
---|
| 37 | ENDIF(MSVC) |
---|
Note: See
TracBrowser
for help on using the repository browser.