Menu

[a0517d]: / test / run.rb  Maximize  Restore  History

Download this file

26 lines (19 with data), 694 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'test/unit'
require 'rUtilAnts/Logging'
RUtilAnts::Logging::install_logger_on_object
activate_debug = ARGV.delete('--debug')
root_path = File.expand_path("#{File.dirname(__FILE__)}/..")
# Add the test directory to the current load path
$: << "#{root_path}/test"
# And the lib one too
$: << "#{root_path}/lib"
$: << "#{root_path}/ext"
# Require the main library
require 'fileshunter'
activate_log_debug(true) if activate_debug
# Load test files to execute
require 'fileshunter/common'
require 'fileshunter/testcases/sane_files'
require 'fileshunter/testcases/sane_files_with_garbage'
require 'fileshunter/testcases/duplicated_files'
require 'fileshunter/testcases/truncated_files'
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.