Included some testsuite into qtmain and updated travis file to try to use it.

This commit is contained in:
Unknown
2013-10-27 23:06:29 +01:00
parent 7a7bc70773
commit 224c94e890
25 changed files with 185 additions and 76 deletions

View File

@@ -109,10 +109,12 @@ bool AutoLineMacro::AddMacro(const string& s)
void AutoLineMacro::Destroy()
{
for (size_t i = 0; i < gAutoLineMacros.size(); ++i)
while(gAutoLineMacros.size())
{
SAFE_DELETE(gAutoLineMacros[i]);
SAFE_DELETE(gAutoLineMacros.back());
gAutoLineMacros.pop_back();
}
gAutoLineMacrosIndex.clear();
}
string AutoLineMacro::Process(const string& s)