Skip to content

Commit

Permalink
Fix tests + plugin for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyan11 committed Jan 18, 2024
1 parent e13681f commit 09162b7
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ PyramidFakePlugin class >> initialize [

]

{ #category : #testing }
PyramidFakePlugin class >> isTestPlugin [

^ true
]

{ #category : #adding }
PyramidFakePlugin >> addPanelsOn: aPyramidSimpleWindow [

Expand Down
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginA.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginA class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginA class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginB.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginB class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginB class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginC.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginC class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginC class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginD.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginD class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginD class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginE.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginE class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginE class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginF.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginF class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginF class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid-Tests/PyramidFakePluginG.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ PyramidFakePluginG class >> initialize [
<script>

]

{ #category : #testing }
PyramidFakePluginG class >> isTestPlugin [

^ true
]
6 changes: 6 additions & 0 deletions src/Pyramid/PyramidMessageItem.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Class {
#category : #'Pyramid-views'
}

{ #category : #comparing }
PyramidMessageItem >> <= aPyramidMessageItems [

^ true.
]

{ #category : #adding }
PyramidMessageItem >> addOnLayout: aLayout [

Expand Down
4 changes: 2 additions & 2 deletions src/Pyramid/PyramidPluginManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ PyramidPluginManager class >> cleanUp: anObject [

{ #category : #initialization }
PyramidPluginManager class >> imagePluginClasses [
<script: 'self imagePluginClasses inspect'>

^ TPyramidPlugin users
<script: 'self imagePluginClasses inspect'>
^ TPyramidPlugin users reject: [ :each | each isTestPlugin ]
]

{ #category : #initialization }
Expand Down
6 changes: 6 additions & 0 deletions src/Pyramid/TPyramidPlugin.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ TPyramidPlugin classSide >> install [
"Do some stuff here when the plugin used class oriented behavior"
]

{ #category : #testing }
TPyramidPlugin classSide >> isTestPlugin [

^ false
]

{ #category : #initialization }
TPyramidPlugin classSide >> reset [

Expand Down

0 comments on commit 09162b7

Please sign in to comment.