-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take into account code review comments
- Loading branch information
Showing
12 changed files
with
79 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
source/Launchpad-Commands-Tests/LaunchpadApplicationDryRunContextTest.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
" | ||
A LaunchpadApplicationDryRunContextTest is a test class for testing the behavior of LaunchpadApplicationDryRunContext | ||
" | ||
Class { | ||
#name : 'LaunchpadApplicationDryRunContextTest', | ||
#superclass : 'TestCase', | ||
#category : 'Launchpad-Commands-Tests', | ||
#package : 'Launchpad-Commands-Tests' | ||
} | ||
|
||
{ #category : 'tests' } | ||
LaunchpadApplicationDryRunContextTest >> testConverting [ | ||
|
||
| context | | ||
|
||
context := LaunchpadApplicationDryRunContext handling: ( CommandLineArguments withArguments: #( ) ). | ||
|
||
self assert: context asDryRunContext equals: context | ||
] |
19 changes: 0 additions & 19 deletions
19
source/Launchpad-Commands-Tests/LaunchpadDryRunProcessingContextTest.class.st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
source/Launchpad-Commands/LaunchpadApplicationDryRunContext.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Class { | ||
#name : 'LaunchpadApplicationDryRunContext', | ||
#superclass : 'LaunchpadApplicationContext', | ||
#category : 'Launchpad-Commands', | ||
#package : 'Launchpad-Commands' | ||
} | ||
|
||
{ #category : 'converting' } | ||
LaunchpadApplicationDryRunContext >> asDryRunContext [ | ||
|
||
^ self | ||
] | ||
|
||
{ #category : 'running' } | ||
LaunchpadApplicationDryRunContext >> run: startupBlock [ | ||
|
||
self exitSuccess | ||
] |
18 changes: 18 additions & 0 deletions
18
source/Launchpad-Commands/LaunchpadApplicationStartingContext.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Class { | ||
#name : 'LaunchpadApplicationStartingContext', | ||
#superclass : 'LaunchpadApplicationContext', | ||
#category : 'Launchpad-Commands', | ||
#package : 'Launchpad-Commands' | ||
} | ||
|
||
{ #category : 'converting' } | ||
LaunchpadApplicationStartingContext >> asDryRunContext [ | ||
|
||
^ LaunchpadApplicationDryRunContext handling: commandLine writingTo: output | ||
] | ||
|
||
{ #category : 'running' } | ||
LaunchpadApplicationStartingContext >> run: startUpBlock [ | ||
|
||
startUpBlock value | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
source/Launchpad-Commands/LaunchpadCommandLineProcessingContext.class.st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
source/Launchpad-Commands/LaunchpadDryRunProcessingContext.class.st
This file was deleted.
Oops, something went wrong.