From 0d81992f6ae3e76d33414d1c4405dd3b6474fb71 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 13 May 2022 10:50:16 -0400 Subject: [PATCH] Move object creation. --- OSBindings/Mac/Clock SignalTests/68000ComparativeTests.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/68000ComparativeTests.mm b/OSBindings/Mac/Clock SignalTests/68000ComparativeTests.mm index b086cf042..44bdb7879 100644 --- a/OSBindings/Mac/Clock SignalTests/68000ComparativeTests.mm +++ b/OSBindings/Mac/Clock SignalTests/68000ComparativeTests.mm @@ -98,16 +98,16 @@ struct Test68000 { } - (void)setUp { + // These will accumulate a list of failing tests and associated opcodes. + _failures = [[NSMutableSet alloc] init]; + _failingOpcodes = [[NSMutableArray alloc] init]; + // To limit tests run to a subset of files and/or of tests, uncomment and fill in below. // _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]]; // _testSet = [NSSet setWithArray:@[@"CHK 41a8"]]; } - (void)testAll { - // These will accumulate a list of failing tests and associated opcodes. - _failures = [[NSMutableSet alloc] init]; - _failingOpcodes = [[NSMutableArray alloc] init]; - // Get the full list of available test files. NSBundle *const bundle = [NSBundle bundleForClass:[self class]]; NSArray *const tests = [bundle URLsForResourcesWithExtension:@"json" subdirectory:@"68000 Comparative Tests"];