Commit dac3e879 authored by zhanyong.wan's avatar zhanyong.wan
Browse files

Include gtest headers as user headers instead of system headers.

parent 88e0df62
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
// //
// Author: wan@google.com (Zhanyong Wan) // Author: wan@google.com (Zhanyong Wan)
#include <gtest/gtest.h> #include "gtest/gtest.h"
TEST(DummyTest, Dummy) { TEST(DummyTest, Dummy) {
// This test doesn't verify anything. We just need it to create a // This test doesn't verify anything. We just need it to create a
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
// Tests for Google Test itself. This verifies that the basic constructs of // Tests for Google Test itself. This verifies that the basic constructs of
// Google Test work. // Google Test work.
#include <gtest/gtest.h> #include "gtest/gtest.h"
#include <vector> #include <vector>
// Verifies that the command line flag variables can be accessed // Verifies that the command line flag variables can be accessed
...@@ -57,7 +57,7 @@ TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) { ...@@ -57,7 +57,7 @@ TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) {
EXPECT_TRUE(dummy || !dummy); // Suppresses warning that dummy is unused. EXPECT_TRUE(dummy || !dummy); // Suppresses warning that dummy is unused.
} }
#include <gtest/gtest-spi.h> #include "gtest/gtest-spi.h"
// Indicates that this translation unit is part of Google Test's // Indicates that this translation unit is part of Google Test's
// implementation. It must come before gtest-internal-inl.h is // implementation. It must come before gtest-internal-inl.h is
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
// gtest_xml_outfile1_test_ writes some xml via TestProperty used by // gtest_xml_outfile1_test_ writes some xml via TestProperty used by
// gtest_xml_outfiles_test.py // gtest_xml_outfiles_test.py
#include <gtest/gtest.h> #include "gtest/gtest.h"
class PropertyOne : public testing::Test { class PropertyOne : public testing::Test {
protected: protected:
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
// gtest_xml_outfile2_test_ writes some xml via TestProperty used by // gtest_xml_outfile2_test_ writes some xml via TestProperty used by
// gtest_xml_outfiles_test.py // gtest_xml_outfiles_test.py
#include <gtest/gtest.h> #include "gtest/gtest.h"
class PropertyTwo : public testing::Test { class PropertyTwo : public testing::Test {
protected: protected:
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
// This program will be invoked from a Python unit test. Don't run it // This program will be invoked from a Python unit test. Don't run it
// directly. // directly.
#include <gtest/gtest.h> #include "gtest/gtest.h"
using ::testing::InitGoogleTest; using ::testing::InitGoogleTest;
using ::testing::TestEventListeners; using ::testing::TestEventListeners;
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#ifndef GTEST_TEST_PRODUCTION_H_ #ifndef GTEST_TEST_PRODUCTION_H_
#define GTEST_TEST_PRODUCTION_H_ #define GTEST_TEST_PRODUCTION_H_
#include <gtest/gtest_prod.h> #include "gtest/gtest_prod.h"
class PrivateCode { class PrivateCode {
public: public:
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
// This is a simple test file for the Widget class in the Widget.framework // This is a simple test file for the Widget class in the Widget.framework
#include <string> #include <string>
#include <gtest/gtest.h> #include "gtest/gtest.h"
#include <Widget/widget.h> #include <Widget/widget.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment