Sha256: 818d97fa20643feb12fedc233b365f67ce47a030a950202c1c12639d0e314cf4

Contents?: true

Size: 915 Bytes

Versions: 25

Compression:

Stored size: 915 Bytes

Contents

module WebService
  module Client
    require 'test_helper'
    class AbstractTest < Test::Unit::TestCase
      def setup
        @base_url = "http://bobcatdev.library.nyu.edu"
        @user_id = "N12162279"
        @institution = "NYU"
        @doc_id = "nyu_aleph000062856"
        @dedupmgr_id = "dedupmrg17343091"
      end

      def test_abstract_raise
        assert_raise(NotImplementedError) {
          Exlibris::Primo::WebService::Client::Base.new
        }
      end

      def test_non_abstract_nothing_raised
        assert_nothing_raised {
          Exlibris::Primo::WebService::Client::Eshelf.new :base_url => @base_url
          Exlibris::Primo::WebService::Client::Reviews.new :base_url => @base_url
          Exlibris::Primo::WebService::Client::Search.new :base_url => @base_url
          Exlibris::Primo::WebService::Client::Tags.new :base_url => @base_url
        }
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

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