Codebase list ruby-fxruby / 42285a56-c0e4-43cb-8673-97d97da4ddc4/upstream/1.6.45+git20221125.1.7d76b2a test / TC_FXDirList.rb
42285a56-c0e4-43cb-8673-97d97da4ddc4/upstream/1.6.45+git20221125.1.7d76b2a

Tree @42285a56-c0e4-43cb-8673-97d97da4ddc4/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

TC_FXDirList.rb @42285a56-c0e4-43cb-8673-97d97da4ddc4/upstream/1.6.45+git20221125.1.7d76b2araw · 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