-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from sbragagnolo/dev-0.3
Release v0.3
- Loading branch information
Showing
409 changed files
with
2,061 additions
and
902 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,2 +1,5 @@ | ||
{"packageExtension" : ".package", | ||
"propertyFileExtension" : ".json" } | ||
{ | ||
"packageExtension" : ".package", | ||
"propertyFileExtension" : ".json", | ||
"noMethodMetaData" : true | ||
} |
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,6 @@ | ||
*~ | ||
Pharo* | ||
pharo* | ||
*.zip | ||
*-cache | ||
*.dmp |
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,14 @@ | ||
SmalltalkCISpec { | ||
#loading : [ | ||
SCIMetacelloLoadSpec { | ||
#baseline : 'TaskIt', | ||
#directory : '', | ||
#platforms : [ #pharo ] | ||
} | ||
], | ||
#testing : { | ||
#include : { | ||
#packages : [ 'TaskIt.*' ] | ||
} | ||
} | ||
} |
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,20 +1,10 @@ | ||
language: c | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- lib32asound2 | ||
- lib32z1 | ||
- lib32bz2-1.0 | ||
- libssl1.0.0:i386 | ||
- libfreetype6:i386 | ||
|
||
install: | ||
- wget -O - get.pharo.org/60+vm | bash | ||
- ./scripts/install-packages.sh | ||
|
||
script: | ||
- ./pharo Pharo.image test --no-xterm --fail-on-failure "TaskIt.*" | ||
|
||
language: smalltalk | ||
sudo: false | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
smalltalk: | ||
- Pharo-5.0 | ||
- Pharo-6.0 |
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
22 changes: 11 additions & 11 deletions
22
BaselineOfTaskIt.package/BaselineOfTaskIt.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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"instance" : { | ||
"baseline:" : "SantiagoBragagnolo 8/23/2016 17:45" | ||
"baseline:" : "MaxLeske 12/30/2016 17:58" | ||
}, | ||
"class" : { | ||
"load" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"catalogDescription" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"baseConfigurationClassIfAbsent:" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"DevelopmentSupport" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"loadDevelopment" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"catalogKeywords" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"isMetacelloConfig" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"ensureMetacelloBaseConfiguration" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"loadBleedingEdge" : "SantiagoBragagnolo 6/17/2016 13:48:21", | ||
"catalogContactInfo" : "SantiagoBragagnolo 6/17/2016 13:48:21" | ||
"load" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"catalogDescription" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"baseConfigurationClassIfAbsent:" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"DevelopmentSupport" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"loadDevelopment" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"catalogKeywords" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"isMetacelloConfig" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"ensureMetacelloBaseConfiguration" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"loadBleedingEdge" : "SantiagoBragagnolo 8/23/2016 17:47:47", | ||
"catalogContactInfo" : "SantiagoBragagnolo 8/23/2016 17:47:47" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } |
Empty file.
11 changes: 11 additions & 0 deletions
11
BaselineOfTaskItShell.package/BaselineOfTaskItShell.class/instance/baseline..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 @@ | ||
as yet unclassified | ||
baseline: spec | ||
<baseline> | ||
spec | ||
for: #common | ||
do: [ spec | ||
baseline: #TaskIt with: [ spec repository: 'github://sbragagnolo/taskit:dev-0.3' ]; | ||
baseline: #OSSubprocess with: [ spec repository: 'github://marianopeck/OSSubprocess:master/repository' ]; | ||
package: #TaskItShell with: [ spec requires: #('TaskIt' 'OSSubprocess') ]; | ||
package: #'TaskItShell-Tests' with: [ spec requires: #('TaskItShell') ]. | ||
spec group: 'minimal' with: #(#TaskItShell) ] |
5 changes: 5 additions & 0 deletions
5
BaselineOfTaskItShell.package/BaselineOfTaskItShell.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,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"baseline:" : "SantiagoBragagnolo 9/26/2016 17:19" } } |
14 changes: 14 additions & 0 deletions
14
BaselineOfTaskItShell.package/BaselineOfTaskItShell.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,14 @@ | ||
{ | ||
"category" : "BaselineOfTaskItShell", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "BaselineOfTaskItShell", | ||
"pools" : [ | ||
], | ||
"super" : "BaselineOf", | ||
"type" : "normal" } |
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 @@ | ||
SystemOrganization addCategory: #BaselineOfTaskItShell! |
Empty file.
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 @@ | ||
(name 'BaselineOfTaskItShell') |
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 @@ | ||
(name 'BaselineOfTaskItShell-SantiagoBragagnolo.2' message 'fixing the repos' id '70e2d05a-f12f-43a2-8250-5499ad56d68d' date '26 September 2016' time '5:23:12.092572 pm' author 'SantiagoBragagnolo' ancestors ((name 'BaselineOfTaskItShell-SantiagoBragagnolo.1' message 'BaselineGaskit shell' id 'd466e537-2194-491f-9ef5-0d5a0fc0690b' date '20 September 2016' time '5:46:39.924075 pm' author 'SantiagoBragagnolo' ancestors () stepChildren ())) stepChildren ()) |
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,2 @@ | ||
{ | ||
} |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
10 changes: 0 additions & 10 deletions
10
TaskIt-Tests.package/TKTBasicTaskTests.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
19 changes: 8 additions & 11 deletions
19
TaskIt-Tests.package/TKTBasicTaskTests.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" : "TaskIt-Tests", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "TKTBasicTaskTests", | ||
"pools" : [ | ||
], | ||
"super" : "TestCase", | ||
"type" : "normal" } | ||
"category" : "TaskIt-Tests", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "TKTBasicTaskTests", | ||
"type" : "normal" | ||
} |
9 changes: 3 additions & 6 deletions
9
TaskIt-Tests.package/TKTFutureTests.class/instance/testFutureAndThenFailsIfFirstFails.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,19 +1,16 @@ | ||
tests-combinators | ||
testFutureAndThenFailsIfFirstFails | ||
|
||
| future collection thenFuture got error | | ||
future := TKTFuture new. | ||
collection := OrderedCollection new. | ||
|
||
thenFuture := future | ||
andThen: [ :v | collection add: v + 1 ]; | ||
andThen: [ :v | collection add: v + 2 ]; | ||
andThen: [ :v | collection add: v + 3 ]. | ||
|
||
thenFuture onFailureDo: [ :e | got := e ]. | ||
|
||
error := Error new. | ||
future deployFailure: error. | ||
[ error signal ] | ||
on: Error | ||
do: [ :e | future deployFailure: e ]. | ||
50 milliSecond wait. | ||
|
||
self assert: got equals: error |
10 changes: 4 additions & 6 deletions
10
TaskIt-Tests.package/TKTFutureTests.class/instance/testFutureCollectFailsOnFailure.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,13 +1,11 @@ | ||
tests-combinators | ||
testFutureCollectFailsOnFailure | ||
|
||
| future got error | | ||
future := TKTFuture new. | ||
|
||
future := TKTFuture new. | ||
(future collect: [ :v | v * 5 ]) onFailureDo: [ :v | got := v ]. | ||
|
||
error := Error new. | ||
future deployFailure: error. | ||
[ error signal ] | ||
on: Error | ||
do: [ :e | future deployFailure: e ]. | ||
50 milliSecond wait. | ||
|
||
self assert: got equals: error |
12 changes: 5 additions & 7 deletions
12
TaskIt-Tests.package/TKTFutureTests.class/instance/testFutureFallbackToFailsIfBothFail.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,15 +1,13 @@ | ||
tests-combinators | ||
testFutureFallbackToFailsIfBothFail | ||
|
||
| future got fallbackFuture error | | ||
future := TKTFuture new. | ||
fallbackFuture := TKTFuture new. | ||
|
||
fallbackFuture := TKTFuture new. | ||
(future fallbackTo: fallbackFuture) onFailureDo: [ :v | got := v ]. | ||
|
||
error := Error new. | ||
fallbackFuture deployFailure: error. | ||
future deployFailure: Error new. | ||
[ error signal ] | ||
on: Error | ||
do: [ :e | fallbackFuture deployFailure: e ]. | ||
future deployFailure: Error new. | ||
50 milliSecond wait. | ||
|
||
self assert: got equals: error |
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
11 changes: 5 additions & 6 deletions
11
...age/TKTFutureTests.class/instance/testFutureFirstCompleteOfSuccessIfFirstSuccessFaster.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,14 +1,13 @@ | ||
tests-combinators | ||
testFutureFirstCompleteOfSuccessIfFirstSuccessFaster | ||
|
||
| future got secondFuture | | ||
| future got secondFuture error | | ||
future := TKTFuture new. | ||
secondFuture := TKTFuture new. | ||
|
||
(future firstCompleteOf: secondFuture) onSuccessDo: [ :v | got := v ]. | ||
|
||
future deploySuccess: 5. | ||
secondFuture deployFailure: Error new. | ||
error := Error new. | ||
[ error signal ] | ||
on: Error | ||
do: [ :e | secondFuture deployFailure: e ]. | ||
50 milliSecond wait. | ||
|
||
self assert: got equals: 5 |
11 changes: 5 additions & 6 deletions
11
....package/TKTFutureTests.class/instance/testFutureFlatCollectFailsOnMappedFutureFailure.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,14 +1,13 @@ | ||
tests-combinators | ||
testFutureFlatCollectFailsOnMappedFutureFailure | ||
|
||
| future got error innerFuture | | ||
future := TKTFuture new. | ||
future := TKTFuture new. | ||
innerFuture := TKTFuture new. | ||
(future flatCollect: [ :v | innerFuture ]) onFailureDo: [ :v | got := v ]. | ||
|
||
error := Error new. | ||
future deploySuccess: 2. | ||
innerFuture deployFailure: error. | ||
error := Error new. | ||
[ error signal ] | ||
on: Error | ||
do: [ :e | innerFuture deployFailure: e ]. | ||
50 milliSecond wait. | ||
|
||
self assert: got equals: error |
Oops, something went wrong.