Rev | Line | |
---|
[2] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | * Test Configuration |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include <string> |
---|
| 10 | #include <iostream> |
---|
| 11 | |
---|
| 12 | #include "../SelfTest/SelfTest.h" |
---|
| 13 | #include "Configuration.h" |
---|
| 14 | |
---|
| 15 | using namespace std; |
---|
| 16 | using namespace morpheo; |
---|
| 17 | using namespace morpheo::selftest; |
---|
| 18 | using namespace morpheo::configuration; |
---|
| 19 | |
---|
| 20 | int main (void) |
---|
| 21 | { |
---|
| 22 | cout << "<main> : SelfTest of Configuration" << endl; |
---|
| 23 | |
---|
| 24 | /* |
---|
| 25 | cout << "<main> : Test[0] -> Configuration without a good file" << endl; |
---|
| 26 | Configuration config0 ("data/test0.xml"); |
---|
| 27 | */ |
---|
| 28 | |
---|
| 29 | cout << "<main> : Test[1] -> Parse the minimum file" << endl; |
---|
| 30 | Configuration config1 ("data/test.xml"); |
---|
| 31 | |
---|
| 32 | cout << "<main> : All Test passed with Success" << endl; |
---|
| 33 | |
---|
| 34 | return (EXIT_SUCCESS); |
---|
| 35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.