|
| BasicFormater (std::ostream &stream) |
|
void | testSkipped (std::string const &fixture, std::string const &scenario) noexceptoverride |
|
void | testDisabled (std::string const &fixture, std::string const &scenario) noexceptoverride |
|
void | afterFailed (const std::string &reason) noexceptoverride |
|
void | beforeFailed (const std::string &reason) noexceptoverride |
|
void | createFailed (const std::string &reason) noexceptoverride |
|
void | endTest () noexceptoverride |
|
void | endTests () noexceptoverride |
|
void | runFailed (const std::string &reason) noexceptoverride |
|
void | startTest (std::string const &fixture, std::string const &scenario, std::string const &type) noexceptoverride |
|
void | startTests () noexceptoverride |
|
void | expectFailed (std::string const &file, std::string const &line, const std::string &content) noexceptoverride |
|
void | unexpectedCall (std::string const &file, std::string const &line, void const *objectId, const std::string &signature, const std::string &arguments) noexceptoverride |
|
| Formater (std::ostream &logStream) |
|
|
std::ostream & | stream () noexcept |
|
rili::test::BasicFormater::BasicFormater |
( |
std::ostream & |
stream | ) |
|
|
explicit |
Constructs BasicFromater, gven in parameter stream will be used to flush tests results.
- Parameters
-
void rili::test::BasicFormater::afterFailed |
( |
const std::string & |
reason | ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::beforeFailed |
( |
const std::string & |
reason | ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::createFailed |
( |
const std::string & |
reason | ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::endTest |
( |
| ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::endTests |
( |
| ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::expectFailed |
( |
std::string const & |
file, |
|
|
std::string const & |
line, |
|
|
const std::string & |
content |
|
) |
| |
|
overridevirtualnoexcept |
is called on any expectation failure
- Parameters
-
file | contain expectation file |
line | contain expectation line |
content | contain expectation reason or description |
Implements rili::test::Formater.
void rili::test::BasicFormater::runFailed |
( |
const std::string & |
reason | ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::startTest |
( |
std::string const & |
fixture, |
|
|
std::string const & |
scenario, |
|
|
std::string const & |
type |
|
) |
| |
|
overridevirtualnoexcept |
is called when single test exacution is started
- Parameters
-
fixture | - test fixture name |
scenario | - test scenario name |
type | - test scenario type name |
Implements rili::test::Formater.
void rili::test::BasicFormater::startTests |
( |
| ) |
|
|
overridevirtualnoexcept |
void rili::test::BasicFormater::testDisabled |
( |
std::string const & |
fixture, |
|
|
std::string const & |
scenario |
|
) |
| |
|
overridevirtualnoexcept |
is called when detected that test is disabled
- Parameters
-
fixture | test fixture name |
scenario | test scenario name |
Implements rili::test::Formater.
void rili::test::BasicFormater::testSkipped |
( |
std::string const & |
fixture, |
|
|
std::string const & |
scenario |
|
) |
| |
|
overridevirtualnoexcept |
is called when detected that test is skipped
- Parameters
-
fixture | test fixture name |
scenario | test scenario name |
Implements rili::test::Formater.
void rili::test::BasicFormater::unexpectedCall |
( |
std::string const & |
file, |
|
|
std::string const & |
line, |
|
|
void const * |
objectId, |
|
|
const std::string & |
signature, |
|
|
const std::string & |
arguments |
|
) |
| |
|
overridevirtualnoexcept |
is used when is detected unexpected call on mocked object
- Parameters
-
file | contain file path where mock was created |
line | contain line number where mock was created |
objectId | pointer to object (it this ) |
signature | stringified signature of mocked function |
arguments | arguments with which mocked method was called (if argument is converitable to string) |
Implements rili::test::Formater.
The documentation for this class was generated from the following file: