diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 18:11:13 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 18:11:13 +0000 |
| commit | c86c0cf088492e02431dffb1f860ff2f6faa492d (patch) | |
| tree | 1191879314028bb8f58daf45d48dacc6ba9ea583 /src/unit | |
| parent | 5ec9a131e12d021c42b46b601f5e79502485bebb (diff) | |
| download | libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.gz libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.bz2 libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.xz libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.zip | |
The taf system is new and improved. The writer works, we added C++ style
comment blocks, and it retains the order of all nodes.
Diffstat (limited to '')
| -rw-r--r-- | src/unit/taf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit/taf.cpp b/src/unit/taf.cpp index ab485d0..5e0e914 100644 --- a/src/unit/taf.cpp +++ b/src/unit/taf.cpp | |||
| @@ -32,7 +32,7 @@ public: | |||
| 32 | Bu::File fIn(sFnTmp.c_str(), "rb"); | 32 | Bu::File fIn(sFnTmp.c_str(), "rb"); |
| 33 | Bu::TafReader tr(fIn); | 33 | Bu::TafReader tr(fIn); |
| 34 | 34 | ||
| 35 | Bu::TafNode *tn = tr.getNode(); | 35 | Bu::TafGroup *tn = tr.readGroup(); |
| 36 | unitTest( !strcmp("Bob", tn->getProperty("name").c_str()) ); | 36 | unitTest( !strcmp("Bob", tn->getProperty("name").c_str()) ); |
| 37 | delete tn; | 37 | delete tn; |
| 38 | 38 | ||
