Revision 40:649f32c7eb41 Tester.cpp

View differences:

Tester.cpp
84 84
    return r;
85 85
}
86 86

  
87
void
88
Tester::listTests()
89
{
90
    cout << endl;
91
    cout << "Total tests: " << nameIndex().size() << "\n" << endl;
92
    cout << "ID | Name" << endl;
93
    cout << "---+-----" << endl;
94
    for (NameIndex::const_iterator i = nameIndex().begin();
95
         i != nameIndex().end(); ++i) {
96
        cout << i->first << " | " << i->second << endl;
97
    }
98
    cout << endl;
99
}
100

  
87 101
bool
88 102
Tester::test(int &notes, int &warnings, int &errors)
89 103
{

Also available in: Unified diff