gir_ffi-pretty_printer 0.0.6 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'test_helper'
4
-
5
- describe 'The pretty-printed GLib module' do
6
- let(:printer) { GirFFI::PrettyPrinter.new }
7
- it 'looks as expected' do
8
- expected = File.read(File.join(File.dirname(__FILE__), 'expected_glib.rb'))
9
- result = printer.pretty_print 'GLib'
10
-
11
- File.open(File.join(File.dirname(__FILE__), 'actual_glib.rb'), 'w') do |resultfile|
12
- resultfile.puts result
13
- end
14
-
15
- result.must_equal expected
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'test_helper'
4
-
5
- describe 'The pretty-printed GObject module' do
6
- let(:printer) { GirFFI::PrettyPrinter.new }
7
- it 'looks as expected' do
8
- expected = File.read(File.join(File.dirname(__FILE__), 'expected_gobject.rb'))
9
- result = printer.pretty_print 'GObject'
10
-
11
- File.open(File.join(File.dirname(__FILE__), 'actual_gobject.rb'), 'w') do |resultfile|
12
- resultfile.puts result
13
- end
14
-
15
- result.must_equal expected
16
- end
17
- end
data/test/test_helper.rb DELETED
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- begin
4
- require 'simplecov'
5
- SimpleCov.start do
6
- add_filter '/test/'
7
- end
8
- rescue LoadError
9
- end
10
-
11
- require 'minitest/autorun'
12
-
13
- require 'gir_ffi-pretty_printer'