Sha256: d04c3d710d35f21c7091ea46f66f0fd57732c895736675d08ed7230300daeedf

Contents?: true

Size: 1.75 KB

Versions: 9

Compression:

Stored size: 1.75 KB

Contents

# ===================================================================================================
#                           _  __     _ _
#                          | |/ /__ _| | |_ _  _ _ _ __ _
#                          | ' </ _` | |  _| || | '_/ _` |
#                          |_|\_\__,_|_|\__|\_,_|_| \__,_|
#
# This file is part of the Kaltura Collaborative Media Suite which allows users
# to do with audio, video, and animation what Wiki platfroms allow them to do with
# text.
#
# Copyright (C) 2006-2011  Kaltura Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http:#www.gnu.org/licenses/>.
#
# @ignore
# ===================================================================================================
require 'test_helper'

class DocumentServiceTest < Test::Unit::TestCase
  
    # this test tries to access the depricated document service and retrieves the list of documents.
    should "get the document list" do
  
    document_entry_filter = Kaltura::KalturaDocumentEntryFilter.new
    filter_pager = Kaltura::KalturaFilterPager.new      
    
    document_list = @client.document_service.list(document_entry_filter, filter_pager) 
    assert_not_nil document_list.total_count   
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
kaltura-client-3.3.0 test/document_service_test.rb
kaltura_box-0.0.3 vendor/kaltura-ruby-client/test/document_service_test.rb
kaltura-client-3.2.0 test/document_service_test.rb
kaltura-client-3.1.7 test/document_service_test.rb
kaltura-client-3.1.6 test/document_service_test.rb
kaltura-client-1.2 test/document_service_test.rb
kaltura-ruby-client-1.0 test/document_service_test.rb
kaltura_box-0.0.2 vendor/kaltura-ruby-client/test/document_service_test.rb
kaltura_box-0.0.1 vendor/kaltura-ruby-client/test/document_service_test.rb