summaryrefslogtreecommitdiff
path: root/src/cppunit/RepeatedTest.cpp
diff options
context:
space:
mode:
authorSteve M. Robbins <smr@sumost.ca>2001-09-30 16:21:56 +0000
committerSteve M. Robbins <smr@sumost.ca>2001-09-30 16:21:56 +0000
commit32fff17f6f0ec18f0deba13fed5c261b8913fd66 (patch)
tree50f7a1777ef7faf2830a216592d9ddfb0b7b9ccf /src/cppunit/RepeatedTest.cpp
parentc4d97b4d586fdae21a02aff7a02605ffd487b188 (diff)
downloadcppunit-32fff17f6f0ec18f0deba13fed5c261b8913fd66.tar.gz
Distribute contrib/msvc/*.
Add const qualifier to countTestCases() and toString() of RepeatedTest.
Diffstat (limited to 'src/cppunit/RepeatedTest.cpp')
-rw-r--r--src/cppunit/RepeatedTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/RepeatedTest.cpp b/src/cppunit/RepeatedTest.cpp
index 10f99d0..bfe1f72 100644
--- a/src/cppunit/RepeatedTest.cpp
+++ b/src/cppunit/RepeatedTest.cpp
@@ -7,7 +7,7 @@ namespace CppUnit {
// Counts the number of test cases that will be run by this test.
int
-RepeatedTest::countTestCases()
+RepeatedTest::countTestCases() const
{
return TestDecorator::countTestCases () * m_timesRepeat;
}
@@ -15,7 +15,7 @@ RepeatedTest::countTestCases()
// Returns the name of the test instance.
std::string
-RepeatedTest::toString()
+RepeatedTest::toString() const
{
return TestDecorator::toString () + " (repeated)";
}