Sha256: 8ed5d98588bd382c82e4fc7c7d84d18d7bb079dbf8c251ac6510324a89c03a94
Contents?: true
Size: 817 Bytes
Versions: 4
Compression:
Stored size: 817 Bytes
Contents
require 'test/unit' require 'soap/processor' require 'voruby/services/registry/registry' include VORuby::Services::Registry class STScIRegistryTest < Test::Unit::TestCase def setup assert_nothing_raised { @registry = STScI.from_wsdl() } end def test_queryVOResource_registry assert_nothing_raised { predicate = "ResourceType like 'REGISTRY'" puts "Query: #{predicate}" @registry.queryVOResource(predicate).resources.each do |res| puts "\t#{res.title}" end } end def test_queryVOResource_cone assert_nothing_raised { predicate = "maxSearchRadius > 1 and ResourceType like 'CONE'" puts "Query: #{predicate}" @registry.queryVOResource(predicate).resources.each do |res| puts "\t#{res.title}" end } end end
Version data entries
4 entries across 4 versions & 1 rubygems