Minor adjustments to a couple of tests.

This commit is contained in:
Nathan Osman
2015-07-18 16:43:37 -07:00
parent c8e6812b5d
commit 150f6b257f
2 changed files with 56 additions and 58 deletions

View File

@@ -118,8 +118,7 @@ bool TestQFilesystemHandler::createFile(const QString &path)
return false;
}
file.write(Data);
return true;
return file.write(Data) == Data.length();
}
bool TestQFilesystemHandler::createDirectory(const QString &path)