CppUnit project page
FAQ
Deprecated List
Member
Asserter::fail
(std::string message, const
SourceLine
&sourceLine=
SourceLine()
)
Use fail( Message, SourceLine ) instead.
Member
Asserter::failIf
(bool shouldFail, std::string message, const
SourceLine
&sourceLine=
SourceLine()
)
Use failIf( bool, Message, SourceLine ) instead.
Member
Asserter::makeExpected
(const std::string &expectedValue)
Use makeExpectedEqual instead
Member
Asserter::makeNotEqualMessage
(const std::string &expectedValue, const std::string &actualValue, const
AdditionalMessage
&additionalMessage=
AdditionalMessage()
, const std::string &shortDescription="equality assertion failed")
Use makeMessage instead
Member
CompilerOutputter::defaultOutputter
(
TestResultCollector
*result, OStream &stream)
This class is specialized through parameterization instead of subclassing... Use
CompilerOutputter::CompilerOutputter
instead.
Member
CPPUNIT_TEST_EXCEPTION
(testMethod, ExceptionType)
Use the assertion macro CPPUNIT_ASSERT_THROW instead.
Member
CPPUNIT_TEST_FAIL
(testMethod)
Use the assertion macro CPPUNIT_ASSERT_ASSERTION_FAIL instead.
Member
TestCase::TestCase
()
This constructor was used by fixture when
TestFixture
did not exist. Have your fixture inherits
TestFixture
instead of
TestCase
.
Member
TestFactoryRegistry::registerFactory
(const std::string &name,
TestFactory
*factory)
Use
registerFactory( TestFactory *)
instead.
Member
TestSuite::getTests
() const
Use
getChildTestCount()
&
getChildTestAt()
of the
TestComposite
interface instead.
Member
TextUi::TestRunner
Use
TextTestRunner
instead.
Send comments to:
CppUnit Developers