Rename posix-test to os-test
This commit is contained in:
parent
da2569827e
commit
9ea42fb26e
@ -1 +1,2 @@
|
|||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
#warning "fmt/posix.h is deprecated; use fmt/os.h instead"
|
@ -125,7 +125,7 @@ if (NOT MSVC_BUILD_STATIC)
|
|||||||
target_compile_definitions(posix-mock-test PRIVATE FMT_LOCALE)
|
target_compile_definitions(posix-mock-test PRIVATE FMT_LOCALE)
|
||||||
endif ()
|
endif ()
|
||||||
add_test(NAME posix-mock-test COMMAND posix-mock-test)
|
add_test(NAME posix-mock-test COMMAND posix-mock-test)
|
||||||
add_fmt_test(posix-test)
|
add_fmt_test(os-test)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_fmt_executable(header-only-test
|
add_fmt_executable(header-only-test
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "gmock.h"
|
#include "gmock.h"
|
||||||
#include "fmt/posix.h"
|
#include "fmt/os.h"
|
||||||
|
|
||||||
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \
|
#define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \
|
||||||
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
|
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Formatting library for C++ - tests of the C++ interface to POSIX functions
|
// Formatting library for C++ - tests of the OS-specific functionality
|
||||||
//
|
//
|
||||||
// Copyright (c) 2012 - present, Victor Zverovich
|
// Copyright (c) 2012 - present, Victor Zverovich
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
@ -10,7 +10,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "fmt/os.h"
|
#include "fmt/os.h"
|
||||||
#include "fmt/posix.h"
|
|
||||||
#include "gtest-extra.h"
|
#include "gtest-extra.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
@ -9,7 +9,7 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "fmt/posix.h"
|
#include "fmt/os.h"
|
||||||
|
|
||||||
enum { BUFFER_SIZE = 256 };
|
enum { BUFFER_SIZE = 256 };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user