Refactor: Replace hardcoded file paths with fastFilePath in testFactory() methods.

This commit is contained in:
njohnson 2025-09-15 18:49:25 -04:00
parent ba83aa5247
commit ccb956a834
9 changed files with 9 additions and 9 deletions

View File

@ -116,7 +116,7 @@ void AutoTest_COD10_PC::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 == "COD10";

View File

@ -116,7 +116,7 @@ void AutoTest_COD11_PC::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 == "COD11";

View File

@ -209,7 +209,7 @@ void AutoTest_COD12_PC::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 == "COD12";

View File

@ -113,7 +113,7 @@ void AutoTest_COD4_PC::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";

View File

@ -117,7 +117,7 @@ void AutoTest_COD5_PC::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 == "COD5";

View File

@ -109,7 +109,7 @@ void AutoTest_COD6_PC::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 == "COD6";

View File

@ -116,7 +116,7 @@ void AutoTest_COD7_PC::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";

View File

@ -116,7 +116,7 @@ void AutoTest_COD8_PC::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";

View File

@ -116,7 +116,7 @@ void AutoTest_COD9_PC::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 == "COD9";