Googletest export
Update a broken link in a comment. PiperOrigin-RevId: 257493975
This commit is contained in:
		
							parent
							
								
									35209bed98
								
							
						
					
					
						commit
						5782c5f2bc
					
				@ -3,6 +3,7 @@
 | 
			
		||||
# This file can be validated on:
 | 
			
		||||
# http://lint.travis-ci.org/
 | 
			
		||||
 | 
			
		||||
sudo: false
 | 
			
		||||
language: cpp
 | 
			
		||||
 | 
			
		||||
# Define the matrix explicitly, manually expanding the combinations of (os, compiler, env).
 | 
			
		||||
@ -10,17 +11,20 @@ language: cpp
 | 
			
		||||
matrix:
 | 
			
		||||
  include:
 | 
			
		||||
    - os: linux
 | 
			
		||||
      sudo: required
 | 
			
		||||
      before_install: chmod -R +x ./ci/*platformio.sh 
 | 
			
		||||
      install: ./ci/install-platformio.sh
 | 
			
		||||
      script: ./ci/build-platformio.sh      
 | 
			
		||||
    - os: linux
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      compiler: gcc
 | 
			
		||||
      sudo : true
 | 
			
		||||
      install: ./ci/install-linux.sh && ./ci/log-config.sh
 | 
			
		||||
      script: ./ci/build-linux-bazel.sh
 | 
			
		||||
    - os: linux
 | 
			
		||||
      dist: xenial
 | 
			
		||||
      compiler: clang
 | 
			
		||||
      sudo : true
 | 
			
		||||
      install: ./ci/install-linux.sh && ./ci/log-config.sh
 | 
			
		||||
      script: ./ci/build-linux-bazel.sh
 | 
			
		||||
    - os: linux
 | 
			
		||||
@ -48,7 +52,7 @@ install:
 | 
			
		||||
 | 
			
		||||
script: ./ci/travis.sh
 | 
			
		||||
 | 
			
		||||
# This section installs the necessary dependencies.
 | 
			
		||||
# For sudo=false builds this section installs the necessary dependencies.
 | 
			
		||||
addons:
 | 
			
		||||
  apt:
 | 
			
		||||
    # List of whitelisted in travis packages for ubuntu-precise can be found here:
 | 
			
		||||
 | 
			
		||||
@ -80,7 +80,7 @@ itself is a valuable contribution.
 | 
			
		||||
 | 
			
		||||
To keep the source consistent, readable, diffable and easy to merge,
 | 
			
		||||
we use a fairly rigid coding style, as defined by the [google-styleguide](https://github.com/google/styleguide) project.  All patches will be expected
 | 
			
		||||
to conform to the style outlined [here](https://google.github.io/styleguide/cppguide.html).
 | 
			
		||||
to conform to the style outlined [here](https://google.github.io/styleguide/cppguide.html). 
 | 
			
		||||
Use [.clang-format](https://github.com/google/googletest/blob/master/.clang-format) to check your formatting
 | 
			
		||||
 | 
			
		||||
## Requirements for Contributors ###
 | 
			
		||||
@ -136,7 +136,7 @@ gtest-type-util.h in the same directory.
 | 
			
		||||
You don't need to worry about regenerating the source files
 | 
			
		||||
unless you need to modify them.  You would then modify the
 | 
			
		||||
corresponding `.pump` files and run the '[pump.py](googletest/scripts/pump.py)'
 | 
			
		||||
generator script.  See the [Pump Manual](googletest/docs/pump_manual.md).
 | 
			
		||||
generator script.  See the [Pump Manual](googletest/docs/PumpManual.md).
 | 
			
		||||
 | 
			
		||||
## Developing Google Mock ###
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -268,7 +268,7 @@ class ActionHelper {
 | 
			
		||||
// MORE INFORMATION:
 | 
			
		||||
//
 | 
			
		||||
// To learn more about using these macros, please search for 'ACTION' on
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md
 | 
			
		||||
 | 
			
		||||
// An internal macro needed for implementing ACTION*().
 | 
			
		||||
#define GMOCK_ACTION_ARG_TYPES_AND_NAMES_UNUSED_\
 | 
			
		||||
 | 
			
		||||
@ -191,7 +191,7 @@ $template
 | 
			
		||||
// MORE INFORMATION:
 | 
			
		||||
//
 | 
			
		||||
// To learn more about using these macros, please search for 'ACTION' on
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md
 | 
			
		||||
 | 
			
		||||
$range i 0..n
 | 
			
		||||
$range k 0..n-1
 | 
			
		||||
 | 
			
		||||
@ -263,7 +263,7 @@ $$ }} This line fixes auto-indentation of the following code in Emacs.
 | 
			
		||||
//
 | 
			
		||||
// To learn more about using these macros, please search for 'MATCHER'
 | 
			
		||||
// on
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md
 | 
			
		||||
// https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md
 | 
			
		||||
 | 
			
		||||
$range i 0..n
 | 
			
		||||
$for i
 | 
			
		||||
 | 
			
		||||
@ -292,7 +292,7 @@ void ReportUninterestingCall(CallReaction reaction, const std::string& msg) {
 | 
			
		||||
              "an EXPECT_CALL() if you don't mean to enforce the call.  "
 | 
			
		||||
              "See "
 | 
			
		||||
              "https://github.com/google/googletest/blob/master/googlemock/"
 | 
			
		||||
              "docs/cook_book.md#"
 | 
			
		||||
              "docs/CookBook.md#"
 | 
			
		||||
              "knowing-when-to-expect for details.\n",
 | 
			
		||||
          stack_frames_to_skip);
 | 
			
		||||
      break;
 | 
			
		||||
 | 
			
		||||
@ -2178,7 +2178,7 @@ class GMockVerboseFlagTest : public VerboseFlagPreservingFixture {
 | 
			
		||||
        "an EXPECT_CALL() if you don't mean to enforce the call.  "
 | 
			
		||||
        "See "
 | 
			
		||||
        "https://github.com/google/googletest/blob/master/googlemock/docs/"
 | 
			
		||||
        "cook_book.md#"
 | 
			
		||||
        "CookBook.md#"
 | 
			
		||||
        "knowing-when-to-expect for details.";
 | 
			
		||||
 | 
			
		||||
    // A void-returning function.
 | 
			
		||||
 | 
			
		||||
@ -75,14 +75,14 @@ GMOCK WARNING:
 | 
			
		||||
Uninteresting mock function call - returning default value.
 | 
			
		||||
    Function call: Bar2(0, 1)
 | 
			
		||||
          Returns: false
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md#knowing-when-to-expect for details.
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
 | 
			
		||||
[       OK ] GMockOutputTest.UninterestingCall
 | 
			
		||||
[ RUN      ] GMockOutputTest.UninterestingCallToVoidFunction
 | 
			
		||||
 | 
			
		||||
GMOCK WARNING:
 | 
			
		||||
Uninteresting mock function call - returning directly.
 | 
			
		||||
    Function call: Bar3(0, 1)
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md#knowing-when-to-expect for details.
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
 | 
			
		||||
[       OK ] GMockOutputTest.UninterestingCallToVoidFunction
 | 
			
		||||
[ RUN      ] GMockOutputTest.RetiredExpectation
 | 
			
		||||
unknown file: Failure
 | 
			
		||||
@ -266,14 +266,14 @@ Uninteresting mock function call - taking default action specified at:
 | 
			
		||||
FILE:#:
 | 
			
		||||
    Function call: Bar2(2, 2)
 | 
			
		||||
          Returns: true
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md#knowing-when-to-expect for details.
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
 | 
			
		||||
 | 
			
		||||
GMOCK WARNING:
 | 
			
		||||
Uninteresting mock function call - taking default action specified at:
 | 
			
		||||
FILE:#:
 | 
			
		||||
    Function call: Bar2(1, 1)
 | 
			
		||||
          Returns: false
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/cook_book.md#knowing-when-to-expect for details.
 | 
			
		||||
NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect for details.
 | 
			
		||||
[       OK ] GMockOutputTest.UninterestingCallWithDefaultAction
 | 
			
		||||
[ RUN      ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user