Sha256: 982d6a68501200dad1f11f3a0e36765295ca472bb6726dd792fd1a7e604d989a

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 Bytes

Contents

# Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved.
# This is free software with ABSOLUTELY NO WARRANTY.
# You can redistribute it and/or modify it under the terms of the GNU GPL 2.

$LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..'
require 'qwik/catalog-factory'

module QuickML
  class CatalogFactory < Qwik::CatalogFactory
  end
end

if $0 == __FILE__
  require 'test/unit'
  $test = true
end

if defined?($test) && $test
  class TestMLCatalogFactory < Test::Unit::TestCase
    def test_all
      cf = QuickML::CatalogFactory.new
      cf.load_all_here('catalog-ml-??.rb')
      catalog_ja = cf.get_catalog('ja')
      assert_equal true, catalog_ja != nil
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
qwik2md-2.0.1 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwik2md-2.0.0 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwik2md-1.0.2 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwik2md-1.0.1 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwik2md-1.0.0 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwik2md-0.1.0 vendor/qwik/lib/qwik/ml-catalog-factory.rb
qwikdoc-0.0.1 vendor/qwik/ml-catalog-factory.rb