fix glitch in test definition

uncovered since rand() is now properly seeded
prior to each testsuite run
This commit is contained in:
Fischlurch 2011-10-21 02:41:20 +02:00
parent fb48ec70f0
commit d48dc3b025
2 changed files with 4 additions and 4 deletions

View file

@ -90,7 +90,7 @@ namespace test {
string
display(Symbol name) const
{
static format fmt("%s(ID=%4d)");
static format fmt("%s(ID=%03d)");
return boost::str(fmt % name % this->id_);
}
};

View file

@ -96,9 +96,9 @@ out: Placement.+mobject.+test.+TestSubMO1.+. use-cnt=1 .*
out: Placement.+mobject.+test.+TestSubMO2.+. use-cnt=1 .*
out: Placement.+mobject.+test.+TestSubMO21.+ use-cnt=2 .*
out: Placement.+mobject.+session.+Clip.+.... use-cnt=2 .*
out: TestSubMO1\(ID= [0-9]{3}\)
out: TestSubMO2\(ID= [0-9]{3}\)
out: TestSubMO21\(ID= [0-9]{3}\)
out: TestSubMO1\(ID=[0-9]{3}\)
out: TestSubMO2\(ID=[0-9]{3}\)
out: TestSubMO21\(ID=[0-9]{3}\)
out: specialAPI()
out: pID\(\w{6,16}\)
END