Skip to content

Commit

Permalink
several base methods got put in test package
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Winger authored and Eric Winger committed Aug 25, 2018
1 parent 96fa689 commit a047e4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 6 additions & 1 deletion sources/Rowan UI Base.pax
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ package methodNames
add: #JadeLoginShell -> #aboutJadeite;
add: #JadeNavigationInspector -> #setNewInspectedObject;
add: #JadePresenter -> #issueCommand:;
add: #JadePresenter -> #update:afterStonReplication:;
add: #JadePresenterA -> #basicCloneProject:root:;
add: #JadePresenterA -> #basicUpdateServices:;
add: #JadePresenterA -> #browseImplementorsOf:;
Expand Down Expand Up @@ -1055,8 +1056,12 @@ issueCommand: services
stonString := STON toString: services.
[stonResultString := self gciSession serverPerform: #updateFromSton: with: stonString]
ensure: [services do: [:service | service clearCommand]].
^self update: services afterStonReplication: stonResultString.! !
^self update: services afterStonReplication: stonResultString.!

update: services afterStonReplication: stonResults
^BrowserUpdate current update: services afterStonReplication: stonResults! !
!JadePresenter categoriesFor: #issueCommand:!Jadeite!public! !
!JadePresenter categoriesFor: #update:afterStonReplication:!Jadeite!public! !

!JadePresenterA methodsFor!

Expand Down
7 changes: 0 additions & 7 deletions sources/Rowan UI Tests.pax
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ package classNames

package methodNames
add: #JadeiteProjectsBrowserPresenter -> #basicRemoveMethodCategories;
add: #JadePresenter -> #update:afterStonReplication:;
add: #JadeTextDocument -> #openDictionaryBrowser;
add: #RowanMethodService -> #name;
add: 'TestResource class' -> #signalInitializationError;
Expand Down Expand Up @@ -87,12 +86,6 @@ basicRemoveMethodCategories
self issueCommand: (Array with: service)! !
!JadeiteProjectsBrowserPresenter categoriesFor: #basicRemoveMethodCategories!menu handlers support!private! !

!JadePresenter methodsFor!

update: services afterStonReplication: stonResults
^BrowserUpdate current update: services afterStonReplication: stonResults! !
!JadePresenter categoriesFor: #update:afterStonReplication:!Jadeite!public! !

!JadeTextDocument methodsFor!

openDictionaryBrowser
Expand Down
4 changes: 4 additions & 0 deletions sources/RowanTranscript.cls
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ isTranscriptInstalled
self issueCommand: (Array with: answeringService).
^answeringService answer!

openDictionaryBrowser
gciSession hasServer ifTrue: [^RowanSystemBrowser showOnSession: gciSession]!

openJadeiteProjectsBrowser
gciSession hasServer ifTrue: [^JadeiteProjectsSystemBrowser showOnSession: gciSession].
MessageBox warning: 'Cannot open Jadeite Projects browser'
Expand All @@ -46,6 +49,7 @@ queryCommand: query
!RowanTranscript categoriesFor: #flipDebugger!menu handlers!public! !
!RowanTranscript categoriesFor: #flipTranscript!menu handlers!public! !
!RowanTranscript categoriesFor: #isTranscriptInstalled!public! !
!RowanTranscript categoriesFor: #openDictionaryBrowser!menu handlers!public! !
!RowanTranscript categoriesFor: #openJadeiteProjectsBrowser!menu handlers!public! !
!RowanTranscript categoriesFor: #queryCommand:!private! !

Expand Down

0 comments on commit a047e4e

Please sign in to comment.