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.43-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.43-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.42 test/TC_FXDCWindow.rb
fxruby-1.6.42-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.42-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.41 test/TC_FXDCWindow.rb
fxruby-1.6.41-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.41-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.40-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.40-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.40 test/TC_FXDCWindow.rb
fxruby-1.6.39 test/TC_FXDCWindow.rb
fxruby-1.6.39-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.39-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.38 test/TC_FXDCWindow.rb
fxruby-1.6.38-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.38-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.38.pre1 test/TC_FXDCWindow.rb
fxruby-1.6.37 test/TC_FXDCWindow.rb
fxruby-1.6.37-x64-mingw32 test/TC_FXDCWindow.rb