aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest-internal-inl.h
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2013-04-25 17:58:52 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2013-04-25 17:58:52 +0000
commitc506784b08473f3ba8f37d588fd08d8d3f948245 (patch)
tree974ef77e56b205a43cc7dbe8005d65391668e537 /src/gtest-internal-inl.h
parentc84afbeaf1003ae2d4a0f6d36bbb8938bc73bbc7 (diff)
downloadgoogletest-c506784b08473f3ba8f37d588fd08d8d3f948245.tar.gz
googletest-c506784b08473f3ba8f37d588fd08d8d3f948245.tar.bz2
googletest-c506784b08473f3ba8f37d588fd08d8d3f948245.zip
When --gtest_filter is specified, XML report now doesn't contain information about tests that are filtered out (issue 141).
Diffstat (limited to 'src/gtest-internal-inl.h')
-rw-r--r--src/gtest-internal-inl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtest-internal-inl.h b/src/gtest-internal-inl.h
index 302b6cdb..35df303c 100644
--- a/src/gtest-internal-inl.h
+++ b/src/gtest-internal-inl.h
@@ -550,9 +550,15 @@ class GTEST_API_ UnitTestImpl {
// Gets the number of failed tests.
int failed_test_count() const;
+ // Gets the number of disabled tests that will be reported in the XML report.
+ int reportable_disabled_test_count() const;
+
// Gets the number of disabled tests.
int disabled_test_count() const;
+ // Gets the number of tests to be printed in the XML report.
+ int reportable_test_count() const;
+
// Gets the number of all tests.
int total_test_count() const;