Formatting changes
This commit is contained in:
		
							parent
							
								
									5aee6d7cba
								
							
						
					
					
						commit
						5bf664a82c
					
				@ -37,4 +37,4 @@
 | 
			
		||||
 | 
			
		||||
#define LinkTest LinkTest2
 | 
			
		||||
 | 
			
		||||
#include  "test/gmock_link_test.h"
 | 
			
		||||
#include "test/gmock_link_test.h"
 | 
			
		||||
 | 
			
		||||
@ -37,4 +37,4 @@
 | 
			
		||||
 | 
			
		||||
#define LinkTest LinkTest1
 | 
			
		||||
 | 
			
		||||
#include  "test/gmock_link_test.h"
 | 
			
		||||
#include "test/gmock_link_test.h"
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file defines the public API for death tests.  It is
 | 
			
		||||
// #included by gtest.h so a user doesn't need to include this
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file defines the Message class.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@
 | 
			
		||||
// Authors: vladl@google.com (Vlad Losev)
 | 
			
		||||
//
 | 
			
		||||
// Macros and functions for implementing parameterized tests
 | 
			
		||||
// in Google C++ Testing Framework (Google Test)
 | 
			
		||||
// in Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
@ -33,7 +33,7 @@ $var maxtuple = 10  $$ Maximum number of Combine arguments we want to support.
 | 
			
		||||
// Authors: vladl@google.com (Vlad Losev)
 | 
			
		||||
//
 | 
			
		||||
// Macros and functions for implementing parameterized tests
 | 
			
		||||
// in Google C++ Testing Framework (Google Test)
 | 
			
		||||
// in Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This file is generated by a SCRIPT.  DO NOT EDIT BY HAND!
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
 | 
			
		||||
// Google Test - The Google C++ Testing Framework
 | 
			
		||||
// Google Test - The Google C++ Testing and Mocking Framework
 | 
			
		||||
//
 | 
			
		||||
// This file implements a universal value printer that can print a
 | 
			
		||||
// value of any type T:
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file defines the public API for Google Test.  It should be
 | 
			
		||||
// included by any test program that uses Google Test.
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// Google C++ Testing Framework definitions useful in production code.
 | 
			
		||||
// Google C++ Testing and Mocking Framework definitions useful in production code.
 | 
			
		||||
 | 
			
		||||
#ifndef GTEST_INCLUDE_GTEST_GTEST_PROD_H_
 | 
			
		||||
#define GTEST_INCLUDE_GTEST_GTEST_PROD_H_
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
//
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file defines internal utilities needed for implementing
 | 
			
		||||
// death tests.  They are subject to change without notice.
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
//
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file declares functions and macros used internally by
 | 
			
		||||
// Google Test.  They are subject to change without notice.
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@
 | 
			
		||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | 
			
		||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file defines the GTEST_OS_* macro.
 | 
			
		||||
// It is separate from gtest-port.h so that custom/gtest-port.h can include it.
 | 
			
		||||
 | 
			
		||||
@ -813,7 +813,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
 | 
			
		||||
     (GTEST_OS_MAC && !GTEST_OS_IOS) ||                         \
 | 
			
		||||
     (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) ||          \
 | 
			
		||||
     GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \
 | 
			
		||||
     GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD ||    \
 | 
			
		||||
     GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD || \
 | 
			
		||||
     GTEST_OS_NETBSD || GTEST_OS_FUCHSIA)
 | 
			
		||||
# define GTEST_HAS_DEATH_TEST 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
//
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file declares the String class and functions used internally by
 | 
			
		||||
// Google Test.  They are subject to change without notice. They should not used
 | 
			
		||||
 | 
			
		||||
@ -56,7 +56,7 @@
 | 
			
		||||
 | 
			
		||||
namespace testing {
 | 
			
		||||
namespace internal {
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
// Canonicalizes a given name with respect to the Standard C++ Library.
 | 
			
		||||
// This handles removing the inline namespace within `std` that is
 | 
			
		||||
// used by various standard libraries (e.g., `std::__1`).  Names outside
 | 
			
		||||
 | 
			
		||||
@ -54,7 +54,7 @@ $var n = 50  $$ Maximum length of type lists we want to support.
 | 
			
		||||
 | 
			
		||||
namespace testing {
 | 
			
		||||
namespace internal {
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
// Canonicalizes a given name with respect to the Standard C++ Library.
 | 
			
		||||
// This handles removing the inline namespace within `std` that is
 | 
			
		||||
// used by various standard libraries (e.g., `std::__1`).  Names outside
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: mheule@google.com (Markus Heule)
 | 
			
		||||
//
 | 
			
		||||
// Google C++ Testing Framework (Google Test)
 | 
			
		||||
// Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// Sometimes it's desirable to build Google Test by compiling a single file.
 | 
			
		||||
// This file serves this purpose.
 | 
			
		||||
 | 
			
		||||
@ -184,7 +184,7 @@ bool KilledBySignal::operator()(int exit_status) const {
 | 
			
		||||
#  endif  // defined(GTEST_KILLED_BY_SIGNAL_OVERRIDE_)
 | 
			
		||||
  return WIFSIGNALED(exit_status) && WTERMSIG(exit_status) == signum_;
 | 
			
		||||
}
 | 
			
		||||
# endif  // !GTEST_OS_WINDOWS
 | 
			
		||||
# endif  // !GTEST_OS_WINDOWS && !GTEST_OS_FUCHSIA
 | 
			
		||||
 | 
			
		||||
namespace internal {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
 | 
			
		||||
// Google Test - The Google C++ Testing Framework
 | 
			
		||||
// Google Test - The Google C++ Testing and Mocking Framework
 | 
			
		||||
//
 | 
			
		||||
// This file implements a universal value printer that can print a
 | 
			
		||||
// value of any type T:
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: mheule@google.com (Markus Heule)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
 | 
			
		||||
#include "gtest/gtest-test-part.h"
 | 
			
		||||
#include "src/gtest-internal-inl.h"
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
 | 
			
		||||
#include "gtest/gtest.h"
 | 
			
		||||
#include "gtest/internal/custom/gtest.h"
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: vladl@google.com (Vlad Losev)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This file verifies Google Test event listeners receive events at the
 | 
			
		||||
// right times.
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Authors: vladl@google.com (Vlad Losev)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This header file provides classes and functions used internally
 | 
			
		||||
// for testing Google Test itself.
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
 | 
			
		||||
// Google Test - The Google C++ Testing Framework
 | 
			
		||||
// Google Test - The Google C++ Testing and Mocking Framework
 | 
			
		||||
//
 | 
			
		||||
// This file tests the universal value printer.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: vladl@google.com (Vlad Losev)
 | 
			
		||||
//
 | 
			
		||||
// The Google C++ Testing Framework (Google Test)
 | 
			
		||||
// The Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// This file contains tests verifying correctness of data provided via
 | 
			
		||||
// UnitTest's public methods.
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
//
 | 
			
		||||
// Author: wan@google.com (Zhanyong Wan)
 | 
			
		||||
//
 | 
			
		||||
// Tests for Google C++ Testing Framework (Google Test)
 | 
			
		||||
// Tests for Google C++ Testing and Mocking Framework (Google Test)
 | 
			
		||||
//
 | 
			
		||||
// Sometimes it's desirable to build most of Google Test's own tests
 | 
			
		||||
// by compiling a single file.  This file serves this purpose.
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | 
			
		||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
"""Tests the --help flag of Google C++ Testing Framework.
 | 
			
		||||
"""Tests the --help flag of Google C++ Testing and Mocking Framework.
 | 
			
		||||
 | 
			
		||||
SYNOPSIS
 | 
			
		||||
       gtest_help_test.py --build_dir=BUILD/DIR
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@
 | 
			
		||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | 
			
		||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
"""Tests the text output of Google C++ Testing Framework.
 | 
			
		||||
"""Tests the text output of Google C++ Testing and Mocking Framework.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
SYNOPSIS
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,7 @@
 | 
			
		||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | 
			
		||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
"""Unit test utilities for Google C++ Testing Framework."""
 | 
			
		||||
"""Unit test utilities for Google C++ Testing and Mocking Framework."""
 | 
			
		||||
# Suppresses the 'Import not at the top of the file' lint complaint.
 | 
			
		||||
# pylint: disable-msg=C6204
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -404,7 +404,7 @@ TEST(CanonicalizeForStdLibVersioning, ElidesDoubleUnderNames) {
 | 
			
		||||
            CanonicalizeForStdLibVersioning("std::__google::bind"));
 | 
			
		||||
  EXPECT_EQ("std::_", CanonicalizeForStdLibVersioning("std::__google::_"));
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
// Tests FormatTimeInMillisAsSeconds().
 | 
			
		||||
 | 
			
		||||
TEST(FormatTimeInMillisAsSecondsTest, FormatsZero) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user