Skip to content

Commit

Permalink
Merge pull request #656 from tesonep/fixingBaseline
Browse files Browse the repository at this point in the history
Making Spec2 load in Pharo7
  • Loading branch information
tesonep committed Jul 17, 2019
2 parents 25aa8ed + c841dac commit 3f3ac6d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 15 deletions.
19 changes: 14 additions & 5 deletions src/BaselineOfSpec2/BaselineOfSpec2.class.st
Expand Up @@ -9,8 +9,7 @@ BaselineOfSpec2 >> baseline: spec [
<baseline>
spec
for: #common
do: [ "Dependencies"
self parametrizedTests: spec.
do: [

"Packages"
spec
Expand Down Expand Up @@ -53,17 +52,27 @@ BaselineOfSpec2 >> baseline: spec [
package: 'Spec2-PolyWidgets-Tests'
with: [ spec requires: #('Spec2-Tests' 'Spec2-PolyWidgets') ];
package: 'Spec2-Morphic-Backend-Tests'
with: [ spec requires: #('Spec2-Adapters-Morphic' 'ParametrizedTests') ];
with: [ spec requires: #('Spec2-Adapters-Morphic') ];
package: 'Spec2-Backend-Tests'
with: [ spec requires: #('Spec2-Adapters-Morphic' 'ParametrizedTests') ];
with: [ spec requires: #('Spec2-Adapters-Morphic') ];
package: 'Spec2-Compatibility-Tests'
with: [ spec requires: #('Spec2-Morphic-Backend-Tests' 'Spec2-Deprecated') ]].

spec
for: #'pharo7.x'
do: [ self commander2: spec.
do: [
"Dependencies for Pharo7"
self parametrizedTests: spec.
self commander2: spec.

spec
package: 'Spec2-Pharo7To8Compatibility';
package: 'Spec2-Backend-Tests'
with: [ spec requires: #('ParametrizedTests' 'Spec2-Adapters-Morphic') ];
package: 'Spec2-Morphic-Backend-Tests'
with: [ spec requires: #('ParametrizedTests' 'Spec2-Adapters-Morphic') ];
package: 'Spec2-Tests'
with: [ spec requires: #('Spec2-Examples' 'ParametrizedTests') ];
package: 'Spec2-Commander2'
with: [ spec requires: #('Commander2') ] ].
spec
Expand Down
9 changes: 9 additions & 0 deletions src/Spec2-Deprecated/SpSearchableList.class.st
Expand Up @@ -27,6 +27,15 @@ SpSearchableList class >> defaultSpec [
yourself
]

{ #category : #examples }
SpSearchableList class >> example [
<sampleInstance>
"self example"

^ self new
items: #(#aaa #abc #axz #bbb #bfbg #bof #c); openWithSpec
]

{ #category : #deprecation }
SpSearchableList class >> isDeprecated [
"Now lists have a filter integrated in them."
Expand Down
10 changes: 0 additions & 10 deletions src/Spec2-Examples/SpSearchableList.extension.st

This file was deleted.

0 comments on commit 3f3ac6d

Please sign in to comment.