Skip to content

Commit

Permalink
Adds some minor tests for domain object additional state.
Browse files Browse the repository at this point in the history
  • Loading branch information
codeZeilen committed Apr 30, 2019
1 parent 783662a commit e6fa1a4
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
running
setUp

object := (ObjectEditorWrapperTestDomainObject basicNew) initialize; yourself.
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
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
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 repository/Home.package/DomainObjectTest.class/properties.json
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" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test methods
someMethod

^ #b
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"class" : {
},
"instance" : {
} }
"someMethod" : "pre 4/30/2019 14:18" } }
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"category" : "Home-UI-Tests",
"category" : "Home-Tests",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"aDefinedInstanceVariable" ],
"name" : "ObjectEditorWrapperTestDomainObject",
"pools" : [
],
Expand Down
1 change: 1 addition & 0 deletions repository/Home.package/monticello.meta/categories.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ SystemOrganization addCategory: #'Home-UI'!
SystemOrganization addCategory: #'Home-UI-Layouts'!
SystemOrganization addCategory: #'Home-UI-ObjectEditor'!
SystemOrganization addCategory: #'Home-Core-Tests'!
SystemOrganization addCategory: #'Home-Tests'!
SystemOrganization addCategory: #'Home-UI-Tests'!
SystemOrganization addCategory: #'Home-World'!
SystemOrganization addCategory: #'Home-Surrogates'!
Expand Down

0 comments on commit e6fa1a4

Please sign in to comment.