Refactor: Use of FastFileFactory replaced with FastFile::Open for Factory ingest tests.
This commit is contained in:
parent
754c563515
commit
4bf4c12159
@ -117,7 +117,7 @@ void AutoTest_COD4_Wii::testFactory() {
|
|||||||
|
|
||||||
const QString testName = "Factory ingest: " + fastFilePath;
|
const QString testName = "Factory ingest: " + fastFilePath;
|
||||||
|
|
||||||
FastFile* fastFile = FastFileFactory::Create(fastFilePath);
|
FastFile* fastFile = FastFile::Open(fastFilePath);
|
||||||
|
|
||||||
const QString game = fastFile->GetGame();
|
const QString game = fastFile->GetGame();
|
||||||
bool correctGame = game == "COD4";
|
bool correctGame = game == "COD4";
|
||||||
|
|||||||
@ -117,7 +117,7 @@ void AutoTest_COD7_Wii::testFactory() {
|
|||||||
|
|
||||||
const QString testName = "Factory ingest: " + fastFilePath;
|
const QString testName = "Factory ingest: " + fastFilePath;
|
||||||
|
|
||||||
FastFile* fastFile = FastFileFactory::Create(fastFilePath);
|
FastFile* fastFile = FastFile::Open(fastFilePath);
|
||||||
|
|
||||||
const QString game = fastFile->GetGame();
|
const QString game = fastFile->GetGame();
|
||||||
bool correctGame = game == "COD7";
|
bool correctGame = game == "COD7";
|
||||||
|
|||||||
@ -109,7 +109,7 @@ void AutoTest_COD8_Wii::testFactory() {
|
|||||||
|
|
||||||
const QString testName = "Factory ingest: " + fastFilePath;
|
const QString testName = "Factory ingest: " + fastFilePath;
|
||||||
|
|
||||||
FastFile* fastFile = FastFileFactory::Create(fastFilePath);
|
FastFile* fastFile = FastFile::Open(fastFilePath);
|
||||||
|
|
||||||
const QString game = fastFile->GetGame();
|
const QString game = fastFile->GetGame();
|
||||||
bool correctGame = game == "COD8";
|
bool correctGame = game == "COD8";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user