diff options
Diffstat (limited to 't/test-custodian-testfactory.rb')
-rwxr-xr-x | t/test-custodian-testfactory.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index 65abc5b..b210ef9 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -23,6 +23,23 @@ class TestTestFactory < Test::Unit::TestCase # + # Test bogus creation + # + def test_init + + assert_raise ArgumentError do + obj = Custodian::TestFactory.create( nil, nil ) + end + + assert_raise ArgumentError do + obj = Custodian::TestFactory.create( Array.new, nil ) + end + + + end + + + # # Test the FTP-test may be created # def test_ftp_uri |