Path: blob/main/contrib/googletest/googlemock/test/gmock_all_test.cc
48254 views
// Copyright 2009, Google Inc.1// All rights reserved.2//3// Redistribution and use in source and binary forms, with or without4// modification, are permitted provided that the following conditions are5// met:6//7// * Redistributions of source code must retain the above copyright8// notice, this list of conditions and the following disclaimer.9// * Redistributions in binary form must reproduce the above10// copyright notice, this list of conditions and the following disclaimer11// in the documentation and/or other materials provided with the12// distribution.13// * Neither the name of Google Inc. nor the names of its14// contributors may be used to endorse or promote products derived from15// this software without specific prior written permission.16//17// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS18// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT19// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR20// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT21// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.2829//30// Tests for Google C++ Mocking Framework (Google Mock)31//32// Some users use a build system that Google Mock doesn't support directly,33// yet they still want to build and run Google Mock's own tests. This file34// includes most such tests, making it easier for these users to maintain35// their build scripts (they just need to build this file, even though the36// below list of actual *_test.cc files might change).37#include "test/gmock-actions_test.cc"38#include "test/gmock-cardinalities_test.cc"39#include "test/gmock-internal-utils_test.cc"40#include "test/gmock-matchers-arithmetic_test.cc"41#include "test/gmock-matchers-comparisons_test.cc"42#include "test/gmock-matchers-containers_test.cc"43#include "test/gmock-matchers-misc_test.cc"44#include "test/gmock-more-actions_test.cc"45#include "test/gmock-nice-strict_test.cc"46#include "test/gmock-port_test.cc"47#include "test/gmock-spec-builders_test.cc"48#include "test/gmock_test.cc"495051