Refactor: Update FastFileFactory and Open to use same parsing logic.
This commit is contained in:
parent
4bf4c12159
commit
34cafac121
@ -118,7 +118,7 @@ void AutoTest_COD10_WiiU::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 == "COD10";
|
bool correctGame = game == "COD10";
|
||||||
|
|||||||
@ -118,7 +118,7 @@ void AutoTest_COD9_WiiU::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 == "COD9";
|
bool correctGame = game == "COD9";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user