diff options
author | Damiano Galassi <[email protected]> | 2017-04-14 18:45:22 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-04-14 18:45:22 +0200 |
commit | 0f29d7162df09e6d85c30380ef867a5e190630bb (patch) | |
tree | 952d6254dda0d6d36b53369b6047f34d7ce862d6 /macosx | |
parent | 568aa3826cd15afc375c2f8ba3d9649dfcecaddc (diff) |
MacGui: fix tests for the sandboxed schemes.
Diffstat (limited to 'macosx')
4 files changed, 20 insertions, 8 deletions
diff --git a/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [DEBUG-SANDBOX].xcscheme b/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [DEBUG-SANDBOX].xcscheme index 2dbfc6feb..010b16de6 100644 --- a/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [DEBUG-SANDBOX].xcscheme +++ b/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [DEBUG-SANDBOX].xcscheme @@ -98,15 +98,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - <MacroExpansion> + <BuildableProductRunnable + runnableDebuggingMode = "0"> <BuildableReference BuildableIdentifier = "primary" - BlueprintIdentifier = "273F1FFE14ADAE950021BE6D" - BuildableName = "HandBrakeCLI" - BlueprintName = "HandBrakeCLI" + BlueprintIdentifier = "273F203814ADBC200021BE6D" + BuildableName = "HandBrake.app" + BlueprintName = "HandBrake" ReferencedContainer = "container:HandBrake.xcodeproj"> </BuildableReference> - </MacroExpansion> + </BuildableProductRunnable> </ProfileAction> <AnalyzeAction buildConfiguration = "debug-sandbox"> diff --git a/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [RELEASE-SANDBOX].xcscheme b/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [RELEASE-SANDBOX].xcscheme index 50a0b4628..99eb7e54e 100644 --- a/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [RELEASE-SANDBOX].xcscheme +++ b/macosx/HandBrake.xcodeproj/xcshareddata/xcschemes/HandBrake [RELEASE-SANDBOX].xcscheme @@ -56,6 +56,16 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> + <TestableReference + skipped = "NO"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A9736F0A1C7DA5FE008F1D18" + BuildableName = "HandBrakeKitTests.xctest" + BlueprintName = "HandBrakeKitTests" + ReferencedContainer = "container:HandBrake.xcodeproj"> + </BuildableReference> + </TestableReference> </Testables> <MacroExpansion> <BuildableReference diff --git a/macosx/HandBrakeKitTests/HBJobTests.m b/macosx/HandBrakeKitTests/HBJobTests.m index 88aec0b5e..d4a91863d 100644 --- a/macosx/HandBrakeKitTests/HBJobTests.m +++ b/macosx/HandBrakeKitTests/HBJobTests.m @@ -40,7 +40,7 @@ self.preset = self.manager.defaultPreset; - NSURL *sampleURL = [NSURL fileURLWithPath:@"test.mp4"]; + NSURL *sampleURL = [NSURL fileURLWithPath:@"/test.mp4"]; self.queue = dispatch_queue_create("fr.handbrake.testQueue", DISPATCH_QUEUE_SERIAL); dispatch_semaphore_t sem = dispatch_semaphore_create(0); diff --git a/macosx/HandBrakeKitTests/HBJobUndoTests.m b/macosx/HandBrakeKitTests/HBJobUndoTests.m index afee23cae..b0d0be702 100644 --- a/macosx/HandBrakeKitTests/HBJobUndoTests.m +++ b/macosx/HandBrakeKitTests/HBJobUndoTests.m @@ -41,7 +41,7 @@ self.preset = self.manager.defaultPreset; - NSURL *sampleURL = [NSURL fileURLWithPath:@"test.mp4"]; + NSURL *sampleURL = [NSURL fileURLWithPath:@"/test.mp4"]; self.queue = dispatch_queue_create("fr.handbrake.testQueue", DISPATCH_QUEUE_SERIAL); dispatch_semaphore_t sem = dispatch_semaphore_create(0); @@ -58,7 +58,8 @@ self.title = self.core.titles.firstObject; self.job = [[HBJob alloc] initWithTitle:self.title andPreset:self.preset]; - self.job.destURL = [NSURL fileURLWithPath:@"/Dest.mp4"]; + self.job.outputURL = [NSURL fileURLWithPath:@"/"]; + self.job.outputFileName = @"Dest.mp4"; NSUndoManager *undoManager = [[NSUndoManager alloc] init]; undoManager.groupsByEvent = NO; |