Parent

Class/Module Index [+]

Quicksearch

Gst::Plugin

Public Instance Methods

each_feature(&block) click to toggle source
# File gstreamer/lib/gst.rb, line 23
def each_feature(&block)
  Registry.default.each_feature(name, &block)
end
test(tc) click to toggle source
# File gstreamer/tests/misc.rb, line 214
def test(tc)
    # Test loaded
    tc.assert_bool loaded?
    # Test name
    tc.assert_instance_of(String, n = name) 
    # Test longname (may be nil)
    if ln = longname
        tc.assert_instance_of(String, ln)
    end
    # Test filename (may be nil)
    if fn = filename
        tc.assert_instance_of(String, fn)
    end
    # Test features 
    i = 0
    each_feature { |f| f.test(tc); i += 1 }
    tc.assert_instance_of(Array, a = features) 
    tc.assert_equal(a.length, i)
    #a.each { |f| f.test(tc) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.