1f904a612d9444ab36c07a8e619c113432e046f49vladlosev// Copyright 2008, Google Inc. 2f904a612d9444ab36c07a8e619c113432e046f49vladlosev// All rights reserved. 3f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 4f904a612d9444ab36c07a8e619c113432e046f49vladlosev// Redistribution and use in source and binary forms, with or without 5f904a612d9444ab36c07a8e619c113432e046f49vladlosev// modification, are permitted provided that the following conditions are 6f904a612d9444ab36c07a8e619c113432e046f49vladlosev// met: 7f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 8f904a612d9444ab36c07a8e619c113432e046f49vladlosev// * Redistributions of source code must retain the above copyright 9f904a612d9444ab36c07a8e619c113432e046f49vladlosev// notice, this list of conditions and the following disclaimer. 10f904a612d9444ab36c07a8e619c113432e046f49vladlosev// * Redistributions in binary form must reproduce the above 11f904a612d9444ab36c07a8e619c113432e046f49vladlosev// copyright notice, this list of conditions and the following disclaimer 12f904a612d9444ab36c07a8e619c113432e046f49vladlosev// in the documentation and/or other materials provided with the 13f904a612d9444ab36c07a8e619c113432e046f49vladlosev// distribution. 14f904a612d9444ab36c07a8e619c113432e046f49vladlosev// * Neither the name of Google Inc. nor the names of its 15f904a612d9444ab36c07a8e619c113432e046f49vladlosev// contributors may be used to endorse or promote products derived from 16f904a612d9444ab36c07a8e619c113432e046f49vladlosev// this software without specific prior written permission. 17f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 18f904a612d9444ab36c07a8e619c113432e046f49vladlosev// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19f904a612d9444ab36c07a8e619c113432e046f49vladlosev// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20f904a612d9444ab36c07a8e619c113432e046f49vladlosev// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21f904a612d9444ab36c07a8e619c113432e046f49vladlosev// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22f904a612d9444ab36c07a8e619c113432e046f49vladlosev// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23f904a612d9444ab36c07a8e619c113432e046f49vladlosev// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24f904a612d9444ab36c07a8e619c113432e046f49vladlosev// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25f904a612d9444ab36c07a8e619c113432e046f49vladlosev// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26f904a612d9444ab36c07a8e619c113432e046f49vladlosev// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27f904a612d9444ab36c07a8e619c113432e046f49vladlosev// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28f904a612d9444ab36c07a8e619c113432e046f49vladlosev// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 30f904a612d9444ab36c07a8e619c113432e046f49vladlosev// Authors: vladl@google.com (Vlad Losev) 31f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 32f904a612d9444ab36c07a8e619c113432e046f49vladlosev// The Google C++ Testing Framework (Google Test) 33f904a612d9444ab36c07a8e619c113432e046f49vladlosev// 34f904a612d9444ab36c07a8e619c113432e046f49vladlosev// This header file provides classes and functions used internally 35f904a612d9444ab36c07a8e619c113432e046f49vladlosev// for testing Google Test itself. 36f904a612d9444ab36c07a8e619c113432e046f49vladlosev 37f904a612d9444ab36c07a8e619c113432e046f49vladlosev#ifndef GTEST_TEST_GTEST_PARAM_TEST_TEST_H_ 38f904a612d9444ab36c07a8e619c113432e046f49vladlosev#define GTEST_TEST_GTEST_PARAM_TEST_TEST_H_ 39f904a612d9444ab36c07a8e619c113432e046f49vladlosev 402620c79810d4741922e9fa89050c0af564994f24zhanyong.wan#include "gtest/gtest.h" 41f904a612d9444ab36c07a8e619c113432e046f49vladlosev 424cd62602913a032a7aec091d4c8055ff9af95e37zhanyong.wan#if GTEST_HAS_PARAM_TEST 43f904a612d9444ab36c07a8e619c113432e046f49vladlosev 44f904a612d9444ab36c07a8e619c113432e046f49vladlosev// Test fixture for testing definition and instantiation of a test 45f904a612d9444ab36c07a8e619c113432e046f49vladlosev// in separate translation units. 4693fed47dbf8e6bc3d39d3f769cb5039551747257vladlosevclass ExternalInstantiationTest : public ::testing::TestWithParam<int> { 4793fed47dbf8e6bc3d39d3f769cb5039551747257vladlosev}; 48f904a612d9444ab36c07a8e619c113432e046f49vladlosev 49f904a612d9444ab36c07a8e619c113432e046f49vladlosev// Test fixture for testing instantiation of a test in multiple 50f904a612d9444ab36c07a8e619c113432e046f49vladlosev// translation units. 51f904a612d9444ab36c07a8e619c113432e046f49vladlosevclass InstantiationInMultipleTranslaionUnitsTest 5293fed47dbf8e6bc3d39d3f769cb5039551747257vladlosev : public ::testing::TestWithParam<int> { 5393fed47dbf8e6bc3d39d3f769cb5039551747257vladlosev}; 54f904a612d9444ab36c07a8e619c113432e046f49vladlosev 55f904a612d9444ab36c07a8e619c113432e046f49vladlosev#endif // GTEST_HAS_PARAM_TEST 56f904a612d9444ab36c07a8e619c113432e046f49vladlosev 57f904a612d9444ab36c07a8e619c113432e046f49vladlosev#endif // GTEST_TEST_GTEST_PARAM_TEST_TEST_H_ 58