Sha256: 37076c2e17555be00ad7654cd1dcb27cebdcc89e77a54c53b3ff429bca2cf2a8

Contents?: true

Size: 386 Bytes

Versions: 38

Compression:

Stored size: 386 Bytes

Contents

require 'test/unit'
require 'testcase'
require 'fox16'

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

38 entries across 38 versions & 1 rubygems

Version Path
fxruby-1.6.20-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.20-x86-linux test/TC_FXDCWindow.rb
fxruby-1.6.20 test/TC_FXDCWindow.rb
fxruby-1.6.20-universal-darwin-10 test/TC_FXDCWindow.rb
fxruby-1.6.19-x86-mingw32 tests/TC_FXDCWindow.rb
fxruby-1.6.14-mswin32 tests/TC_FXDCWindow.rb
fxruby-1.6.13-mswin32 tests/TC_FXDCWindow.rb
fxruby-1.6.0 tests/TC_FXDCWindow.rb
fxruby-1.6.1 tests/TC_FXDCWindow.rb
fxruby-1.6.11 tests/TC_FXDCWindow.rb
fxruby-1.6.10 tests/TC_FXDCWindow.rb
fxruby-1.6.12 tests/TC_FXDCWindow.rb
fxruby-1.6.13 tests/TC_FXDCWindow.rb
fxruby-1.6.14-universal-darwin-9 tests/TC_FXDCWindow.rb
fxruby-1.6.15-universal-darwin-9 tests/TC_FXDCWindow.rb
fxruby-1.6.14 tests/TC_FXDCWindow.rb
fxruby-1.6.15 tests/TC_FXDCWindow.rb
fxruby-1.6.15-x86-mswin32-60 tests/TC_FXDCWindow.rb
fxruby-1.6.16-universal-darwin-9 tests/TC_FXDCWindow.rb
fxruby-1.6.16-x86-mswin32-60 tests/TC_FXDCWindow.rb