🎨 Cleanup include path for catch2

 Add basic .deb generation support
WiX and RPM support is still needed for verification

⬆️ Upgrade minimum CMake version to 3.14
⬆️ Upgrade Catch to Catch v2.9.2
📌 Pin Catch to v2.9.1

👷 Update .travis.yml build matrix
👷 Update .appveyor build script

 Update tests to be separated by file
This commit is contained in:
Isabella Muerte
2019-09-16 23:56:02 -07:00
parent 83a0b49e5e
commit 54f7f970bf
21 changed files with 273 additions and 12302 deletions

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Assignment value", "[assignment.value]") {

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
// Old versions of GCC don't have the correct trait names. Could fix them up if needs be.

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#define TOKENPASTE(x, y) x##y

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <vector>

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <utility>
#include <tuple>

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <string>

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Hashing", "[hash]") {}

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <tuple>

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <type_traits>
@@ -42,4 +42,4 @@ TEST_CASE("issue 33") {
REQUIRE(j == 42);
REQUIRE(*a == 42);
REQUIRE(a.has_value());
}
}

View File

@@ -1,2 +0,0 @@
#define CATCH_CONFIG_MAIN
#include "catch.hpp"

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
#include <tuple>

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Noexcept", "[noexcept]") {

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Nullopt", "[nullopt]") {

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
struct move_detector {

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Relational ops", "[relops]") {

View File

@@ -1,4 +1,4 @@
#include "catch.hpp"
#include <catch2/catch.hpp>
#include <tl/optional.hpp>
TEST_CASE("Swap value", "[swap.value]") {