Index: tests/parameters.test =================================================================== diff -u -r84c5ee62a46e8fab7b9cc481c87290d387baced9 -r70d242f602e1807f7ef67cf9d642bb78f059be44 --- tests/parameters.test (.../parameters.test) (revision 84c5ee62a46e8fab7b9cc481c87290d387baced9) +++ tests/parameters.test (.../parameters.test) (revision 70d242f602e1807f7ef67cf9d642bb78f059be44) @@ -1314,4 +1314,25 @@ # return enumeration type ? {nx::Class info method parametersyntax "info mixinof"} \ "?-closure? ?-scope all|class|object? ?pattern?" -} \ No newline at end of file +} + +# +# Check whether resetting via method "configure" changes values in the +# initialzed object state. +# +Test case dont-reset-to-defaults { + Class create C { + :attribute {a 1} + :create c1 + } + ? {c1 a} 1 + + # change the value from the default to a different value + ? {c1 a 2} 2 + ? {c1 a} 2 + # call configure ... + c1 configure + # ... and check, it did not reset the value to the default + ? {c1 a} 2 +} +? {::nsf::isobject ::o} 0 \ No newline at end of file