Changeset 9114 for code/branches/testing/test
- Timestamp:
- Apr 22, 2012, 10:36:09 AM (13 years ago)
- Location:
- code/branches/testing/test
- Files:
-
- 9 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/test/CMakeLists.txt
- Property svn:eol-style set to native
-
code/branches/testing/test/CTestCustom.cmake
- Property svn:eol-style set to native
-
code/branches/testing/test/util/CMakeLists.txt
- Property svn:eol-style set to native
r9025 r9114 3 3 EXCLUDE_FROM_ALL 4 4 ${GMOCK_MAIN} 5 ConvertTest.cc 5 6 MathTest.cc 7 mboolTest.cc 8 ScopeTest.cc 9 SharedPtrTest.cc 10 SingletonTest.cc 11 SmallObjectAllocatorTest.cc 12 StringUtilsTest.cc 13 SubStringTest.cc 14 VA_NARGSTest.cc 6 15 ) 7 16 TARGET_LINK_LIBRARIES(util_test util gmock_orxonox) … … 9 18 10 19 ADD_TEST(util_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/util_test) 20 21 #----------------- 22 23 IF(MSVC) 24 IF(CMAKE_CL_64) 25 SET(MSVC_PLATFORM "x64") 26 ELSE() 27 SET(MSVC_PLATFORM "Win32") 28 ENDIF() 29 IF(MSVC10) 30 CONFIGURE_FILE("../../src/orxonox-main.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcxproj.user") 31 ELSE() 32 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1" 33 VISUAL_STUDIO_VERSION_SIMPLE "${CMAKE_GENERATOR}") 34 CONFIGURE_FILE("../../src/orxonox-main.vcproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/util_test.vcproj.user") 35 ENDIF() 36 ENDIF(MSVC) -
code/branches/testing/test/util/MathTest.cc
- Property svn:eol-style set to native
r9026 r9114 324 324 TEST(getUniqueNumber, Test) 325 325 { 326 std::set< float> numbers;326 std::set<unsigned long> numbers; 327 327 328 328 const size_t iterations = 1000;
Note: See TracChangeset
for help on using the changeset viewer.