Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added a test for GRDynamicVariable>>default override
  • Loading branch information
Johan Brichau committed Jul 23, 2017
commit 9eaee5bedc35208c62ab175f4ad790cf82fddcc4
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tests
testDefaultValue
self assert: GRTestDynamicVariable value = 'default test value'
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"instance" : {
"testWithValue" : "MaxLeske 5/18/2017 07:42",
"testWithoutValue" : "MaxLeske 5/18/2017 07:42",
"testAnswer" : "MaxLeske 5/18/2017 07:42",
"testWithNestedValue" : "MaxLeske 5/18/2017 07:42",
"testAnswer" : "MaxLeske 5/18/2017 07:42"
"testDefaultValue" : "JohanBrichau 7/23/2017 16:57",
"testWithValue" : "MaxLeske 5/18/2017 07:42"
},
"class" : { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
defaults
default
^ 'default test value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"instance" : {
"default" : "JohanBrichau 7/23/2017 16:58"
},
"class" : { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"commentStamp" : "",
"super" : "DynamicVariable",
"category" : "Grease-Tests-Core",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "GRTestDynamicVariable",
"type" : "normal"
}

Large diffs are not rendered by default.