Sha256: 83aa259f6ab84c679add0731b6043b69325db26455dad1addc32fb14224c036f

Contents?: true

Size: 755 Bytes

Versions: 1

Compression:

Stored size: 755 Bytes

Contents

class ToolsModuleTest < Minitest::Test

  def self.test_order
    :sorted
  end

  def test_log_A
    ToolsFiles.remove_file (File.dirname __dir__) + '/teste.log'
    ToolsLog.create_log_file 'test', (File.dirname __dir__) + '/teste.log'
    ToolsLog.create_log_file 'test', (File.dirname __dir__) + '/teste.log'
    FileUtils.touch (File.dirname __dir__) + '/teste.log', :mtime => (Time.now - 86400)
    ToolsLog.test_info  'Minitest.: test_log'
    ToolsLog.test_warn  'Minitest.: test_log'
    ToolsLog.test_error 'Minitest.: test_log'
    ToolsLog.test_debug 'Minitest.: test_log'
    ToolsLog.test_ucolor 'Minitest.: test_log'
    ToolsLog.test_ucolorx 'Minitest.: test_log'
    ToolsFiles.remove_file (File.dirname __dir__) + '/teste.log'
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tools-0.4.5 test/mini_log.rb