Sha256: 3f4520df1d9fed3aae6bc2abcc08110a0b89e6c976c8082fcfbe107c62474df7

Contents?: true

Size: 729 Bytes

Versions: 25

Compression:

Stored size: 729 Bytes

Contents

module WebService
  module Request
    require 'test_helper'
    class LocationTest < Test::Unit::TestCase
      def setup
        @kind = "local"
        @value = "scope:(VOLCANO)"
      end

      def test_set_attributes
        location = Exlibris::Primo::WebService::Request::Location.new()
        location.kind = @kind
        location.value = @value
        assert_equal "local", location.kind
        assert_equal "scope:(VOLCANO)", location.value
      end

      def test_write_attributes
        location = Exlibris::Primo::WebService::Request::Location.new(:kind => @kind, :value => @value)
        assert_equal "local", location.kind
        assert_equal "scope:(VOLCANO)", location.value
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 test/web_service/request/location_test.rb
exlibris-primo-2.1.0 test/web_service/request/location_test.rb
exlibris-primo-2.0.0 test/web_service/request/location_test.rb
exlibris-primo-1.1.9 test/web_service/request/location_test.rb
exlibris-primo-1.1.8 test/web_service/request/location_test.rb
exlibris-primo-1.1.7 test/web_service/request/location_test.rb
exlibris-primo-1.1.6 test/web_service/request/location_test.rb
exlibris-primo-1.1.5 test/web_service/request/location_test.rb
exlibris-primo-1.1.4 test/web_service/request/location_test.rb
exlibris-primo-1.1.3 test/web_service/request/location_test.rb
exlibris-primo-1.1.2 test/web_service/request/location_test.rb
exlibris-primo-1.1.1 test/web_service/request/location_test.rb
exlibris-primo-1.1.0 test/web_service/request/location_test.rb
exlibris-primo-1.0.11 test/web_service/request/location_test.rb
exlibris-primo-1.0.10 test/web_service/request/location_test.rb
exlibris-primo-1.0.9 test/web_service/request/location_test.rb
exlibris-primo-1.0.8 test/web_service/request/location_test.rb
exlibris-primo-1.0.7 test/web_service/request/location_test.rb
exlibris-primo-1.0.6 test/web_service/request/location_test.rb
exlibris-primo-1.0.5 test/web_service/request/location_test.rb