Enhancement - Object rename prior to integration

- T -> T2
- TDB -> TDB2
This commit is contained in:
Paul Beckingham 2009-05-31 01:10:39 -04:00
parent 766c2d3620
commit fe4c8f3a9d
12 changed files with 96 additions and 81 deletions

View file

@ -30,7 +30,7 @@
////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv)
{
UnitTest t (36);
UnitTest t (38);
Att a1 ("name", "value");
t.is (a1.name (), "name", "Att::Att (name, value), Att.name");
@ -73,6 +73,12 @@ int main (int argc, char** argv)
try {a6.addMod (Mod ("fartwizzle"));} catch (...) {good = false;}
t.notok (good, "Att::addMod (fartwizzle)");
// Att::mods
std::vector <Mod> mods;
a6.mods (mods);
t.is (mods.size (), (size_t)1, "Att::mods () size == 1");
t.is (mods[0], "is", "Att::mods [0] == 'is'");
// Att::parse
Nibbler n ("");
Att a7;