Changeset 1041 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGGenericInterfaceTest.cpp
- Timestamp:
- 01/24/08 15:11:54 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGGenericInterfaceTest.cpp
r1033 r1041 158 158 CHECK_EQUAL(n0->getChildren()[1], n2); 159 159 160 // insert a child 160 // insert a child, n0 -- [n1, n3, n2] 161 161 childEH->insert(1, n3); 162 162 … … 169 169 CHECK_EQUAL(n3->getParent(), n0); 170 170 171 // remove a child by index 171 // remove a child by index, n0 -- [n3, n2] 172 172 childEH->sub(0); 173 173 … … 177 177 CHECK(n1->getParent() == NullFC); 178 178 179 // attempt to remove a child that is not there 179 // attempt to remove a child that is not there, n0 -- [n3, n2] 180 180 childEH->subObject(n1); 181 181 … … 184 184 CHECK_EQUAL(n0->getChildren()[1], n2); 185 185 186 // remove a child by object 186 // remove a child by object, n0 -- [n3] 187 187 childEH->subObject(n2); 188 188 … … 191 191 CHECK(n2->getParent() == NullFC); 192 192 193 // replace by index 193 // replace by index, n0 -- [n1] 194 194 childEH->replace(0, n1); 195 195 … … 199 199 CHECK(n1->getParent() == n0 ); 200 200 201 // replace by object 201 // replace by object, n0 -- [n2] 202 202 childEH->replaceObject(n1, n2); 203 203
