summaryrefslogtreecommitdiff
path: root/test/gtest-param-test_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add support for named value-parameterized tests.kosak@google.com2015-07-241-0/+151
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@735 861a406c-534a-0410-8894-cb66d6ee9925
* Export tuple and friends in the ::testing namespace.kosak@google.com2014-04-021-3/+3
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@682 861a406c-534a-0410-8894-cb66d6ee9925
* Prints a useful message when GetParam() is called in a non-parameterized test.zhanyong.wan2013-03-121-0/+7
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@645 861a406c-534a-0410-8894-cb66d6ee9925
* Unfortunately, the svn repo is a bit out of date. This commit contains 8jgm@google.com2012-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes that haven't made it to svn. The descriptions of each change are listed below. - Fixes some python shebang lines. - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of its input elements before the conversion to a Matcher. ElementsAreArray can now take a vector as input. ElementsAreArray can now take an iterator pair as input. - Templatize MatchAndExplain to allow independent string types for the matcher and matchee. I also templatized the ConstCharPointer version of MatchAndExplain to avoid calls with "char*" from using the new templated MatchAndExplain. - Fixes the bug where the constructor of the return type of ElementsAre() saves a reference instead of a copy of the arguments. - Extends ElementsAre() to accept arrays whose sizes aren't known. - Switches gTest's internal FilePath class from testing::internal::String to std::string. testing::internal::String was introduced when gTest couldn't depend on std::string. It's now deprecated. - Switches gTest & gMock from using testing::internal::String objects to std::string. Some static methods of String are still in use. We may be able to remove some but not all of them. In particular, String::Format() should eventually be removed as it truncates the result at 4096 characters, often causing problems. git-svn-id: http://googletest.googlecode.com/svn/trunk@628 861a406c-534a-0410-8894-cb66d6ee9925
* Improves conformance to the Google C++ Style Guide (by Greg Miller).vladlosev2011-11-041-0/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@607 861a406c-534a-0410-8894-cb66d6ee9925
* Indents preprocessor directives.zhanyong.wan2011-02-221-16/+16
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@544 861a406c-534a-0410-8894-cb66d6ee9925
* Adds type_param and value_param as <testcase> attributes to the XMLzhanyong.wan2011-02-021-9/+5
| | | | | | | | | report; also removes the comment() and test_case_comment() fields of TestInfo. Proposed and initally implemented by Joey Oravec. Re-implemented by Vlad Losev. git-svn-id: http://googletest.googlecode.com/svn/trunk@537 861a406c-534a-0410-8894-cb66d6ee9925
* Allows a value-parameterized test fixture to derive from Test and ↵zhanyong.wan2010-12-061-0/+33
| | | | | | WithParamInterface<T> separately; contributed by Matt Austern. git-svn-id: http://googletest.googlecode.com/svn/trunk@526 861a406c-534a-0410-8894-cb66d6ee9925
* Include gtest headers as user headers instead of system headers.zhanyong.wan2010-09-141-1/+1
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@482 861a406c-534a-0410-8894-cb66d6ee9925
* Implements printing parameters of failed parameterized tests (issue 71).vladlosev2010-05-181-4/+35
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@435 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes comments and tests for the moment of generator parameter evaluation in ↵vladlosev2010-03-201-8/+19
| | | | | | INSTANTIATE_TEST_CASE_P. git-svn-id: http://googletest.googlecode.com/svn/trunk@396 861a406c-534a-0410-8894-cb66d6ee9925
* Fixes a C++ standard conformance bug in gtest-param-test_test.cc.zhanyong.wan2010-02-171-37/+69
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@375 861a406c-534a-0410-8894-cb66d6ee9925
* Turns on -Wshadow (by Preston Jackson).zhanyong.wan2009-12-161-2/+2
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@350 861a406c-534a-0410-8894-cb66d6ee9925
* Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). ↵zhanyong.wan2009-05-291-1/+1
| | | | | | Minor format adjustments. git-svn-id: http://googletest.googlecode.com/svn/trunk@257 861a406c-534a-0410-8894-cb66d6ee9925
* Cleans up macro definitions.zhanyong.wan2009-02-231-7/+7
| | | | git-svn-id: http://googletest.googlecode.com/svn/trunk@195 861a406c-534a-0410-8894-cb66d6ee9925
* Use <tuple> instead of <tr1/tuple> when the compiler is not gcc, to conform ↵shiqian2008-12-091-4/+0
| | | | | | with the TR1 spec. git-svn-id: http://googletest.googlecode.com/svn/trunk@152 861a406c-534a-0410-8894-cb66d6ee9925
* Value-parameterized tests and many bugfixesvladlosev2008-11-201-0/+796
git-svn-id: http://googletest.googlecode.com/svn/trunk@120 861a406c-534a-0410-8894-cb66d6ee9925