summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeTest
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-20 02:55:41 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-20 02:55:41 +0000
commitc3bc561843647a25f2ef8041984f13c851294cd8 (patch)
tree9547dcad8a44418f9458d4328eda47c6b81eae45 /Tests/IncludeTest
parentreadme: added codacy bage (diff)
downloadDiligentTools-c3bc561843647a25f2ef8041984f13c851294cd8.tar.gz
DiligentTools-c3bc561843647a25f2ef8041984f13c851294cd8.zip
Renamed UintTests folder to Tests
Diffstat (limited to 'Tests/IncludeTest')
-rw-r--r--Tests/IncludeTest/CMakeLists.txt23
-rw-r--r--Tests/IncludeTest/TextureLoader/ImageH_test.cpp24
-rw-r--r--Tests/IncludeTest/TextureLoader/TextureLoaderH_test.cpp24
-rw-r--r--Tests/IncludeTest/TextureLoader/TextureUtilitiesH_test.cpp24
4 files changed, 95 insertions, 0 deletions
diff --git a/Tests/IncludeTest/CMakeLists.txt b/Tests/IncludeTest/CMakeLists.txt
new file mode 100644
index 0000000..ae0b737
--- /dev/null
+++ b/Tests/IncludeTest/CMakeLists.txt
@@ -0,0 +1,23 @@
+cmake_minimum_required (VERSION 3.6)
+
+project(DiligentTools-IncludeTest)
+
+file(GLOB_RECURSE SOURCE LIST_DIRECTORIES false *.cpp)
+
+add_library(DiligentTools-IncludeTest ${SOURCE})
+
+target_include_directories(DiligentTools-IncludeTest PRIVATE ../..)
+target_link_libraries(DiligentTools-IncludeTest PRIVATE Diligent-BuildSettings)
+set_common_target_properties(DiligentTools-IncludeTest)
+
+if(MSVC)
+ set_target_properties(DiligentTools-IncludeTest PROPERTIES
+ STATIC_LIBRARY_FLAGS "/IGNORE:4221"
+ )
+endif()
+
+source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE})
+
+set_target_properties(DiligentTools-IncludeTest PROPERTIES
+ FOLDER "DiligentTools/Tests"
+)
diff --git a/Tests/IncludeTest/TextureLoader/ImageH_test.cpp b/Tests/IncludeTest/TextureLoader/ImageH_test.cpp
new file mode 100644
index 0000000..3f8af84
--- /dev/null
+++ b/Tests/IncludeTest/TextureLoader/ImageH_test.cpp
@@ -0,0 +1,24 @@
+/* Copyright 2019 Diligent Graphics LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
+ *
+ * In no event and under no legal theory, whether in tort (including negligence),
+ * contract, or otherwise, unless required by applicable law (such as deliberate
+ * and grossly negligent acts) or agreed to in writing, shall any Contributor be
+ * liable for any damages, including any direct, indirect, special, incidental,
+ * or consequential damages of any character arising as a result of this License or
+ * out of the use or inability to use the software (including but not limited to damages
+ * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
+ * all other commercial damages or losses), even if such Contributor has been advised
+ * of the possibility of such damages.
+ */
+
+#include "TextureLoader/interface/Image.h"
diff --git a/Tests/IncludeTest/TextureLoader/TextureLoaderH_test.cpp b/Tests/IncludeTest/TextureLoader/TextureLoaderH_test.cpp
new file mode 100644
index 0000000..1e9fe71
--- /dev/null
+++ b/Tests/IncludeTest/TextureLoader/TextureLoaderH_test.cpp
@@ -0,0 +1,24 @@
+/* Copyright 2019 Diligent Graphics LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
+ *
+ * In no event and under no legal theory, whether in tort (including negligence),
+ * contract, or otherwise, unless required by applicable law (such as deliberate
+ * and grossly negligent acts) or agreed to in writing, shall any Contributor be
+ * liable for any damages, including any direct, indirect, special, incidental,
+ * or consequential damages of any character arising as a result of this License or
+ * out of the use or inability to use the software (including but not limited to damages
+ * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
+ * all other commercial damages or losses), even if such Contributor has been advised
+ * of the possibility of such damages.
+ */
+
+#include "TextureLoader/interface/TextureLoader.h"
diff --git a/Tests/IncludeTest/TextureLoader/TextureUtilitiesH_test.cpp b/Tests/IncludeTest/TextureLoader/TextureUtilitiesH_test.cpp
new file mode 100644
index 0000000..3718338
--- /dev/null
+++ b/Tests/IncludeTest/TextureLoader/TextureUtilitiesH_test.cpp
@@ -0,0 +1,24 @@
+/* Copyright 2019 Diligent Graphics LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
+ *
+ * In no event and under no legal theory, whether in tort (including negligence),
+ * contract, or otherwise, unless required by applicable law (such as deliberate
+ * and grossly negligent acts) or agreed to in writing, shall any Contributor be
+ * liable for any damages, including any direct, indirect, special, incidental,
+ * or consequential damages of any character arising as a result of this License or
+ * out of the use or inability to use the software (including but not limited to damages
+ * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
+ * all other commercial damages or losses), even if such Contributor has been advised
+ * of the possibility of such damages.
+ */
+
+#include "TextureLoader/interface/TextureUtilities.h"