-
Notifications
You must be signed in to change notification settings - Fork 1
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 #3 from ba-st/assertions_raising
Add support for configuring the error to raise
- Loading branch information
Showing
50 changed files
with
224 additions
and
54 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
22 changes: 22 additions & 0 deletions
22
...package/AssertionCheckerBuilderTest.class/instance/testFailFastConfiguringErrorToRaise.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,22 @@ | ||
tests | ||
testFailFastConfiguringErrorToRaise | ||
|
||
| mathFailureExplanation | | ||
|
||
mathFailureExplanation := 'An obvious math error'. | ||
checkerBuilder | ||
failFast; | ||
raising: InstanceCreationFailed; | ||
checking: [ :asserter | | ||
asserter | ||
enforce: [ 2 > 3 ] because: mathFailureExplanation; | ||
enforce: [ self fail ] because: [ self fail ]; | ||
enforce: [ self fail ] because: [ self fail ] ]. | ||
|
||
self | ||
should: [ checkerBuilder buildAndCheck ] | ||
raise: InstanceCreationFailed | ||
withExceptionDo: [ :exception | | ||
self | ||
assert: exception messageText equals: mathFailureExplanation; | ||
assertCollection: exception failures hasSameElements: {mathFailureExplanation} ] |
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
20 changes: 20 additions & 0 deletions
20
...uilderTest.class/instance/testSeveralConditionsButOnlyOneFailedConfiguringErrorToRaise.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,20 @@ | ||
tests | ||
testSeveralConditionsButOnlyOneFailedConfiguringErrorToRaise | ||
|
||
| mathFailureExplanation | | ||
|
||
mathFailureExplanation := 'An obvious math error'. | ||
checkerBuilder | ||
raising: InstanceCreationFailed; | ||
checking: [ :asserter | | ||
asserter | ||
enforce: [ 4 > 3 ] because: [ self fail ]; | ||
enforce: [ 1 > 2 ] because: mathFailureExplanation; | ||
enforce: [ #() isEmpty ] because: [ self fail ] ]. | ||
self | ||
should: [ checkerBuilder buildAndCheck ] | ||
raise: InstanceCreationFailed | ||
withExceptionDo: [ :exception | | ||
self | ||
assert: exception messageText equals: mathFailureExplanation; | ||
assertCollection: exception failures hasSameElements: {mathFailureExplanation} ] |
6 changes: 4 additions & 2 deletions
6
source/Buoy-Tests.package/AssertionCheckerBuilderTest.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
7 changes: 7 additions & 0 deletions
7
source/Buoy-Tests.package/AssertionCheckerTest.class/instance/testEnforceOneFactFailing.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 @@ | ||
tests | ||
testEnforceOneFactFailing | ||
|
||
| explanation | | ||
|
||
explanation := 'A false statement'. | ||
self should: [ AssertionChecker enforce: [ false ] because: explanation ] raise: AssertionFailed withExceptionDo: [ :exception | self assert: exception messageText equals: explanation ] |
8 changes: 8 additions & 0 deletions
8
...ests.package/AssertionCheckerTest.class/instance/testEnforceOneFactFailingRaisingError.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,8 @@ | ||
tests | ||
testEnforceOneFactFailingRaisingError | ||
|
||
| explanation | | ||
|
||
explanation := 'A false statement'. | ||
"For single fact checking any exception can be configured to be raised, but it's not the case when using multiple fact checking" | ||
self should: [ AssertionChecker enforce: [ false ] because: explanation raising: Error ] raise: Error withExceptionDo: [ :exception | self assert: exception messageText equals: explanation ] |
11 changes: 11 additions & 0 deletions
11
...ssertionCheckerTest.class/instance/testEnforceOneFactFailingRaisingNonDefaultException.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 @@ | ||
tests | ||
testEnforceOneFactFailingRaisingNonDefaultException | ||
|
||
| explanation | | ||
|
||
explanation := 'A false statement'. | ||
|
||
self | ||
should: [ AssertionChecker enforce: [ false ] because: explanation raising: InstanceCreationFailed ] | ||
raise: InstanceCreationFailed | ||
withExceptionDo: [ :exception | self assert: exception messageText equals: explanation ] |
6 changes: 6 additions & 0 deletions
6
...ce/Buoy-Tests.package/AssertionCheckerTest.class/instance/testEnforceOneFactNotFailing.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 @@ | ||
tests | ||
testEnforceOneFactNotFailing | ||
|
||
self | ||
shouldnt: [ AssertionChecker enforce: [ true ] because: [ self fail ] ] raise: AssertionFailed; | ||
shouldnt: [ AssertionChecker enforce: [ true ] because: [ self fail ] raising: InstanceCreationFailed ] raise: InstanceCreationFailed |
7 changes: 0 additions & 7 deletions
7
source/Buoy-Tests.package/AssertionCheckerTest.class/instance/testJustCheckOneFactFailing.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../Buoy-Tests.package/AssertionCheckerTest.class/instance/testJustCheckOneFactNotFailing.st
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
source/Buoy-Tests.package/AssertionCheckerTest.class/instance/testRefuseOneFactFailing.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 @@ | ||
tests | ||
testRefuseOneFactFailing | ||
|
||
| explanation | | ||
|
||
explanation := 'A false statement'. | ||
self should: [ AssertionChecker refuse: [ true ] because: explanation ] raise: AssertionFailed withExceptionDo: [ :exception | self assert: exception messageText equals: explanation ] |
6 changes: 6 additions & 0 deletions
6
source/Buoy-Tests.package/AssertionCheckerTest.class/instance/testRefuseOneFactNotFailing.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 @@ | ||
tests | ||
testRefuseOneFactNotFailing | ||
|
||
self | ||
shouldnt: [ AssertionChecker refuse: [ false ] because: [ self fail ] ] raise: AssertionFailed; | ||
shouldnt: [ AssertionChecker refuse: [ false ] because: [ self fail ] raising: InstanceCreationFailed ] raise: InstanceCreationFailed |
8 changes: 6 additions & 2 deletions
8
source/Buoy-Tests.package/AssertionCheckerTest.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,7 +1,11 @@ | ||
{ | ||
"instance" : { | ||
"testJustCheckOneFactFailing" : "GabrielOmarCotelli 1/25/2017 22:01", | ||
"testJustCheckOneFactNotFailing" : "GabrielOmarCotelli 1/25/2017 22:00" | ||
"testEnforceOneFactNotFailing" : "GabrielOmarCotelli 1/31/2017 20:57", | ||
"testRefuseOneFactFailing" : "GabrielOmarCotelli 2/1/2017 14:49", | ||
"testEnforceOneFactFailing" : "GabrielOmarCotelli 1/31/2017 20:16", | ||
"testRefuseOneFactNotFailing" : "GabrielOmarCotelli 2/1/2017 15:08", | ||
"testEnforceOneFactFailingRaisingError" : "GabrielOmarCotelli 2/1/2017 14:22", | ||
"testEnforceOneFactFailingRaisingNonDefaultException" : "GabrielOmarCotelli 1/31/2017 20:19" | ||
}, | ||
"class" : { } | ||
} |
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 'Buoy-Tests-GabrielOmarCotelli.3' message 'Add Holders ' id '21414a7c-6b1d-134d-a01a-dad169c438de' date '27 January 2017' time '6:47:13.88642 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.2' message 'Renamed a method' id '4db25a31-cdbf-4d66-8e72-877e298b1b47' date '26 January 2017' time '7:51:46.200684 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.1' message 'Renamed packages' id '714b9a68-e0b3-4b48-be06-7b3f27f4ce47' date '26 January 2017' time '7:29:43.673983 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ()) | ||
(name 'Buoy-Tests-GabrielOmarCotelli.5' message 'Minor changes. Added support for refuse:.' id '76d04fb8-d53c-2348-b0b9-e090961b922e' date '1 February 2017' time '3:16:33.360533 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.4' message 'Add test cases' id 'eebeab3b-1eda-4b0c-955e-450bc100b05a' date '31 January 2017' time '9:13:55.838186 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.3' message 'Add Holders ' id '21414a7c-6b1d-134d-a01a-dad169c438de' date '27 January 2017' time '6:47:13.88642 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.2' message 'Renamed a method' id '4db25a31-cdbf-4d66-8e72-877e298b1b47' date '26 January 2017' time '7:51:46.200684 pm' author 'GabrielOmarCotelli' ancestors ((name 'Buoy-Tests-GabrielOmarCotelli.1' message 'Renamed packages' id '714b9a68-e0b3-4b48-be06-7b3f27f4ce47' date '26 January 2017' time '7:29:43.673983 pm' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ()) |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/Asserter.class/instance/asReverseFact..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 @@ | ||
private | ||
asReverseFact: aFact | ||
|
||
^ [ aFact value not ] |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/Asserter.class/instance/refuse.because..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 @@ | ||
configuring | ||
refuse: aFact because: aStringOrBlock | ||
|
||
self enforce: (self asReverseFact: aFact) because: aStringOrBlock |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/Asserter.class/instance/refuse.because.onSuccess..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 @@ | ||
configuring | ||
refuse: aFact because: anExplanationStringOrBlock onSuccess: aSuccessAction | ||
|
||
self enforce: (self asReverseFact: aFact) because: anExplanationStringOrBlock onSuccess: aSuccessAction |
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,13 @@ | ||
{ | ||
"instance" : { | ||
"asReverseFact:" : "GabrielOmarCotelli 2/1/2017 14:44", | ||
"enforce:because:" : "GabrielOmarCotelli 1/26/2017 19:50", | ||
"enforce:because:onSuccess:" : "GabrielOmarCotelli 1/26/2017 19:50", | ||
"initialize" : "GabrielOmarCotelli 1/25/2017 21:42", | ||
"checkApplying:" : "GabrielOmarCotelli 1/25/2017 21:43", | ||
"value:applying:" : "GabrielOmarCotelli 1/24/2017 21:46" | ||
"initialize" : "GabrielOmarCotelli 1/25/2017 21:42", | ||
"value:applying:" : "GabrielOmarCotelli 1/24/2017 21:46", | ||
"refuse:because:onSuccess:" : "GabrielOmarCotelli 2/1/2017 14:44", | ||
"refuse:because:" : "GabrielOmarCotelli 2/1/2017 14:44" | ||
}, | ||
"class" : { } | ||
} |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/AssertionChecker.class/class/checkApplyingFailFastPolicyTo.raising..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 @@ | ||
private | ||
checkApplyingFailFastPolicyTo: asserter raising: errorToSignal | ||
|
||
^ (self applying: (RaiseOnFirstAssertionFailurePolicy raising: errorToSignal) to: asserter) check |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/AssertionChecker.class/class/enforce.because..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 @@ | ||
checking | ||
enforce: aFact because: aStringOrBlockExplanation | ||
|
||
^ self enforce: aFact because: aStringOrBlockExplanation raising: AssertionFailurePolicy defaultErrorToSignal |
9 changes: 9 additions & 0 deletions
9
source/Buoy.package/AssertionChecker.class/class/enforce.because.raising..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,9 @@ | ||
checking | ||
enforce: aFact because: aStringOrBlockExplanation raising: errorToSignal | ||
|
||
| asserter | | ||
|
||
asserter := Asserter new. | ||
asserter enforce: aFact because: aStringOrBlockExplanation. | ||
|
||
^ self checkApplyingFailFastPolicyTo: asserter raising: errorToSignal |
9 changes: 0 additions & 9 deletions
9
source/Buoy.package/AssertionChecker.class/class/justCheck.because..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/AssertionChecker.class/class/refuse.because..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 @@ | ||
checking | ||
refuse: aFact because: aStringOrBlockExplanation | ||
|
||
^ self refuse: aFact because: aStringOrBlockExplanation raising: AssertionFailurePolicy defaultErrorToSignal |
9 changes: 9 additions & 0 deletions
9
source/Buoy.package/AssertionChecker.class/class/refuse.because.raising..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,9 @@ | ||
checking | ||
refuse: aFact because: aStringOrBlockExplanation raising: errorToSignal | ||
|
||
| asserter | | ||
|
||
asserter := Asserter new. | ||
asserter refuse: aFact because: aStringOrBlockExplanation. | ||
|
||
^ self checkApplyingFailFastPolicyTo: asserter raising: errorToSignal |
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
source/Buoy.package/AssertionCheckerBuilder.class/instance/build.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 @@ | ||
checking | ||
build | ||
|
||
^ AssertionChecker applying: failurePolicyFactory new to: asserter | ||
^ AssertionChecker applying: (failurePolicyFactory raising: errorToSignal) to: asserter |
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
source/Buoy.package/AssertionCheckerBuilder.class/instance/raising..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 @@ | ||
configuring | ||
raising: anErrorToSignal | ||
|
||
errorToSignal := anErrorToSignal |
5 changes: 3 additions & 2 deletions
5
source/Buoy.package/AssertionCheckerBuilder.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
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
source/Buoy.package/AssertionFailurePolicy.class/class/defaultErrorToSignal.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 | ||
defaultErrorToSignal | ||
|
||
^ AssertionFailed |
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/AssertionFailurePolicy.class/class/raising..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 @@ | ||
Instance Creation | ||
raising: anErrorClass | ||
|
||
^ self subclassResponsibility |
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: 0 additions & 4 deletions
4
source/Buoy.package/CollectingAssertionFailuresPolicy.class/class/new.st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
source/Buoy.package/CollectingAssertionFailuresPolicy.class/class/raising..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 @@ | ||
Instance Creation | ||
raising: anErrorClass | ||
|
||
^ self new initializeRaising: anErrorClass |
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
5 changes: 0 additions & 5 deletions
5
source/Buoy.package/CollectingAssertionFailuresPolicy.class/instance/initialize.st
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
source/Buoy.package/CollectingAssertionFailuresPolicy.class/instance/initializeRaising..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 @@ | ||
initialization | ||
initializeRaising: anErrorClass | ||
|
||
errorClass := anErrorClass. | ||
failures := OrderedCollection new |
6 changes: 3 additions & 3 deletions
6
source/Buoy.package/CollectingAssertionFailuresPolicy.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,10 +1,10 @@ | ||
{ | ||
"instance" : { | ||
"initialize" : "GabrielOmarCotelli 1/24/2017 21:20", | ||
"applyTo:" : "GabrielOmarCotelli 1/25/2017 21:29", | ||
"initializeRaising:" : "GabrielOmarCotelli 1/31/2017 21:03", | ||
"applyTo:" : "GabrielOmarCotelli 1/31/2017 21:03", | ||
"assertionFailedBecause:" : "GabrielOmarCotelli 1/24/2017 21:28" | ||
}, | ||
"class" : { | ||
"new" : "GabrielOmarCotelli 1/24/2017 21:20" | ||
"raising:" : "GabrielOmarCotelli 1/31/2017 21:10" | ||
} | ||
} |
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 @@ | ||
I'm an exception expecting to be raised when someone tries to create an invalid instance |
Oops, something went wrong.