forked from hpi-swa/smalltalkCI
-
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.
feat: only instantiate test resources once in Pharo
Fixes hpi-swa#661
- Loading branch information
Showing
99 changed files
with
391 additions
and
626 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
File renamed without changes.
5 changes: 0 additions & 5 deletions
5
.../SmalltalkCI-Pharo-Core.package/IceMetacelloPharoPlatform.extension/methodProperties.json
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
...sitory/SmalltalkCI-Pharo-Core.package/IceMetacelloPharoPlatform.extension/properties.json
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "IceMetacelloPharoPlatform" } | ||
"name" : "IceMetacelloPharoPlatform" | ||
} |
5 changes: 0 additions & 5 deletions
5
repository/SmalltalkCI-Pharo-Core.package/SCIPharoCustomScript.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoCustomScript.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoCustomScript", | ||
"pools" : [ | ||
], | ||
"super" : "SCICustomScript", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoCustomScript", | ||
"type" : "normal" | ||
} |
8 changes: 0 additions & 8 deletions
8
...tory/SmalltalkCI-Pharo-Core.package/SCIPharoMetacelloLoadSpec.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
22 changes: 10 additions & 12 deletions
22
repository/SmalltalkCI-Pharo-Core.package/SCIPharoMetacelloLoadSpec.class/properties.json
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"registerInIceberg" | ||
], | ||
"name" : "SCIPharoMetacelloLoadSpec", | ||
"pools" : [ | ||
], | ||
"super" : "SCIMetacelloLoadSpec", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"registerInIceberg" | ||
], | ||
"name" : "SCIPharoMetacelloLoadSpec", | ||
"type" : "normal" | ||
} |
6 changes: 0 additions & 6 deletions
6
...ory/SmalltalkCI-Pharo-Core.package/SCIPharoMonticelloLoadSpec.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoMonticelloLoadSpec.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoMonticelloLoadSpec", | ||
"pools" : [ | ||
], | ||
"super" : "SCIMonticelloLoadSpec", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoMonticelloLoadSpec", | ||
"type" : "normal" | ||
} |
29 changes: 21 additions & 8 deletions
29
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/class/runClasses.spec..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 |
---|---|---|
@@ -1,10 +1,23 @@ | ||
running | ||
runClasses: aCollectionOfClasses spec: aSCISpec | ||
| suite classes | | ||
suite := TestSuite named: aSCISpec name. | ||
classes := (aCollectionOfClasses | ||
select: [ :each | (each includesBehavior: TestCase) and: [ each isAbstract not ] ]) | ||
asSortedCollection: [ :a :b | a name <= b name ]. | ||
classes | ||
do: [ :each | suite addTest: each suite ]. | ||
^ self runSuite: suite spec: aSCISpec | ||
|
||
| suite classes resources | | ||
suite := TestSuite named: aSCISpec name. | ||
classes := (aCollectionOfClasses select: [ :each | | ||
(each includesBehavior: TestCase) and: [ | ||
each isAbstract not ] ]) asSortedCollection: [ :a :b | | ||
a name <= b name ]. | ||
|
||
resources := OrderedCollection new. | ||
classes do: [ :class | | ||
| classSuite | | ||
classSuite := class suite. | ||
resources addAll: (classSuite resources reject: [ :resource | | ||
resources includes: resource ]). | ||
"Reset resources of nested suit. Resources are managed by the outermost suite." | ||
classSuite resources: #( ). | ||
suite addTest: classSuite ]. | ||
|
||
suite resources: resources. | ||
|
||
^ self runSuite: suite spec: aSCISpec |
13 changes: 0 additions & 13 deletions
13
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunner.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoTestRunner", | ||
"pools" : [ | ||
], | ||
"super" : "SCITestRunner", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoTestRunner", | ||
"type" : "normal" | ||
} |
6 changes: 0 additions & 6 deletions
6
...tory/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo10.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo10.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SCIPharoTestRunnerPharo10", | ||
"pools" : [ | ||
], | ||
"super" : "SCIPharoTestRunnerPharo9", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharoTestRunnerPharo10", | ||
"type" : "normal" | ||
} |
8 changes: 0 additions & 8 deletions
8
...itory/SmalltalkCI-Pharo-Core.package/SCIPharoTestRunnerPharo9.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 10 additions & 9 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "SmalltalkCI", | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ | ||
"StdOut" ], | ||
"commentStamp" : "", | ||
"StdOut" | ||
], | ||
"instvars" : [ | ||
"suiteName" ], | ||
"suiteName" | ||
], | ||
"name" : "SmalltalkCIPharo", | ||
"pools" : [ | ||
], | ||
"super" : "SmalltalkCI", | ||
"type" : "normal" } | ||
"type" : "normal" | ||
} |
7 changes: 0 additions & 7 deletions
7
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo10.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo10.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SmalltalkCIPharo10", | ||
"pools" : [ | ||
], | ||
"super" : "SmalltalkCIPharo9", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SmalltalkCIPharo10", | ||
"type" : "normal" | ||
} |
9 changes: 0 additions & 9 deletions
9
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo11.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo11.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SmalltalkCIPharo11", | ||
"pools" : [ | ||
], | ||
"super" : "SmalltalkCIPharo9", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SmalltalkCIPharo11", | ||
"type" : "normal" | ||
} |
10 changes: 0 additions & 10 deletions
10
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo12.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo12.class/properties.json
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "SmalltalkCIPharo12", | ||
"pools" : [ | ||
], | ||
"super" : "SmalltalkCIPharo11", | ||
"type" : "normal" } | ||
"category" : "SmalltalkCI-Pharo-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SmalltalkCIPharo12", | ||
"type" : "normal" | ||
} |
File renamed without changes.
Oops, something went wrong.