Included some testsuite into qtmain and updated travis file to try to use it.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user