From 4bf4c121593cf8d2f9a9e729a934a41365a69d89 Mon Sep 17 00:00:00 2001 From: njohnson Date: Mon, 15 Sep 2025 18:50:09 -0400 Subject: [PATCH] Refactor: Use of FastFileFactory replaced with FastFile::Open for Factory ingest tests. --- tests/Wii/autotest_cod4_wii.cpp | 2 +- tests/Wii/autotest_cod7_wii.cpp | 2 +- tests/Wii/autotest_cod8_wii.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Wii/autotest_cod4_wii.cpp b/tests/Wii/autotest_cod4_wii.cpp index ef443f8..1213468 100644 --- a/tests/Wii/autotest_cod4_wii.cpp +++ b/tests/Wii/autotest_cod4_wii.cpp @@ -117,7 +117,7 @@ void AutoTest_COD4_Wii::testFactory() { const QString testName = "Factory ingest: " + fastFilePath; - FastFile* fastFile = FastFileFactory::Create(fastFilePath); + FastFile* fastFile = FastFile::Open(fastFilePath); const QString game = fastFile->GetGame(); bool correctGame = game == "COD4"; diff --git a/tests/Wii/autotest_cod7_wii.cpp b/tests/Wii/autotest_cod7_wii.cpp index f0fa02e..3e77c87 100644 --- a/tests/Wii/autotest_cod7_wii.cpp +++ b/tests/Wii/autotest_cod7_wii.cpp @@ -117,7 +117,7 @@ void AutoTest_COD7_Wii::testFactory() { const QString testName = "Factory ingest: " + fastFilePath; - FastFile* fastFile = FastFileFactory::Create(fastFilePath); + FastFile* fastFile = FastFile::Open(fastFilePath); const QString game = fastFile->GetGame(); bool correctGame = game == "COD7"; diff --git a/tests/Wii/autotest_cod8_wii.cpp b/tests/Wii/autotest_cod8_wii.cpp index d6843e5..c4353e1 100644 --- a/tests/Wii/autotest_cod8_wii.cpp +++ b/tests/Wii/autotest_cod8_wii.cpp @@ -109,7 +109,7 @@ void AutoTest_COD8_Wii::testFactory() { const QString testName = "Factory ingest: " + fastFilePath; - FastFile* fastFile = FastFileFactory::Create(fastFilePath); + FastFile* fastFile = FastFile::Open(fastFilePath); const QString game = fastFile->GetGame(); bool correctGame = game == "COD8";