Sha256: 84b881d09447a37b75fbd9f2e7ba6401c9fa6e8ecfc441a38823cb92043dde59

Contents?: true

Size: 575 Bytes

Versions: 42

Compression:

Stored size: 575 Bytes

Contents

class TestElementFactory < Test::Unit::TestCase
  include GstTestUtils

  def test_long_name
    assert_equal("Player Bin", play_bin.long_name)
  end

  def test_klass
    assert_equal("Generic/Bin/Player", play_bin.klass)
  end

  def test_description
    assert_equal("Autoplug and play media from an uri", play_bin.description)
  end

  def test_author
    assert_match(/\AWim Taymans <.*?>\z/, play_bin.author)
  end

  def test_create
    assert_match(/\Aplaybin\d+\z/, play_bin.create.name)
  end

  private
  def play_bin
    find_element_factory("playbin")
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
gstreamer-1.2.6-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.6 test/test_element_factory.rb
gstreamer-1.2.5-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.5 test/test_element_factory.rb
gstreamer-1.2.4-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.4 test/test_element_factory.rb
gstreamer-1.2.3-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.3 test/test_element_factory.rb
gstreamer-1.2.2-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.2 test/test_element_factory.rb
gstreamer-1.2.1-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.1 test/test_element_factory.rb
gstreamer-1.2.0-x86-mingw32 test/test_element_factory.rb
gstreamer-1.2.0 test/test_element_factory.rb
gstreamer-1.1.9-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.9 test/test_element_factory.rb
gstreamer-1.1.8-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.8 test/test_element_factory.rb
gstreamer-1.1.7 test/test_element_factory.rb
gstreamer-1.1.7-x86-mingw32 test/test_element_factory.rb