Sha256: 15578c3a0399bd892c522dce42c5301c7fd711e7abcfd7ddd200969c794f711a
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
require 'test/unit' require 'ontomde-core' class TC_attr_reader < Test::Unit::TestCase def setup @@model=Crdf_Model.new @uns=UriNamespace.instance end def test_load_simple1 t1("abcd") end def test_load_simple2 t1("http://abcd") end def test_load_simple3 t1("http://abcd#xyz") end def test_load_simple4 t1("http://ab_cd#xyz") end def test_load_simple5 t1("ab_cd") end def t1(uri) ua=@uns.urialias(uri) puts "!! #{uri} --> #{ua}" uri2=@uns.unalias(ua) end end require 'test/unit/ui/console/testrunner' Test::Unit::UI::Console::TestRunner.run(TC_attr_reader)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ontomde-core-1.0.2 | test/test_uri.rb |