From fee52f79b87447aa818c27d9ee19485294ed326a Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Sat, 30 Jan 2016 22:33:37 +0100 Subject: [PATCH] update the includes in the tests to get rid of the deprecated warnings --- test/assert-test.cc | 2 +- test/format-test.cc | 2 +- test/gtest-extra.h | 4 ++-- test/header-only-test.cc | 2 +- test/header-only-test2.cc | 2 +- test/posix-test.cc | 2 +- test/printf-test.cc | 2 +- test/util-test.cc | 2 +- test/util.h | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/assert-test.cc b/test/assert-test.cc index e81f088a..b7883a9e 100644 --- a/test/assert-test.cc +++ b/test/assert-test.cc @@ -25,7 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "format.h" +#include #include "gtest/gtest.h" #if GTEST_HAS_DEATH_TEST diff --git a/test/format-test.cc b/test/format-test.cc index d2b69921..612f7d88 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -45,7 +45,7 @@ // Test that the library compiles if None is defined to 0 as done by xlib.h. #define None 0 -#include "format.h" +#include #include "util.h" #include "mock-allocator.h" #include "gtest-extra.h" diff --git a/test/gtest-extra.h b/test/gtest-extra.h index 5d93f9c9..73b0e3b3 100644 --- a/test/gtest-extra.h +++ b/test/gtest-extra.h @@ -31,14 +31,14 @@ #include #include -#include "format.h" +#include #ifndef FMT_USE_FILE_DESCRIPTORS # define FMT_USE_FILE_DESCRIPTORS 0 #endif #if FMT_USE_FILE_DESCRIPTORS -# include "posix.h" +# include #endif #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ diff --git a/test/header-only-test.cc b/test/header-only-test.cc index c2c8373c..7028d4ba 100644 --- a/test/header-only-test.cc +++ b/test/header-only-test.cc @@ -25,4 +25,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "format.h" +#include diff --git a/test/header-only-test2.cc b/test/header-only-test2.cc index 112d9b47..b5947b17 100644 --- a/test/header-only-test2.cc +++ b/test/header-only-test2.cc @@ -25,4 +25,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "format.h" +#include diff --git a/test/posix-test.cc b/test/posix-test.cc index 1484481f..12f2550f 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -29,7 +29,7 @@ #include #include "gtest-extra.h" -#include "posix.h" +#include #include "util.h" #ifdef fileno diff --git a/test/printf-test.cc b/test/printf-test.cc index 12b50cdf..7a12471a 100644 --- a/test/printf-test.cc +++ b/test/printf-test.cc @@ -29,7 +29,7 @@ #include #include -#include "format.h" +#include #include "gtest-extra.h" #include "util.h" diff --git a/test/util-test.cc b/test/util-test.cc index a5f4f990..a9ab78ea 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -47,7 +47,7 @@ # include #endif -#include "format.h" +#include #undef max diff --git a/test/util.h b/test/util.h index 7f42cecd..986f1130 100644 --- a/test/util.h +++ b/test/util.h @@ -29,7 +29,7 @@ #include #include -#include "posix.h" +#include enum {BUFFER_SIZE = 256};