-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from ba-st/multiple_swap
SystemHotSwapper swapping several systems at once
- Loading branch information
Showing
4 changed files
with
191 additions
and
40 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
source/Kepler-System-Tests/FixedCustomerManagementSystem.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,32 @@ | ||
" | ||
I'm a system implementation failing when trying to add a customer. Used for testing purposes. | ||
" | ||
Class { | ||
#name : #FixedCustomerManagementSystem, | ||
#superclass : #SubsystemImplementation, | ||
#category : #'Kepler-System-Tests' | ||
} | ||
|
||
{ #category : #API } | ||
FixedCustomerManagementSystem >> addCustomer: aCustomer [ | ||
|
||
SystemCommandExecutionError signal: 'Cannot add customer' | ||
] | ||
|
||
{ #category : #installing } | ||
FixedCustomerManagementSystem >> dependencies [ | ||
|
||
^ #() | ||
] | ||
|
||
{ #category : #installing } | ||
FixedCustomerManagementSystem >> implementedInterfaces [ | ||
|
||
^ #(#CustomerManagementSystem) | ||
] | ||
|
||
{ #category : #installing } | ||
FixedCustomerManagementSystem >> name [ | ||
|
||
^ 'CMS' | ||
] |
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
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