aboutsummaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-05-20 18:45:35 +0200
committerGitHub <[email protected]>2022-05-20 18:45:35 +0200
commitf0d389a4430b62bfa8ea0852905fcf84065b08c2 (patch)
tree450344815e7bb7c3dde0d94f6032f048f3430527 /thirdparty
parentfix mac compilation error (diff)
downloadzen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.tar.xz
zen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.zip
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.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/licenses/Catch2.tps13
-rw-r--r--thirdparty/licenses/Catch2_License.txt23
2 files changed, 36 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TpsData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <Name>Catch 2</Name>
+ <Location>https://github.com/EpicGames/zen</Location>
+ <Function>Unit test framework.</Function>
+ <Eula>https://github.com/catchorg/Catch2/blob/devel/LICENSE.txt</Eula>
+ <RedistributeTo>
+ <EndUserGroup>Licensees</EndUserGroup>
+ <EndUserGroup>Git</EndUserGroup>
+ <EndUserGroup>P4</EndUserGroup>
+ </RedistributeTo>
+ <LicenseFolder>https://github.com/EpicGames/zen/tree/main/thirdparty/licenses</LicenseFolder>
+</TpsData> \ 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