update the includes in the tests to get rid of the deprecated warnings

This commit is contained in:
Mario Werner 2016-01-30 22:33:37 +01:00
parent 62ac1d98a4
commit fee52f79b8
9 changed files with 10 additions and 10 deletions

View File

@ -25,7 +25,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "format.h"
#include <cppformat/format.h>
#include "gtest/gtest.h"
#if GTEST_HAS_DEATH_TEST

View File

@ -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 <cppformat/format.h>
#include "util.h"
#include "mock-allocator.h"
#include "gtest-extra.h"

View File

@ -31,14 +31,14 @@
#include <string>
#include <gtest/gtest.h>
#include "format.h"
#include <cppformat/format.h>
#ifndef FMT_USE_FILE_DESCRIPTORS
# define FMT_USE_FILE_DESCRIPTORS 0
#endif
#if FMT_USE_FILE_DESCRIPTORS
# include "posix.h"
# include <cppformat/posix.h>
#endif
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \

View File

@ -25,4 +25,4 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "format.h"
#include <cppformat/format.h>

View File

@ -25,4 +25,4 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "format.h"
#include <cppformat/format.h>

View File

@ -29,7 +29,7 @@
#include <cstring>
#include "gtest-extra.h"
#include "posix.h"
#include <cppformat/posix.h>
#include "util.h"
#ifdef fileno

View File

@ -29,7 +29,7 @@
#include <climits>
#include <cstring>
#include "format.h"
#include <cppformat/format.h>
#include "gtest-extra.h"
#include "util.h"

View File

@ -47,7 +47,7 @@
# include <windows.h>
#endif
#include "format.h"
#include <cppformat/format.h>
#undef max

View File

@ -29,7 +29,7 @@
#include <cstdio>
#include <string>
#include "posix.h"
#include <cppformat/posix.h>
enum {BUFFER_SIZE = 256};