-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
130 changed files
with
411 additions
and
365 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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"baseline:" : "fn 6/21/2016 21:08" } } | ||
"baseline:" : "fn 10/8/2016 17:39" } } |
2 changes: 1 addition & 1 deletion
2
repository/BaselineOfSmalltalkCI.package/monticello.meta/version
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 +1 @@ | ||
(name 'BaselineOfSmalltalkCI-fn.11' message 'Update baseline after restructuring packages' id '51f2c8aa-c47e-4909-a412-8a45a97a2a22' date '22 June 2016' time '12:50:09.923 am' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.10' message 'Adjust after renaming GemStone-specific packages' id 'aa9fcd68-086c-43d7-9579-261a1225eb83' date '13 June 2016' time '9:55:55.954 am' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.9' message 'Update baseline after splitting SmalltalkCI-Pharo into two packages' id 'd46c1fc2-c3be-41af-a93b-3d9bc85b54b5' date '15 April 2016' time '11:42:41.978 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.8' message 'Update baseline after splitting SmalltalkCI-Squeak into two packages' id '75834ab5-c4be-4930-ab74-55d52f3873b4' date '15 April 2016' time '11:12:08.898 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.7' message 'Merge tests into one baseline' id '89c9d6ff-286f-4dd2-8ac6-ee42c6cd0ae9' date '15 April 2016' time '5:04:47.233 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-dkh.6' message '#109 tweak the STON reference from the baseline for Pharo a bit ' id '27db0cf5-16f4-4ef1-89e7-21d7505ad7c0' date '3 April 2016' time '11:57:04 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.5' message '#108 first cut at fix for this issue' id 'ebc278d9-ed5c-47cd-9809-13db868abcc4' date '3 April 2016' time '10:35:58 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.4' message 'remove the SmalltalkCI-Report package from the baseline' id '919faf31-cf32-4f17-8bd5-bb4459f990f8' date '23 February 2016' time '7:12:25 pm' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.3' message 'PR #51: merge the pharo/squeak BaselineOfSmalltalkCI into the gemstone variant... ' id '91444a03-00df-4abd-a259-121d87a8dc8d' date '23 February 2016' time '6:47:08 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-TravisCI.2' message 'Issue #48: add SmalltalkCI-Report without porting ...' id 'cc69f0b7-c00a-46d7-8bc1-446a71f4e764' date '4 February 2016' time '4:48:18 pm' author 'TravisCI' ancestors ((name 'BaselineOfSmalltalkCI-dkh.1' message 'initial configuration' id 'd88909e6-d8b8-46c7-b261-09ff40d9be8b' date '4 February 2016' time '12:04:36 pm' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) | ||
(name 'BaselineOfSmalltalkCI-fn.12' message 'Add WebClient dependency' id '3ecfcac6-7857-4362-9bf8-1ba73f3b2dbb' date '8 October 2016' time '5:39:45.204 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.11' message 'Update baseline after restructuring packages' id '51f2c8aa-c47e-4909-a412-8a45a97a2a22' date '22 June 2016' time '12:50:09.923 am' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.10' message 'Adjust after renaming GemStone-specific packages' id 'aa9fcd68-086c-43d7-9579-261a1225eb83' date '13 June 2016' time '9:55:55.954 am' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.9' message 'Update baseline after splitting SmalltalkCI-Pharo into two packages' id 'd46c1fc2-c3be-41af-a93b-3d9bc85b54b5' date '15 April 2016' time '11:42:41.978 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.8' message 'Update baseline after splitting SmalltalkCI-Squeak into two packages' id '75834ab5-c4be-4930-ab74-55d52f3873b4' date '15 April 2016' time '11:12:08.898 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-fn.7' message 'Merge tests into one baseline' id '89c9d6ff-286f-4dd2-8ac6-ee42c6cd0ae9' date '15 April 2016' time '5:04:47.233 pm' author 'fn' ancestors ((name 'BaselineOfSmalltalkCI-dkh.6' message '#109 tweak the STON reference from the baseline for Pharo a bit ' id '27db0cf5-16f4-4ef1-89e7-21d7505ad7c0' date '3 April 2016' time '11:57:04 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.5' message '#108 first cut at fix for this issue' id 'ebc278d9-ed5c-47cd-9809-13db868abcc4' date '3 April 2016' time '10:35:58 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.4' message 'remove the SmalltalkCI-Report package from the baseline' id '919faf31-cf32-4f17-8bd5-bb4459f990f8' date '23 February 2016' time '7:12:25 pm' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-dkh.3' message 'PR #51: merge the pharo/squeak BaselineOfSmalltalkCI into the gemstone variant... ' id '91444a03-00df-4abd-a259-121d87a8dc8d' date '23 February 2016' time '6:47:08 am' author 'dkh' ancestors ((name 'BaselineOfSmalltalkCI-TravisCI.2' message 'Issue #48: add SmalltalkCI-Report without porting ...' id 'cc69f0b7-c00a-46d7-8bc1-446a71f4e764' date '4 February 2016' time '4:48:18 pm' author 'TravisCI' ancestors ((name 'BaselineOfSmalltalkCI-dkh.1' message 'initial configuration' id 'd88909e6-d8b8-46c7-b261-09ff40d9be8b' date '4 February 2016' time '12:04:36 pm' author 'dkh' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/class/coverallsAPI.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 @@ | ||
constants | ||
coverallsAPI | ||
^ 'https://coveralls.io/api/v1/jobs' |
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/class/coverallsDataFilename.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 @@ | ||
constants | ||
coverallsDataFilename | ||
^ 'coveralls_data.json' |
2 changes: 1 addition & 1 deletion
2
...ass/class/methodReferenceFor.selector..st → ...ass/class/methodReferenceFor.selector..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,3 +1,3 @@ | ||
coverage | ||
compatibility | ||
methodReferenceFor: aClass selector: aSelector | ||
self subclassResponsibility |
2 changes: 1 addition & 1 deletion
2
...alkCI.class/class/packageNameForClass..st → ...erage.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
coverage | ||
compatibility | ||
packageNameForClass: aClass | ||
self subclassResponsibility |
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/class/run.cover.spec.in..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 @@ | ||
executing | ||
run: aBlock cover: classesToCover spec: aSmalltalkCISpec in: projectDirectory | ||
^ self new run: aBlock cover: classesToCover spec: aSmalltalkCISpec in: projectDirectory |
6 changes: 6 additions & 0 deletions
6
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/classesToCover.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,6 @@ | ||
helpers | ||
classesToCover | ||
"This method needs to return an OrderedCollection. TestCoverage wrappers do not initialize correctly for some reason if this returns for example a Set" | ||
spec testing at: #coverage | ||
ifPresent: [ :co | ^ (SmalltalkCI classesFrom: co) asOrderedCollection ] | ||
ifAbsent: [ ^ OrderedCollection new ] |
2 changes: 1 addition & 1 deletion
2
...kCI.class/instance/coverageDictFor.in..st → ...age.class/instance/coverageDictFor.in..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
4 changes: 4 additions & 0 deletions
4
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/coverageWrappers..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 @@ | ||
accessing | ||
coverageWrappers: anObject | ||
|
||
coverageWrappers := anObject |
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/coverageWrappersFor..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 @@ | ||
initialize-release | ||
coverageWrappersFor: classesToCover | ||
self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/coverallsData..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 @@ | ||
accessing | ||
coverallsData: anObject | ||
|
||
coverallsData := anObject |
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
18 changes: 18 additions & 0 deletions
18
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/finishUp.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,18 @@ | ||
initialize-release | ||
finishUp | ||
| sourceFiles | | ||
sourceFiles := OrderedCollection new. | ||
|
||
coverageWrappers do: [ :wrapper | | directory | | ||
wrapper uninstall. | ||
directory := (spec loading | ||
collect: [ :loadspec | | ||
projectDirectory, SmalltalkCI pathNameDelimiter, loadspec directory ]) | ||
detect: [ :dir | | ||
SmalltalkCI platformClass fileExists: (self fileNameFor: wrapper in: dir)] | ||
ifNone: []. | ||
directory ifNotNil: [ | ||
sourceFiles add: (self coverageDictFor: wrapper in: directory) ] ]. | ||
|
||
coverallsData at: 'source_files' put: sourceFiles asArray. | ||
self uploadResults |
3 changes: 3 additions & 0 deletions
3
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/initialize.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 @@ | ||
initialize-release | ||
initialize | ||
coverallsData := self readCoverallsData |
4 changes: 4 additions & 0 deletions
4
...ry/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/installCoverageWrappersFor..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 @@ | ||
initialize-release | ||
installCoverageWrappersFor: classesToCover | ||
coverageWrappers := self coverageWrappersFor: classesToCover. | ||
coverageWrappers do: [ :each | each install ] |
2 changes: 1 addition & 1 deletion
2
...alltalkCI.class/instance/linesForFile..st → ...eCoverage.class/instance/linesForFile..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,3 +1,3 @@ | ||
coverage | ||
helpers | ||
linesForFile: aFilename | ||
self subclassResponsibility |
2 changes: 1 addition & 1 deletion
2
...SmalltalkCI.class/instance/md5ForFile..st → ...odeCoverage.class/instance/md5ForFile..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,3 +1,3 @@ | ||
coverage | ||
helpers | ||
md5ForFile: aFilename | ||
self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/projectDirectory..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 @@ | ||
accessing | ||
projectDirectory: anObject | ||
|
||
projectDirectory := anObject |
4 changes: 2 additions & 2 deletions
4
...talkCI.class/instance/coverageWrappers.st → ...erage.class/instance/readCoverallsData.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,3 +1,3 @@ | ||
coverage | ||
coverageWrappers | ||
helpers | ||
readCoverallsData | ||
self subclassResponsibility |
7 changes: 7 additions & 0 deletions
7
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/run.cover.spec.in..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,7 @@ | ||
executing | ||
run: aBlock cover: classesToCover spec: aSmalltalkCISpec in: aProjectDirectory | ||
spec := aSmalltalkCISpec. | ||
projectDirectory := aProjectDirectory. | ||
self installCoverageWrappersFor: classesToCover. | ||
[ ^ aBlock value ] ensure: | ||
[ self finishUp ] |
4 changes: 4 additions & 0 deletions
4
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
spec: anObject | ||
|
||
spec := anObject |
10 changes: 10 additions & 0 deletions
10
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/instance/uploadResults.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,10 @@ | ||
helpers | ||
uploadResults | ||
| result | | ||
result := WebClient httpPost: self class coverallsAPI multipartFields: { | ||
'json_file' -> (MIMEDocument | ||
contentType: 'application/octet-stream' | ||
content: (STON toJsonString: coverallsData) | ||
url: FileDirectory default url, 'json_file.json') | ||
}. | ||
SmalltalkCI printToStdout: 'Coveralls: ', self content, '(Status: ', self status ,')' |
24 changes: 24 additions & 0 deletions
24
repository/SmalltalkCI-Core.package/SCICodeCoverage.class/methodProperties.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,24 @@ | ||
{ | ||
"class" : { | ||
"coverallsAPI" : "fn 10/8/2016 16:27", | ||
"coverallsDataFilename" : "fn 10/8/2016 15:27", | ||
"methodReferenceFor:selector:" : "fn 10/8/2016 15:10", | ||
"packageNameForClass:" : "fn 10/8/2016 15:11", | ||
"run:cover:spec:in:" : "fn 10/8/2016 15:52" }, | ||
"instance" : { | ||
"classesToCover" : "fn 10/8/2016 15:50", | ||
"coverageDictFor:in:" : "fn 10/8/2016 14:53", | ||
"coverageWrappers:" : "fn 10/8/2016 16:48", | ||
"coverageWrappersFor:" : "fn 10/8/2016 15:04", | ||
"coverallsData:" : "fn 10/8/2016 16:48", | ||
"fileNameFor:in:" : "fn 10/8/2016 16:25", | ||
"finishUp" : "fn 10/8/2016 16:26", | ||
"initialize" : "fn 10/8/2016 15:38", | ||
"installCoverageWrappersFor:" : "fn 10/8/2016 16:24", | ||
"linesForFile:" : "fn 10/8/2016 14:52", | ||
"md5ForFile:" : "fn 10/8/2016 14:52", | ||
"projectDirectory:" : "fn 10/8/2016 16:48", | ||
"readCoverallsData" : "fn 10/8/2016 15:26", | ||
"run:cover:spec:in:" : "fn 10/8/2016 15:52", | ||
"spec:" : "fn 10/8/2016 16:48", | ||
"uploadResults" : "fn 10/8/2016 17:24" } } |
Oops, something went wrong.