gtest-1.7.0.rar
Google单元测试源码.
用于单体测试.
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 43769 2013-09-18 16:44 gtest-1.7.0aclocal.m4
文件 44826 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.guess
文件 1841 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.h.in
文件 35454 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.sub
文件 20334 2013-09-18 16:44 gtest-1.7.0uild-auxdepcomp
文件 13998 2013-09-18 16:44 gtest-1.7.0uild-auxinstall-sh
文件 283680 2013-09-18 16:44 gtest-1.7.0uild-auxltmain.sh
文件 10346 2013-09-18 16:44 gtest-1.7.0uild-auxmissing
文件 6645 2013-09-18 10:48 gtest-1.7.0CHANGES
文件 9548 2013-09-18 10:48 gtest-1.7.0cmakeinternal_utils.cmake
文件 9120 2013-09-18 10:48 gtest-1.7.0CMakeLists.txt
文件 10486 2013-09-18 10:48 gtest-1.7.0codegeargtest.cbproj
文件 2008 2013-09-18 10:48 gtest-1.7.0codegeargtest.groupproj
文件 1865 2013-09-18 10:48 gtest-1.7.0codegeargtest_all.cc
文件 1993 2013-09-18 10:48 gtest-1.7.0codegeargtest_link.cc
文件 8580 2013-09-18 10:48 gtest-1.7.0codegeargtest_main.cbproj
文件 8691 2013-09-18 10:48 gtest-1.7.0codegeargtest_unittest.cbproj
文件 564464 2013-09-18 16:44 gtest-1.7.0configure
文件 2574 2013-09-18 10:48 gtest-1.7.0configure.ac
文件 1358 2013-09-18 10:48 gtest-1.7.0CONTRIBUTORS
文件 354360 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest-all.cc
文件 830563 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest.h
文件 1765 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest_main.cc
文件 11523 2013-09-18 10:48 gtest-1.7.0includegtestgtest-death-test.h
文件 9186 2013-09-18 10:48 gtest-1.7.0includegtestgtest-message.h
文件 75864 2013-09-18 10:48 gtest-1.7.0includegtestgtest-param-test.h
文件 18796 2013-09-18 10:48 gtest-1.7.0includegtestgtest-param-test.h.pump
文件 31609 2013-09-18 10:48 gtest-1.7.0includegtestgtest-printers.h
文件 9952 2013-09-18 10:48 gtest-1.7.0includegtestgtest-spi.h
文件 6509 2013-09-18 10:48 gtest-1.7.0includegtestgtest-test-part.h
............此处省略178个文件信息
#!/usr/bin/env python
#
# Copyright 2009 Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms with or without
# modification are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
# LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
# SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
# LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE
# DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
“““fuse_gtest_files.py v0.2.0
Fuses Google Test source code into a .h file and a .cc file.
SYNOPSIS
fuse_gtest_files.py [GTEST_ROOT_DIR] OUTPUT_DIR
Scans GTEST_ROOT_DIR for Google Test source code and generates
two files: OUTPUT_DIR/gtest/gtest.h and OUTPUT_DIR/gtest/gtest-all.cc.
Then you can build your tests by adding OUTPUT_DIR to the include
search path and linking with OUTPUT_DIR/gtest/gtest-all.cc. These
two files contain everything you need to use Google Test. Hence
you can “install“ Google Test by copying them to wherever you want.
GTEST_ROOT_DIR can be omitted and defaults to the parent
directory of the directory holding this script.
EXAMPLES
./fuse_gtest_files.py fused_gtest
./fuse_gtest_files.py path/to/unpacked/gtest fused_gtest
This tool is experimental. In particular it assumes that there is no
conditional inclusion of Google Test headers. Please report any
problems to googletestframework@googlegroups.com. You can read
http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide for
more information.
“““
__author__ = ‘wan@google.com (Zhanyong Wan)‘
import os
import re
import sets
import sys
# We assume that this file is in the scripts/ directory in the Google
# Test root directory.
DEFAULT_GTEST_ROOT_DIR = os.path.join(os.path.dirname(__file__) ‘..‘)
# Regex for matching ‘#include “gtest/...“‘.
INCLUDE_GTEST_FILE_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 43769 2013-09-18 16:44 gtest-1.7.0aclocal.m4
文件 44826 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.guess
文件 1841 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.h.in
文件 35454 2013-09-18 16:44 gtest-1.7.0uild-auxconfig.sub
文件 20334 2013-09-18 16:44 gtest-1.7.0uild-auxdepcomp
文件 13998 2013-09-18 16:44 gtest-1.7.0uild-auxinstall-sh
文件 283680 2013-09-18 16:44 gtest-1.7.0uild-auxltmain.sh
文件 10346 2013-09-18 16:44 gtest-1.7.0uild-auxmissing
文件 6645 2013-09-18 10:48 gtest-1.7.0CHANGES
文件 9548 2013-09-18 10:48 gtest-1.7.0cmakeinternal_utils.cmake
文件 9120 2013-09-18 10:48 gtest-1.7.0CMakeLists.txt
文件 10486 2013-09-18 10:48 gtest-1.7.0codegeargtest.cbproj
文件 2008 2013-09-18 10:48 gtest-1.7.0codegeargtest.groupproj
文件 1865 2013-09-18 10:48 gtest-1.7.0codegeargtest_all.cc
文件 1993 2013-09-18 10:48 gtest-1.7.0codegeargtest_li
文件 8580 2013-09-18 10:48 gtest-1.7.0codegeargtest_main.cbproj
文件 8691 2013-09-18 10:48 gtest-1.7.0codegeargtest_unittest.cbproj
文件 564464 2013-09-18 16:44 gtest-1.7.0configure
文件 2574 2013-09-18 10:48 gtest-1.7.0configure.ac
文件 1358 2013-09-18 10:48 gtest-1.7.0CONTRIBUTORS
文件 354360 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest-all.cc
文件 830563 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest.h
文件 1765 2013-09-18 16:45 gtest-1.7.0fused-srcgtestgtest_main.cc
文件 11523 2013-09-18 10:48 gtest-1.7.0includegtestgtest-death-test.h
文件 9186 2013-09-18 10:48 gtest-1.7.0includegtestgtest-message.h
文件 75864 2013-09-18 10:48 gtest-1.7.0includegtestgtest-param-test.h
文件 18796 2013-09-18 10:48 gtest-1.7.0includegtestgtest-param-test.h.pump
文件 31609 2013-09-18 10:48 gtest-1.7.0includegtestgtest-printers.h
文件 9952 2013-09-18 10:48 gtest-1.7.0includegtestgtest-spi.h
文件 6509 2013-09-18 10:48 gtest-1.7.0includegtestgtest-test-part.h
............此处省略178个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)