source:
liblaziness/test/test_base.cc
@
23
| Last change on this file since 23 was 4, checked in by artyom, 13 years ago | |
|---|---|
| File size: 366 bytes | |
| Line | |
|---|---|
| 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.
![(please configure the [header_logo] section in trac.ini)](/trac/tamop/chrome/site/your_project_logo.png)