Merge back the whole branches/hugo++ to trunk.
3 #include <hugo/error.h>
4 #include "test_tools.h"
10 fault("This is a fault message");
14 throw Exception("This is a fn throwing excpt with some args: ")
18 void unfinished_fn() {
19 FIXME("unfinished_fn() is unfinished!");
26 check(false, "A faulty function did not fail.");
28 catch(const Exception &e) {
29 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;
34 check(false, "The function did not throw Exception.");
36 catch(const Exception &e) {
37 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;
42 check(false, "FIXME macro does not work.");
44 catch(const Exception &e) {
45 cout << "Exeption = \"" << e.what() << "\" (Right behaviour)" << endl;