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

@@ -354,12 +354,12 @@ void MTGAllCards::loadFolder(const string& folder, const string& filename )
if(files[i] == "." || files[i] == "..")
continue;
if(JFileSystem::GetInstance()->DirExists(afile))
loadFolder(string(afile).c_str(), filename);
if (!JFileSystem::GetInstance()->FileExists(afile))
continue;
if(JFileSystem::GetInstance()->DirExists(afile))
loadFolder(string(afile+"/").c_str(), filename);
if(filename.size())
{
if(filename == files[i])