Sha256: f0f1b45d0d4d5009613624a912fadc357ad2e786acbc803ccb0a099ede025db6

Contents?: true

Size: 390 Bytes

Versions: 104

Compression:

Stored size: 390 Bytes

Contents

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

class TC_FXDCWindow < Fox::TestCase
  include Fox

  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
    FXDCWindow.new(mainWindow) do |dc|
      dc.drawPoint(0, 0)
    end
  end
end

Version data entries

104 entries across 104 versions & 2 rubygems

Version Path
fxruby-1.6.26-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.26 test/TC_FXDCWindow.rb
fxruby-1.6.26.pre1-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.26.pre1 test/TC_FXDCWindow.rb
fxruby-1.6.25-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.25 test/TC_FXDCWindow.rb
fxruby-1.6.25.pre2-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.25.pre2 test/TC_FXDCWindow.rb
fxruby-1.6.25.pre1-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.25.pre1 test/TC_FXDCWindow.rb
fxruby-1.6.24-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.24 test/TC_FXDCWindow.rb
fxruby-1.6.23-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.23 test/TC_FXDCWindow.rb
fxruby-1.6.22-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.22 test/TC_FXDCWindow.rb
fxruby-1.6.22.pre4-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.22.pre4 test/TC_FXDCWindow.rb
fxruby-1.6.22.pre3-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.22.pre3 test/TC_FXDCWindow.rb