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

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;

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.

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).

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 {

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.

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

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

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

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

View File

@@ -34,7 +34,7 @@
#include <stdio.h>
#include <gtest/gtest.h>
#include "gtest/gtest.h"
using ::testing::EmptyTestEventListener;
using ::testing::InitGoogleTest;