diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2003-03-15 07:55:29 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2003-03-15 07:55:29 +0000 |
| commit | 3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3 (patch) | |
| tree | 1019aa01a2632535be2efa91738338eceebb61dc /src/cppunit/XmlOutputter.cpp | |
| parent | 97bf50c5b400b6304511286580c8ee160629a8a5 (diff) | |
| download | cppunit-3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3.tar.gz | |
Src/cppunit/CompilerOutputter.
src/cppunit/CompilerOutputter.cpp:
* src/cppunit/ProtectorChain.cpp:
* src/cppunit/StringTools.cpp:
* src/cppunit/TestPath.cpp:
* src/cppunit/TypeInfoHelper.cpp:
* src/cppunit/XmlElement.cpp:
* src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to
avoid signed/unsigned warning in vc7.
* include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export
on template (caused link error on vc7).
Diffstat (limited to 'src/cppunit/XmlOutputter.cpp')
| -rw-r--r-- | src/cppunit/XmlOutputter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/XmlOutputter.cpp b/src/cppunit/XmlOutputter.cpp index 83c8905..8453424 100644 --- a/src/cppunit/XmlOutputter.cpp +++ b/src/cppunit/XmlOutputter.cpp @@ -100,7 +100,7 @@ XmlOutputter::addFailedTests( FailedTests &failedTests, rootNode->addElement( testsNode ); const TestResultCollector::Tests &tests = m_result->tests(); - for ( int testNumber = 0; testNumber < tests.size(); ++testNumber ) + for ( unsigned int testNumber = 0; testNumber < tests.size(); ++testNumber ) { Test *test = tests[testNumber]; if ( failedTests.find( test ) != failedTests.end() ) @@ -117,7 +117,7 @@ XmlOutputter::addSuccessfulTests( FailedTests &failedTests, rootNode->addElement( testsNode ); const TestResultCollector::Tests &tests = m_result->tests(); - for ( int testNumber = 0; testNumber < tests.size(); ++testNumber ) + for ( unsigned int testNumber = 0; testNumber < tests.size(); ++testNumber ) { Test *test = tests[testNumber]; if ( failedTests.find( test ) == failedTests.end() ) |
