# File gstreamer/tests/tc_registry.rb, line 84
    def test_load_plugins
        r = Gst::Registry.get_prefered(Gst::Registry::READABLE)
        assert_instance_of(Gst::Registry, r)
        Gst::Registry.each_plugin do |p|
            ret = [
                Gst::Registry::OK,
                Gst::Registry::LOAD_ERROR,
                Gst::Registry::SAVE_ERROR,
                Gst::Registry::PLUGIN_LOAD_ERROR,
                Gst::Registry::PLUGIN_SIGNATURE_ERROR
            ]
            assert r.add_plugin(p)
            p2 = r.find_plugin(p.name)
            assert_instance_of(Gst::Plugin, p2)
            assert_equal(p.name, p2.name)
            assert ret.include?(r.load_plugin(p))
            assert ret.include?(r.update_plugin(p))
            assert ret.include?(r.unload_plugin(p))
            r.remove_plugin(p)
        end
    end