Refactor: Use of FastFileFactory replaced with FastFile::Open for Factory ingest tests.

This commit is contained in:
njohnson 2025-09-15 18:50:09 -04:00
parent 754c563515
commit 4bf4c12159
3 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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";