Include gtest headers as user headers instead of system headers.

This commit is contained in:
zhanyong.wan
2010-09-14 05:35:59 +00:00
parent 88e0df6247
commit dac3e879c5
87 changed files with 165 additions and 165 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <gtest/gtest.h>
#include "gtest/gtest.h"
using ::testing::EmptyTestEventListener;
using ::testing::InitGoogleTest;
+1 -1
View File
@@ -45,7 +45,7 @@
#include <limits.h>
#include "sample1.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
// Step 2. Use the TEST macro to define your tests.
+1 -1
View File
@@ -41,7 +41,7 @@
// needed.
#include "sample2.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
// In this example, we test the MyString class (a simple string).
+1 -1
View File
@@ -64,7 +64,7 @@
// </TechnicalDetails>
#include "sample3-inl.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
// To use a test fixture, derive a class from testing::Test.
class QueueTest : public testing::Test {
+1 -1
View File
@@ -29,7 +29,7 @@
//
// Author: wan@google.com (Zhanyong Wan)
#include <gtest/gtest.h>
#include "gtest/gtest.h"
#include "sample4.h"
// Tests the Increment() method.
+1 -1
View File
@@ -47,7 +47,7 @@
#include <limits.h>
#include <time.h>
#include "sample3-inl.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
#include "sample1.h"
// In this sample, we want to ensure that every test finishes within
+1 -1
View File
@@ -35,7 +35,7 @@
// The interface and its implementations are in this header.
#include "prime_tables.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
// First, we define some factory functions for creating instances of
// the implementations. You may be able to skip this step if all your
+1 -1
View File
@@ -38,7 +38,7 @@
// The interface and its implementations are in this header.
#include "prime_tables.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
#if GTEST_HAS_PARAM_TEST
+1 -1
View File
@@ -36,7 +36,7 @@
// Use class definitions to test from this header.
#include "prime_tables.h"
#include <gtest/gtest.h>
#include "gtest/gtest.h"
#if GTEST_HAS_COMBINE
+1 -1
View File
@@ -34,7 +34,7 @@
#include <stdio.h>
#include <gtest/gtest.h>
#include "gtest/gtest.h"
using ::testing::EmptyTestEventListener;
using ::testing::InitGoogleTest;