Codebase list ruby-fxruby / 824235e0-ab15-44a9-89b9-f5cf6891976b/upstream test / TC_FXDirList.rb
824235e0-ab15-44a9-89b9-f5cf6891976b/upstream

Tree @824235e0-ab15-44a9-89b9-f5cf6891976b/upstream (Download .tar.gz)

TC_FXDirList.rb @824235e0-ab15-44a9-89b9-f5cf6891976b/upstreamraw · 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