Codebase list ruby-fxruby / fd7d4c5a-2c04-484d-9192-0f7e40674420/main test / TC_FXDirList.rb
fd7d4c5a-2c04-484d-9192-0f7e40674420/main

Tree @fd7d4c5a-2c04-484d-9192-0f7e40674420/main (Download .tar.gz)

TC_FXDirList.rb @fd7d4c5a-2c04-484d-9192-0f7e40674420/mainraw · history · blame

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

class TC_FXDirList < Fox::TestCase
  include Fox

  def setup
    super(self.class.name)
    @dirList = FXDirList.new(mainWindow)
  end

  def test_setCurrentFile
    file = ""
    @dirList.setCurrentFile(file)
    @dirList.setCurrentFile(file, true)
  end

  def test_setDirectory
    path = ""
    @dirList.setDirectory(path)
    @dirList.setDirectory(path, true)
  end

  def test_getPathnameItem
    path = ""
    @dirList.getPathnameItem(path)
  end
end