1
# **********************************************************************
3
# Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
5
# This copy of Ice is licensed to you under the terms described in the
6
# ICE_LICENSE file included in this distribution.
8
# **********************************************************************
11
print "testing default values... "
23
test(v.str == "foo bar")
24
test(v.c == Test::Color::Red)
25
test(v.noDefault == '')
36
test(v.str == "foo bar")
37
test(v.noDefault == '')
48
test(v.str == "foo bar")
49
test(v.c == Test::Color::Green)
50
test(v.noDefault == '')
61
test(v.str == "foo bar")
62
test(v.noDefault == '')
64
v = Test::DerivedEx.new
73
test(v.str == "foo bar")
74
test(v.noDefault == '')
75
test(v.c == Test::Color::Green)