def test_arg_info_alist
assert_equal([ [ 'str_arg', 'string', :string, 'hi' ],
[ 'passwd_arg', 'password', :password, nil ],
[ 'txt_arg', 'text', :text, '<html>Hello world.</html>' ],
[ 'num_arg', 'number', :integer, 0 ],
[ 'reg_arg', 'regexp', :regexp, /foo/ ],
[ 'bool_arg', 'boolean', :bool, true ],
[ 'sel_arg', 'select', :select, %w[ foo bar baz ] ],
[ 'radio_arg', 'radio', :radio, %w[ foo bar baz ] ],
[ 'chk_arg', 'checkset', :checkset,
[ [ 'foo', false ],
[ 'bar', false ],
[ 'baz', false ]
]
]
], @entry.arg_info_alist('Foo'))
assert_equal(1, @arg_info_alist_call)
assert_equal('Foo', @arg_info_alist_name)
end