Last change
on this file since 91 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
610 bytes
|
Rev | Line | |
---|
[2] | 1 | /* |
---|
| 2 | * $Id: Parameters_test.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
[43] | 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Parameters::test" |
---|
[2] | 16 | void Parameters::test (void) |
---|
| 17 | { |
---|
[43] | 18 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
[78] | 19 | |
---|
| 20 | Parameters_test x = msg_error(); |
---|
[2] | 21 | |
---|
[82] | 22 | std::cerr << x.print(); |
---|
[78] | 23 | |
---|
| 24 | if (x.have_error()) |
---|
[88] | 25 | throw ERRORMORPHEO (FUNCTION,_("Error(s) in parameters\n")); |
---|
[78] | 26 | |
---|
[43] | 27 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
[2] | 28 | }; |
---|
| 29 | |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.