Sha256: e28f77df988d525a8c7fceefc8357ea2fbe41b160a89db9f6100750350f71ca9

Contents?: true

Size: 386 Bytes

Versions: 6

Compression:

Stored size: 386 Bytes

Contents

require 'test/unit'
require 'testcase'
require 'fox12'

include Fox

class TC_FXDCWindow < TestCase
  def setup
    super(self.class.name)
    app.create
    mainWindow.create
  end
  def test_new
    dc = FXDCWindow.new(mainWindow)
    dc.drawPoint(0, 0)
    dc.end
  end
  def test_new_with_block
    dc = FXDCWindow.new(mainWindow) do |dc|
      dc.drawPoint(0, 0)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fxruby-1.2.2 tests/TC_FXDCWindow.rb
fxruby-1.2.3 tests/TC_FXDCWindow.rb
fxruby-1.2.4 tests/TC_FXDCWindow.rb
fxruby-1.2.5 tests/TC_FXDCWindow.rb
fxruby-1.4.0 tests/TC_FXDCWindow.rb
fxruby-1.2.6 tests/TC_FXDCWindow.rb