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.48 test/TC_FXDCWindow.rb
fxruby-1.6.48-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.48-x64-mingw-ucrt test/TC_FXDCWindow.rb
fxruby-1.6.48-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.47 test/TC_FXDCWindow.rb
fxruby-1.6.47-x64-mingw-ucrt test/TC_FXDCWindow.rb
fxruby-1.6.47-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.47-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.46 test/TC_FXDCWindow.rb
fxruby-1.6.46-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.46-x64-mingw-ucrt test/TC_FXDCWindow.rb
fxruby-1.6.46-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.45 test/TC_FXDCWindow.rb
fxruby-1.6.45-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.45-x64-mingw-ucrt test/TC_FXDCWindow.rb
fxruby-1.6.45-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.44 test/TC_FXDCWindow.rb
fxruby-1.6.44-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.44-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.43 test/TC_FXDCWindow.rb