-
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.
- Loading branch information
Dion Stewart
committed
Nov 18, 2023
1 parent
7c0ae2d
commit 038dc7b
Showing
6 changed files
with
93 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Class { | ||
#name : #ApprovalNamerTest, | ||
#superclass : #TestCase, | ||
#category : #'Approvaltests-Tests' | ||
} | ||
|
||
{ #category : #tests } | ||
ApprovalNamerTest >> testApprovedFile [ | ||
| namer approvedFileName | | ||
|
||
namer := ApprovalNamer new. | ||
approvedFileName := namer approvedFileName, '.txt'. | ||
self assert: (File exists: approvedFileName). | ||
] |
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
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,33 @@ | ||
Class { | ||
#name : #Approvals, | ||
#superclass : #Object, | ||
#category : #Approvaltests | ||
} | ||
|
||
{ #category : #'as yet unclassified' } | ||
Approvals class >> verify: anObject [ | ||
|
||
self verify: anObject options: (Options new) | ||
|
||
] | ||
|
||
{ #category : #'as yet unclassified' } | ||
Approvals class >> verify: anObject index: anInteger [ | ||
|
||
|
||
|
||
] | ||
|
||
{ #category : #'as yet unclassified' } | ||
Approvals class >> verify: anObject options: anOptions [ | ||
|
||
self verify: anObject options: Options new. | ||
|
||
] | ||
|
||
{ #category : #'as yet unclassified' } | ||
Approvals class >> verify: anObject with: anInteger [ | ||
|
||
|
||
|
||
] |
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 { | ||
#name : #Options, | ||
#superclass : #Object, | ||
#category : #Approvaltests | ||
} |
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 { | ||
#name : #TextWriter, | ||
#superclass : #Object, | ||
#category : #Approvaltests | ||
} |