Kaynağa Gözat

remove tests

mikymod 11 yıl önce
ebeveyn
işleme
958cbbc634
3 değiştirilmiş dosya ile 0 ekleme ve 55 silme
  1. 0 2
      CMakeLists.txt
  2. 0 21
      tests/CMakeLists.txt
  3. 0 32
      tests/tests.json

+ 0 - 2
CMakeLists.txt

@@ -116,8 +116,6 @@ if (CROWN_BUILD_SAMPLES)
 	add_subdirectory(samples)
 	add_subdirectory(samples)
 endif (CROWN_BUILD_SAMPLES)
 endif (CROWN_BUILD_SAMPLES)
 
 
-add_subdirectory(tests)
-
 # add a target to generate API documentation with Doxygen
 # add a target to generate API documentation with Doxygen
 if (CROWN_BUILD_DOC)
 if (CROWN_BUILD_DOC)
   find_package(Doxygen)
   find_package(Doxygen)

+ 0 - 21
tests/CMakeLists.txt

@@ -1,21 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-
-project(crown-tests)
-
-file(GLOB_RECURSE CROWN_TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
-file(GLOB_RECURSE CROWN_TESTS_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
-
-set (CROWN_TESTS_INCLUDE_DIRS "")
-foreach (_headerFile ${CROWN_TESTS_HEADERS})
-    get_filename_component(_dir ${_headerFile} PATH)
-    list (APPEND CROWN_TESTS_INCLUDE_DIRS ${_dir})
-endforeach()
-list(REMOVE_DUPLICATES CROWN_TESTS_INCLUDE_DIRS)
-
-include_directories(${CROWN_TESTS_INCLUDE_DIRS})
-
-add_executable(crown-tests ${CROWN_TESTS_SOURCES})
-
-#target_link_libraries(crown-tests crown)
-
-install (TARGETS crown-tests DESTINATION tests)

+ 0 - 32
tests/tests.json

@@ -1,32 +0,0 @@
-{
-	"Categories" : [
-    {
-      "Name" : "Filesystem",
-      "Description" : "Filesystem access with OS-dependent implementation",
-      "Tests" : [
-        { 
-          "Name" : "FileCreateThenFileExists",
-          "Description" : "After file_create, file_exists returns true"
-        },
-        { 
-          "Name" : "FileDeleteThenFileExists",
-          "Description" : "After file_delete, file_exists returns false"
-        }
-      ]
-    },
-    {
-      "Name" : "Json",
-      "Description" : "Reading and Writing objects in Json format",
-      "Tests" : [
-        { 
-          "Name" : "SerializeObjectWithTwoProperties",
-          "Description" : "Serializaton of an object with an int and a string property"
-        },
-        { 
-          "Name" : "DeserializeObjectWithTwoProperties",
-          "Description" : "Deserializaton of an object with an int and a string property"
-        }
-      ]
-    }
-  ]
-}