-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace deprecations in Pharo 12
- Loading branch information
Showing
8 changed files
with
36 additions
and
2 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
2 changes: 1 addition & 1 deletion
2
...alkCI-Coverage-Core.package/SCICodeCoverage.class/instance/classesToCoverForCategories.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,4 +1,4 @@ | ||
helpers | ||
classesToCoverForCategories | ||
^ self coverageAt: #categories | ||
do: [ :categoryNames | SmalltalkCI classesForCategories: categoryNames ] | ||
do: [ :categoryNames | SmalltalkCI platformClass classesForCategories: categoryNames ] |
11 changes: 11 additions & 0 deletions
11
repository/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo12.class/class/allCategoryNames.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,11 @@ | ||
class organization | ||
allCategoryNames | ||
| packages | | ||
packages := Smalltalk organization packages. | ||
^ (OrderedCollection | ||
new: packages size | ||
streamContents: [ :stream | | ||
packages do: [ :package | | ||
stream nextPut: package name asString. | ||
package classTags do: [ :tag | | ||
stream nextPut: tag categoryName asString ] ] ]) asSet asArray |
4 changes: 4 additions & 0 deletions
4
...sitory/SmalltalkCI-Pharo-Core.package/SmalltalkCIPharo12.class/class/codeCoverageClass.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,4 @@ | ||
compatibility | ||
codeCoverageClass | ||
|
||
^ Smalltalk at: #SCIPharo12CodeCoverage |
Empty file.
3 changes: 3 additions & 0 deletions
3
...CI-Pharo-Coverage-Core.package/SCIPharo12CodeCoverage.class/class/packageNameForClass..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,3 @@ | ||
compatibility | ||
packageNameForClass: aClass | ||
^ ((Smalltalk at: #RPackageOrganizer) default packageOf: aClass) name |
5 changes: 5 additions & 0 deletions
5
...I-Pharo-Coverage-Core.package/SCIPharo12CodeCoverage.class/class/packageNameForMethod..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,5 @@ | ||
compatibility | ||
packageNameForMethod: aMethodReference | ||
| aClass | | ||
aClass := aMethodReference compiledMethod methodClass. | ||
^ (aClass packages detect: [:each | each includesSelector: aMethodReference compiledMethod selector ofClass: aClass ]) name |
11 changes: 11 additions & 0 deletions
11
...tory/SmalltalkCI-Pharo-Coverage-Core.package/SCIPharo12CodeCoverage.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"commentStamp" : "", | ||
"super" : "SCIPharoCodeCoverage", | ||
"category" : "SmalltalkCI-Pharo-Coverage-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "SCIPharo12CodeCoverage", | ||
"type" : "normal" | ||
} |