From f0d389a4430b62bfa8ea0852905fcf84065b08c2 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 20 May 2022 18:45:35 +0200 Subject: Add catch2 support (#101) Added option to use catch2 for unit tests Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2. Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests. --- thirdparty/licenses/Catch2.tps | 13 +++++++++++++ thirdparty/licenses/Catch2_License.txt | 23 +++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 thirdparty/licenses/Catch2.tps create mode 100644 thirdparty/licenses/Catch2_License.txt (limited to 'thirdparty') diff --git a/thirdparty/licenses/Catch2.tps b/thirdparty/licenses/Catch2.tps new file mode 100644 index 000000000..e58e2cf3a --- /dev/null +++ b/thirdparty/licenses/Catch2.tps @@ -0,0 +1,13 @@ + + + Catch 2 + https://github.com/EpicGames/zen + Unit test framework. + https://github.com/catchorg/Catch2/blob/devel/LICENSE.txt + + Licensees + Git + P4 + + https://github.com/EpicGames/zen/tree/main/thirdparty/licenses + \ No newline at end of file diff --git a/thirdparty/licenses/Catch2_License.txt b/thirdparty/licenses/Catch2_License.txt new file mode 100644 index 000000000..127a5bc39 --- /dev/null +++ b/thirdparty/licenses/Catch2_License.txt @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +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, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. \ No newline at end of file -- cgit v1.2.3