diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/types/tc_type.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/types/tc_type.rb b/test/types/tc_type.rb index 9cfb1f421..cd36a4ec0 100644 --- a/test/types/tc_type.rb +++ b/test/types/tc_type.rb @@ -11,6 +11,10 @@ require 'test/unit' class TestType < Test::Unit::TestCase def test_typemethods + assert_nothing_raised() { + Blink::Type.buildstatehash + } + Blink::Type.eachtype { |type| name = nil assert_nothing_raised() { @@ -29,6 +33,18 @@ class TestType < Test::Unit::TestCase assert( type.namevar ) + + assert_not_nil( + type.states + ) + + assert_not_nil( + type.validstates + ) + + assert( + type.validparameter(type.namevar) + ) } end end |