Sha256: 1325040595db8702a877df4f36a62ce5b47f016a51b7f2ecdc70397b8b50da64

Contents?: true

Size: 537 Bytes

Versions: 42

Compression:

Stored size: 537 Bytes

Contents

class TestPluginFeature < Test::Unit::TestCase
  def test_load!
    feature = Gst::ElementFactory.find("audiorate")
    assert(!feature.loaded?)
    assert(feature.load!)
    assert(feature.loaded?)
  end

  def test_rank
    feature = Gst::ElementFactory.find("playbin")
    assert_equal(Gst::RANK_NONE, feature.rank)
    feature.rank = :primary
    assert_equal(Gst::RANK_PRIMARY, feature.rank)
  end

  def test_plugin_name
    feature = Gst::ElementFactory.find("playbin")
    assert_equal("playback", feature.plugin_name)
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

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