mirror of
https://github.com/google/googletest.git
synced 2024-12-28 19:15:24 +08:00
Formatting tweaks, no functionality changes
This commit is contained in:
parent
0eeb1afcac
commit
00fc0d24d1
@ -33,11 +33,11 @@
|
|||||||
// exceptions, and the output is verified by
|
// exceptions, and the output is verified by
|
||||||
// googletest-catch-exceptions-test.py.
|
// googletest-catch-exceptions-test.py.
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
|
|
||||||
#include <stdio.h> // NOLINT
|
#include <stdio.h> // NOLINT
|
||||||
#include <stdlib.h> // For exit().
|
#include <stdlib.h> // For exit().
|
||||||
|
|
||||||
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
#if GTEST_HAS_SEH
|
#if GTEST_HAS_SEH
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -32,10 +32,9 @@
|
|||||||
// A helper program for testing that Google Test parses the environment
|
// A helper program for testing that Google Test parses the environment
|
||||||
// variables correctly.
|
// variables correctly.
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
#include "gtest/gtest.h"
|
||||||
#include "src/gtest-internal-inl.h"
|
#include "src/gtest-internal-inl.h"
|
||||||
|
|
||||||
using ::std::cout;
|
using ::std::cout;
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
// Authors: Dan Egnor (egnor@google.com)
|
// Authors: Dan Egnor (egnor@google.com)
|
||||||
// Ported to Windows: Vadim Berman (vadimb@google.com)
|
// Ported to Windows: Vadim Berman (vadimb@google.com)
|
||||||
|
|
||||||
#include "gtest/internal/gtest-linked_ptr.h"
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "gtest/internal/gtest-linked_ptr.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -33,9 +33,10 @@
|
|||||||
// This file verifies Google Test event listeners receive events at the
|
// This file verifies Google Test event listeners receive events at the
|
||||||
// right times.
|
// right times.
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
using ::testing::AddGlobalTestEnvironment;
|
using ::testing::AddGlobalTestEnvironment;
|
||||||
using ::testing::Environment;
|
using ::testing::Environment;
|
||||||
using ::testing::InitGoogleTest;
|
using ::testing::InitGoogleTest;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
// Google Test work.
|
// Google Test work.
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "googletest-param-test-test.h"
|
#include "test/googletest-param-test-test.h"
|
||||||
|
|
||||||
using ::testing::Values;
|
using ::testing::Values;
|
||||||
using ::testing::internal::ParamGenerator;
|
using ::testing::internal::ParamGenerator;
|
||||||
|
@ -30,11 +30,10 @@
|
|||||||
// Authors: vladl@google.com (Vlad Losev), wan@google.com (Zhanyong Wan)
|
// Authors: vladl@google.com (Vlad Losev), wan@google.com (Zhanyong Wan)
|
||||||
//
|
//
|
||||||
// This file tests the internal cross-platform support utilities.
|
// This file tests the internal cross-platform support utilities.
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "gtest/internal/gtest-port.h"
|
#include "gtest/internal/gtest-port.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#if GTEST_OS_MAC
|
#if GTEST_OS_MAC
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif // GTEST_OS_MAC
|
#endif // GTEST_OS_MAC
|
||||||
|
@ -33,8 +33,6 @@
|
|||||||
//
|
//
|
||||||
// This file tests the universal value printer.
|
// This file tests the universal value printer.
|
||||||
|
|
||||||
#include "gtest/gtest-printers.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -48,6 +46,7 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include "gtest/gtest-printers.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
#if GTEST_HAS_UNORDERED_MAP_
|
#if GTEST_HAS_UNORDERED_MAP_
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "gtest-typed-test_test.h"
|
#include "test/gtest-typed-test_test.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
||||||
#if GTEST_HAS_TYPED_TEST_P
|
#if GTEST_HAS_TYPED_TEST_P
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
//
|
//
|
||||||
// Author: wan@google.com (Zhanyong Wan)
|
// Author: wan@google.com (Zhanyong Wan)
|
||||||
|
|
||||||
#include "gtest-typed-test_test.h"
|
#include "test/gtest-typed-test_test.h"
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -33,15 +33,15 @@
|
|||||||
//
|
//
|
||||||
// Sometimes it's desirable to build most of Google Test's own tests
|
// Sometimes it's desirable to build most of Google Test's own tests
|
||||||
// by compiling a single file. This file serves this purpose.
|
// by compiling a single file. This file serves this purpose.
|
||||||
#include "googletest-filepath-test.cc"
|
#include "test/googletest-filepath-test.cc"
|
||||||
#include "googletest-linked-ptr-test.cc"
|
#include "test/googletest-linked-ptr-test.cc"
|
||||||
#include "googletest-message-test.cc"
|
#include "test/googletest-message-test.cc"
|
||||||
#include "googletest-options-test.cc"
|
#include "test/googletest-options-test.cc"
|
||||||
#include "googletest-port-test.cc"
|
#include "test/googletest-port-test.cc"
|
||||||
#include "gtest_pred_impl_unittest.cc"
|
#include "test/gtest_pred_impl_unittest.cc"
|
||||||
#include "gtest_prod_test.cc"
|
#include "test/gtest_prod_test.cc"
|
||||||
#include "googletest-test-part-test.cc"
|
#include "test/googletest-test-part-test.cc"
|
||||||
#include "gtest-typed-test_test.cc"
|
#include "test/gtest-typed-test_test.cc"
|
||||||
#include "gtest-typed-test2_test.cc"
|
#include "test/gtest-typed-test2_test.cc"
|
||||||
#include "gtest_unittest.cc"
|
#include "test/gtest_unittest.cc"
|
||||||
#include "production.cc"
|
#include "test/production.cc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user