-
class
TestFailure
: TestException
-
A test failure represents a negative test outcome.
That means that something that was tested
on purpose has produced a negative test result. So TestFailures are
generated when application domain functionality is tested.
Public Members:
-
TestFailure ( const string& message, const string& fileName = UNKNOWN_FILE, int line = UNKNOWN_LINE ) ;
-
Initialise the failure with a descriptive message.
Relies on the constructor of TestException.
-
TestFailure (const TestFailure& tf) ;
-
The copy-constructor
Relies on the copy-constructor of TestException.
-
virtual bool isError () const ;
-
Test if this exception is an error.
Retruns always false, because this is a failure, not an error.
The Scrunitizer C++ Unit Test Framework
by Bernd Linowski
[Scrunitizer]
[Overview]
[Cookbook]
[Download]
[Index]
[Linosphere]
Page generated: 1 Nov 2000
(C) by Bernd Linowski
scrunitizer@linosphere.de
|