git.s-ol.nu ~forks/DiligentTools / c3bc561
Renamed UintTests folder to Tests assiduous 1 year, 9 months ago
12 changed file(s) with 104 addition(s) and 104 deletion(s). Raw diff Collapse all Expand all
00 python ../../../DiligentCore/BuildTools/FormatValidation/clang-format-validate.py --color never ^
11 --clang-format-executable ../../../DiligentCore/BuildTools/FormatValidation/clang-format_10.0.0.exe ^
2 -r ../../AssetLoader ../../Imgui ../../NativeApp/include ../../NativeApp/src ../../TextureLoader ^
2 -r ../../AssetLoader ../../Imgui ../../NativeApp/include ../../NativeApp/src ../../TextureLoader ../../Tests ^
33 --exclude ../../Imgui/interface/ImGuiImplMacOS.h ^
44 --exclude ../../Imgui/interface/ImGuiImplIOS.h ^
55 --exclude ../../NativeApp/src/UWP ^
4545 endif()
4646
4747 if(DILIGENT_BUILD_TESTS)
48 add_subdirectory(UnitTests)
48 add_subdirectory(Tests)
4949 endif()
5050
5151 # Installation instructions
0 cmake_minimum_required (VERSION 3.6)
1
2 if(TARGET gtest)
3
4 endif()
5
6 add_subdirectory(IncludeTest)
0 cmake_minimum_required (VERSION 3.6)
1
2 project(DiligentTools-IncludeTest)
3
4 file(GLOB_RECURSE SOURCE LIST_DIRECTORIES false *.cpp)
5
6 add_library(DiligentTools-IncludeTest ${SOURCE})
7
8 target_include_directories(DiligentTools-IncludeTest PRIVATE ../..)
9 target_link_libraries(DiligentTools-IncludeTest PRIVATE Diligent-BuildSettings)
10 set_common_target_properties(DiligentTools-IncludeTest)
11
12 if(MSVC)
13 set_target_properties(DiligentTools-IncludeTest PROPERTIES
14 STATIC_LIBRARY_FLAGS "/IGNORE:4221"
15 )
16 endif()
17
18 source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE})
19
20 set_target_properties(DiligentTools-IncludeTest PROPERTIES
21 FOLDER "DiligentTools/Tests"
22 )
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/Image.h"
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/TextureLoader.h"
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/TextureUtilities.h"
+0
-7
UnitTests/CMakeLists.txt less more
0 cmake_minimum_required (VERSION 3.6)
1
2 if(TARGET gtest)
3
4 endif()
5
6 add_subdirectory(IncludeTest)
+0
-23
UnitTests/IncludeTest/CMakeLists.txt less more
0 cmake_minimum_required (VERSION 3.6)
1
2 project(DiligentTools-IncludeTest)
3
4 file(GLOB_RECURSE SOURCE LIST_DIRECTORIES false *.cpp)
5
6 add_library(DiligentTools-IncludeTest ${SOURCE})
7
8 target_include_directories(DiligentTools-IncludeTest PRIVATE ../..)
9 target_link_libraries(DiligentTools-IncludeTest PRIVATE Diligent-BuildSettings)
10 set_common_target_properties(DiligentTools-IncludeTest)
11
12 if(MSVC)
13 set_target_properties(DiligentTools-IncludeTest PROPERTIES
14 STATIC_LIBRARY_FLAGS "/IGNORE:4221"
15 )
16 endif()
17
18 source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE})
19
20 set_target_properties(DiligentTools-IncludeTest PROPERTIES
21 FOLDER "DiligentTools/Tests"
22 )
+0
-24
UnitTests/IncludeTest/TextureLoader/ImageH_test.cpp less more
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/Image.h"
+0
-24
UnitTests/IncludeTest/TextureLoader/TextureLoaderH_test.cpp less more
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/TextureLoader.h"
+0
-24
UnitTests/IncludeTest/TextureLoader/TextureUtilitiesH_test.cpp less more
0 /* Copyright 2019 Diligent Graphics LLC
1 *
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
10 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF ANY PROPRIETARY RIGHTS.
11 *
12 * In no event and under no legal theory, whether in tort (including negligence),
13 * contract, or otherwise, unless required by applicable law (such as deliberate
14 * and grossly negligent acts) or agreed to in writing, shall any Contributor be
15 * liable for any damages, including any direct, indirect, special, incidental,
16 * or consequential damages of any character arising as a result of this License or
17 * out of the use or inability to use the software (including but not limited to damages
18 * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
19 * all other commercial damages or losses), even if such Contributor has been advised
20 * of the possibility of such damages.
21 */
22
23 #include "TextureLoader/interface/TextureUtilities.h"