Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(255)

Issue 12499: Making command line option variables available from a test case source (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
17 years, 3 months ago by Alexander
Modified:
16 years, 9 months ago
Reviewers:
Vlad, Zhanyong
Base URL:
http://googletest.googlecode.com/svn/trunk/
Visibility:
Public.

Description

This patch makes the internal Google Test variables corresponding to the command line options available from the test source. It helps to changes the behavior of Google Test from the source instead of using the command line options or environment variables.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -11 lines) Patch
M include/gtest/gtest.h View 1 chunk +35 lines, -0 lines 0 comments Download
M src/gtest-internal-inl.h View 1 chunk +0 lines, -11 lines 0 comments Download
M test/gtest_unittest.cc View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Alexander
Please review my code.
17 years, 3 months ago (2009-01-24 01:55:21 UTC) #1
Alexander
17 years, 3 months ago (2009-01-24 01:56:19 UTC) #2
On 2009/01/24 01:55:21, Alexander wrote:
> Please review my code.

I've moved the declarations of the Google Test command line option variables
from testing::internal to the public area making it visible from any test case
source and main(). Prior to this patch it was impossible to change option
directly, only using the command line switches or environment variables.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b