Sha256: 641916aa8ba210538c31cc216a831072db6065672de6d634e61ae154da8f479d

Contents?: true

Size: 595 Bytes

Versions: 83

Compression:

Stored size: 595 Bytes

Contents

class TestConstants < Test::Unit::TestCase
  def test_annotation
    assert_const_defined(Poppler, :AnnotType)
    assert_equal("3d", Poppler::AnnotType::TYPE_3D.nick)
    assert_const_defined(Poppler, :AnnotFlag)
    assert_const_defined(Poppler, :AnnotMarkupReplyType)
    assert_const_defined(Poppler, :AnnotExternalDataType)
    assert_equal("3d", Poppler::AnnotExternalDataType::TYPE_3D.nick)
    assert_const_defined(Poppler, :AnnotTextState)
    assert_const_defined(Poppler, :AnnotFreeTextQuadding)
  end

  def test_permissions
    assert_const_defined(Poppler, :Permissions)
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
poppler-4.2.7 test/test-constants.rb
poppler-4.2.6 test/test-constants.rb
poppler-4.2.5 test/test-constants.rb
poppler-4.2.4 test/test-constants.rb
poppler-4.2.3 test/test-constants.rb
poppler-4.2.2 test/test-constants.rb
poppler-4.2.1 test/test-constants.rb
poppler-4.2.0 test/test-constants.rb
poppler-4.1.9 test/test-constants.rb
poppler-4.1.8 test/test-constants.rb
poppler-4.1.7 test/test-constants.rb
poppler-4.1.6 test/test-constants.rb
poppler-4.1.5 test/test-constants.rb
poppler-4.1.4 test/test-constants.rb
poppler-4.1.3 test/test-constants.rb
poppler-4.1.2 test/test-constants.rb
poppler-4.1.1 test/test-constants.rb
poppler-4.1.0 test/test-constants.rb
poppler-4.0.9 test/test-constants.rb
poppler-4.0.8 test/test-constants.rb