Sha256: 44fdb6d5489b396c7b9501ff47748e1ab9dfe2fedf8adbf42e2292a4b3cb2bfe

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

require 'gir_ffi_test_helper'

GirFFI.setup :PangoFT2

# Tests generated methods and functions in the PangoFT2 namespace.
describe PangoFT2 do
  describe PangoFT2::FontMap do
    it 'has a working method #load_font' do
      font_map = PangoFT2::FontMap.new
      context = font_map.create_context
      font_description = Pango::FontDescription.new
      font_map.load_font context, font_description
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.11.3 test/integration/generated_pango_ft2_test.rb
gir_ffi-0.11.2 test/integration/generated_pango_ft2_test.rb