Sha256: de8351000cd184dacf2c4fab4e56ce03a4d6f13c9dc3d03e6e603d2ebed9d46e

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

# Copyright (C) 2011  Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

class PluginTest < Test::Unit::TestCase
  include GroongaTestUtils

  setup :setup_sandbox
  setup :setup_database
  teardown :teardown_sandbox

  def test_register
    context = Groonga::Context.default
    assert_nil(context["suggest"])
    context.register_plugin("suggest/suggest")
    assert_not_nil(context["suggest"])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rroonga-1.2.0 test/test-plugin.rb
rroonga-1.1.0-x86-mingw32 test/test-plugin.rb
rroonga-1.1.0 test/test-plugin.rb