use quotes for including cppformat headers from the tests

This commit is contained in:
Mario Werner 2016-02-02 16:55:25 +01:00
parent be961bae0f
commit d411aa165e
12 changed files with 13 additions and 13 deletions

View File

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

View File

@ -1,4 +1,4 @@
#include <cppformat/format.h> #include "cppformat/format.h"
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View File

@ -29,7 +29,7 @@
#include "test-assert.h" #include "test-assert.h"
// Include format.cc instead of format.h to test implementation-specific stuff. // Include format.cc instead of format.h to test implementation-specific stuff.
#include <cppformat/format.cc> #include "cppformat/format.cc"
#include <cstring> #include <cstring>

View File

@ -45,7 +45,7 @@
// Test that the library compiles if None is defined to 0 as done by xlib.h. // Test that the library compiles if None is defined to 0 as done by xlib.h.
#define None 0 #define None 0
#include <cppformat/format.h> #include "cppformat/format.h"
#include "util.h" #include "util.h"
#include "mock-allocator.h" #include "mock-allocator.h"
#include "gtest-extra.h" #include "gtest-extra.h"

View File

@ -31,14 +31,14 @@
#include <string> #include <string>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <cppformat/format.h> #include "cppformat/format.h"
#ifndef FMT_USE_FILE_DESCRIPTORS #ifndef FMT_USE_FILE_DESCRIPTORS
# define FMT_USE_FILE_DESCRIPTORS 0 # define FMT_USE_FILE_DESCRIPTORS 0
#endif #endif
#if FMT_USE_FILE_DESCRIPTORS #if FMT_USE_FILE_DESCRIPTORS
# include <cppformat/posix.h> # include "cppformat/posix.h"
#endif #endif
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ #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. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <cppformat/format.h> #include "cppformat/format.h"

View File

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

View File

@ -29,7 +29,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#define FMT_USE_VARIADIC_TEMPLATES 0 #define FMT_USE_VARIADIC_TEMPLATES 0
#include <cppformat/format.h> #include "cppformat/format.h"
#define IDENTITY(x) x #define IDENTITY(x) x

View File

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

View File

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

View File

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

View File

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