mirror of
https://github.com/TartanLlama/optional.git
synced 2025-08-01 02:44:27 +02:00
🎨 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:
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Assignment value", "[assignment.value]") {
|
||||
|
@@ -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.
|
||||
|
12012
tests/catch.hpp
12012
tests/catch.hpp
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#define TOKENPASTE(x, y) x##y
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
#include <vector>
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
#include <utility>
|
||||
#include <tuple>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
#include <string>
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Hashing", "[hash]") {}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#include <tuple>
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
|
@@ -1,2 +0,0 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
#include <tuple>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Noexcept", "[noexcept]") {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Nullopt", "[nullopt]") {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
struct move_detector {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Relational ops", "[relops]") {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "catch.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <tl/optional.hpp>
|
||||
|
||||
TEST_CASE("Swap value", "[swap.value]") {
|
||||
|
Reference in New Issue
Block a user