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.32.pre2-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.32.pre2 test/TC_FXDCWindow.rb
fxruby-1.6.32.pre1 test/TC_FXDCWindow.rb
fxruby-1.6.32.pre1-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.32.pre1-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.31-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.31-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.31 test/TC_FXDCWindow.rb
fxruby-1.6.30-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.30-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.30 test/TC_FXDCWindow.rb
fxruby-1.6.29-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.29-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.29 test/TC_FXDCWindow.rb
fxruby-1.6.28-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.28-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.28 test/TC_FXDCWindow.rb
fxruby-1.6.27-x86-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.27-x64-mingw32 test/TC_FXDCWindow.rb
fxruby-1.6.27 test/TC_FXDCWindow.rb