source:
liblaziness/test/test_base.cc
@
4
Last change on this file since 4 was 4, checked in by artyom, 13 years ago | |
---|---|
File size: 366 bytes |
Rev | Line | |
---|---|---|
[4] | 1 | #include "test_base.h" |
2 | #include <iostream> | |
3 | ||
4 | TestFailed::TestFailed(const std::string& message) throw() : std::exception(), message(message) { } | |
5 | ||
6 | TestFailed::~TestFailed() throw() { } | |
7 | ||
8 | const char* TestFailed::what() const throw() | |
9 | { | |
10 | return message.c_str(); | |
11 | } | |
12 | ||
13 | StringStream& StringStream::empty() | |
14 | { | |
15 | str(""); | |
16 | return *this; | |
17 | } | |
18 | ||
19 | void assertTick() | |
20 | { | |
21 | std::cout << '.'; | |
22 | } |
Note: See TracBrowser
for help on using the repository browser.