X Tutup
Skip to content

Commit 9eaee5b

Browse files
author
Johan Brichau
committed
Added a test for GRDynamicVariable>>default override
1 parent 61126b9 commit 9eaee5b

File tree

7 files changed

+27
-3
lines changed

7 files changed

+27
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tests
2+
testDefaultValue
3+
self assert: GRTestDynamicVariable value = 'default test value'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"instance" : {
3-
"testWithValue" : "MaxLeske 5/18/2017 07:42",
43
"testWithoutValue" : "MaxLeske 5/18/2017 07:42",
4+
"testAnswer" : "MaxLeske 5/18/2017 07:42",
55
"testWithNestedValue" : "MaxLeske 5/18/2017 07:42",
6-
"testAnswer" : "MaxLeske 5/18/2017 07:42"
6+
"testDefaultValue" : "JohanBrichau 7/23/2017 16:57",
7+
"testWithValue" : "MaxLeske 5/18/2017 07:42"
78
},
89
"class" : { }
910
}

repository/Grease-Tests-Core.package/GRTestDynamicVariable.class/README.md

Whitespace-only changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
defaults
2+
default
3+
^ 'default test value'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"instance" : {
3+
"default" : "JohanBrichau 7/23/2017 16:58"
4+
},
5+
"class" : { }
6+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"commentStamp" : "",
3+
"super" : "DynamicVariable",
4+
"category" : "Grease-Tests-Core",
5+
"classinstvars" : [ ],
6+
"pools" : [ ],
7+
"classvars" : [ ],
8+
"instvars" : [ ],
9+
"name" : "GRTestDynamicVariable",
10+
"type" : "normal"
11+
}

repository/Grease-Tests-Core.package/monticello.meta/version

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
X Tutup