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