-
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.
Adds some minor tests for domain object additional state.
- Loading branch information
1 parent
783662a
commit e6fa1a4
Showing
10 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
4 changes: 4 additions & 0 deletions
4
repository/Home.package/DomainObjectTest.class/instance/setUp.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 @@ | ||
running | ||
setUp | ||
|
||
object := (ObjectEditorWrapperTestDomainObject basicNew) initialize; yourself. |
5 changes: 5 additions & 0 deletions
5
...package/DomainObjectTest.class/instance/testDomainObjectPreferMethodsToAdditionalState.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 @@ | ||
tests | ||
testDomainObjectPreferMethodsToAdditionalState | ||
|
||
object someMethod: #a. | ||
self assert: object someMethod equals: #b |
5 changes: 5 additions & 0 deletions
5
...ory/Home.package/DomainObjectTest.class/instance/testDomainObjectStoresAdditionalState.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 @@ | ||
tests | ||
testDomainObjectStoresAdditionalState | ||
|
||
object someRandomVariableName: #a. | ||
self assert: object someRandomVariableName equals: #a |
7 changes: 7 additions & 0 deletions
7
repository/Home.package/DomainObjectTest.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,7 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"setUp" : "pre 4/30/2019 14:17", | ||
"testDomainObjectPreferMethodsToAdditionalState" : "pre 4/30/2019 14:18", | ||
"testDomainObjectStoresAdditionalState" : "pre 4/30/2019 14:17" } } |
14 changes: 14 additions & 0 deletions
14
repository/Home.package/DomainObjectTest.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" : "Home-Tests", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
"object" ], | ||
"name" : "DomainObjectTest", | ||
"pools" : [ | ||
], | ||
"super" : "TestCase", | ||
"type" : "normal" } |
4 changes: 4 additions & 0 deletions
4
repository/Home.package/ObjectEditorWrapperTestDomainObject.class/instance/someMethod.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 @@ | ||
test methods | ||
someMethod | ||
|
||
^ #b |
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" : { | ||
} } | ||
"someMethod" : "pre 4/30/2019 14:18" } } |
4 changes: 2 additions & 2 deletions
4
repository/Home.package/ObjectEditorWrapperTestDomainObject.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
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