Commits

Dave Dribin  committed 2164664

Don't check version if running a unit test

  • Participants
  • Parent commits a32ea62
  • Tags 0.109-1

Comments (0)

Files changed (1)

File osx/MameController.mm

         mPreviousGames = [[NSMutableArray alloc] init];
     [self didChangeValueForKey: @"previousGames"];
     
+    if (NSClassFromString(@"SenTestCase") != nil)
+        return;
+
     [mVersionChecker setVersionUrl: [defaults stringForKey: MameVersionUrl]];
     [mVersionChecker checkForUpdatesInBackground];
 }