Added more tests and more includes

This commit is contained in:
Patrick Urbanke
2023-12-28 21:00:57 +01:00
parent c4f12289cd
commit 07942bb64d
5 changed files with 16 additions and 6 deletions
+1 -2
View File
@@ -5,12 +5,11 @@
#include <type_traits>
#include <utility>
#include "../Attribute.hpp"
#include "../Field.hpp"
namespace rfl {
template <class T> struct Attribute;
namespace internal {
template <class T>
+2
View File
@@ -11,6 +11,8 @@
#include "../internal/Memoization.hpp"
#include "../internal/is_basic_type.hpp"
#include "../internal/strings/replace_all.hpp"
#include "AreReaderAndWriter.hpp"
#include "Parser_base.hpp"
#include "is_required.hpp"
namespace rfl {
+4 -1
View File
@@ -1,12 +1,15 @@
#include "test_all_of.hpp"
#include <iostream>
#include <rfl.hpp>
#include <rfl/flexbuf.hpp>
#include <source_location>
#include <string>
#include <vector>
// Make sure things still compile when
// rfl.hpp is included after rfl/flexbuf.hpp.
#include <rfl.hpp>
#include "write_and_read.hpp"
namespace test_all_of {
+4 -1
View File
@@ -1,12 +1,15 @@
#include "test_all_of.hpp"
#include <iostream>
#include <rfl.hpp>
#include <rfl/json.hpp>
#include <source_location>
#include <string>
#include <vector>
// Make sure things still compile when
// rfl.hpp is included after rfl/json.hpp.
#include <rfl.hpp>
#include "write_and_read.hpp"
namespace test_all_of {
+5 -2
View File
@@ -3,11 +3,14 @@
#include <array>
#include <iostream>
#include <memory>
#include <rfl.hpp>
#include <rfl/json.hpp>
#include <rfl/xml.hpp>
#include <source_location>
#include <string>
// Make sure things still compile when
// rfl.hpp is included after rfl/xml.hpp.
#include <rfl.hpp>
#include "write_and_read.hpp"
namespace test_array {