Sha256: 168792bc5d5596e3f0beeeb67037935617044d54324c760667894d695a3878f8

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

require 'libxslt'
require 'test/unit'

class TextLibXslt < Test::Unit::TestCase
  def test_constants
    assert_instance_of(Fixnum, XSLT::MAX_DEPTH)
    assert_instance_of(Fixnum, XSLT::MAX_SORT)
    assert_instance_of(String, XSLT::ENGINE_VERSION)
    assert_instance_of(Fixnum, XSLT::LIBXSLT_VERSION)
    assert_instance_of(Fixnum, XSLT::LIBXML_VERSION)
    assert_instance_of(String, XSLT::XSLT_NAMESPACE)
    assert_instance_of(String, XSLT::DEFAULT_URL)
    assert_instance_of(String, XSLT::DEFAULT_VENDOR)
    assert_instance_of(String, XSLT::DEFAULT_VERSION)
    assert_instance_of(String, XSLT::NAMESPACE_LIBXSLT)
    assert_instance_of(String, XSLT::NAMESPACE_SAXON)
    assert_instance_of(String, XSLT::NAMESPACE_XT)
    assert_instance_of(String, XSLT::NAMESPACE_XALAN)
    assert_instance_of(String, XSLT::NAMESPACE_NORM_SAXON)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxslt-ruby-0.7.0-x86-mswin32-60 tests/test_libxslt.rb
libxslt-ruby-0.7.0 tests/test_libxslt.rb