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.1.6-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.6 test/test_element_factory.rb
gstreamer-1.1.5-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.5 test/test_element_factory.rb
gstreamer-1.1.4-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.4 test/test_element_factory.rb
gstreamer-1.1.3-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.3 test/test_element_factory.rb
gstreamer-1.1.2 test/test_element_factory.rb
gstreamer-1.1.2-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.1-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.1 test/test_element_factory.rb
gstreamer-1.1.0-x86-mingw32 test/test_element_factory.rb
gstreamer-1.1.0 test/test_element_factory.rb
gstreamer-1.0.3 test/test_element_factory.rb
gstreamer-1.0.2 test/test_element_factory.rb
gstreamer-1.0.1 test/test_element_factory.rb
gstreamer-1.0.0 test/test_element_factory.rb
gstreamer-0.90.9 test/test_element_factory.rb
gstreamer-0.90.8 test/test_element_factory.rb