Skip to content

Commit

Permalink
Merge 7f0e5d4
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jul 3, 2024
2 parents 9b9f913 + 7f0e5d4 commit 7550aec
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 47 deletions.
8 changes: 8 additions & 0 deletions src/BaselineOfPharoLauncher/BaselineOfPharoLauncher.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ BaselineOfPharoLauncher >> clap: spec [
with: [ spec repository: 'github://pharo-contributions/clap-st:master/src' ]
]

{ #category : 'external projects' }
BaselineOfPharoLauncher >> interactions: spec [

spec
baseline: #Interactions
with: [ spec repository: 'github://pharo-contributions/interactions' ]
]

{ #category : 'external projects' }
BaselineOfPharoLauncher >> objCBridge: spec [

Expand Down
6 changes: 3 additions & 3 deletions src/PharoLauncher-Core/PhLLaunchImageFromDiskCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ PhLLaunchImageFromDiskCommand >> execute [
| imageFile |
imageFile := self imagesPresenter newFileRequest
title: 'Open a Pharo image';
extensionsToShow: #('image');
path: FileLocator home;
filter: '.image';
currentFolder: FileLocator home;
chooseFile.
imageFile ifNil: [ ^ self ].
imageFile isFile ifFalse: [ ^self ].
imageFile isFile ifFalse: [ ^ self ].
^ self launchImage: (PhLImage location: imageFile).
]

Expand Down
36 changes: 0 additions & 36 deletions src/PharoLauncher-Core/PhLUIFileRequest.class.st

This file was deleted.

12 changes: 6 additions & 6 deletions src/PharoLauncher-Tests-Commands/PhLTestRequest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ PhLTestRequest >> chooseFrom: aCollection [
]

{ #category : 'noop' }
PhLTestRequest >> extensionsToShow: aCollection [
PhLTestRequest >> currentFolder: aFileLocator [
"noop"
]

{ #category : 'noop' }
PhLTestRequest >> filter: aFilterString [
"noop"
]

Expand All @@ -52,11 +57,6 @@ PhLTestRequest >> parentWindow: aWindowPresenter [
"no need to keep the parent"
]

{ #category : 'noop' }
PhLTestRequest >> path: aFileLocator [
"noop"
]

{ #category : 'accessing' }
PhLTestRequest >> request [
^ (validationBlock value: self answer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ PhLLaunchImageTest >> testCanLaunchImageWithNonAsciiCharacters [
| image |
image := self copyCurrentImageToTestDir.

image launch.
process := image launch.
2 seconds wait. "let time to the process to be launched, else test cleanup will interfer with process launch"

"ensure image determination succeeded"
Expand Down Expand Up @@ -143,7 +143,7 @@ PhLLaunchImageTest >> testLaunchImageSetShouldRunInitilizationScriptToFalse [

image := self copyCurrentImageToTestDir.

image launch.
process := image launch.
2 seconds wait. "let time to the process to be launched, else test cleanup will interfer with process launch"

image := PhLImage location: imageDir / FileLocator image basename. "read image metadata from disk"
Expand Down

0 comments on commit 7550aec

Please sign in to comment.