class TestStorage
Public Instance Methods
test_initialize()
click to toggle source
# File test/test_rdf.rb, line 8 def test_initialize() store = TripleStore.new('memory','mystore') assert_instance_of(TripleStore,store) assert_raises(RedlandError,'Should raise exception'){ store2 = TripleStore.new('bogus','thestore') } assert_raises(RedlandError){ store3 = TripleStore.new('hash','thefile') } end