Class: Treebis::Test::TestCase

Inherits:
Test::Unit::TestCase
  • Object
show all
Includes:
Capture3, DirAsHash, TestAntecedents, TestColorAndRmAndMoveAndPatch, TestColorize, TestDirAsHash, TestFileUtilsProxy, TestGlobMatcher, TestPatch, TestPersistentDotfile, TestRemove, TestSopen, TestTaskMisc, TestTempdirAndTasksAndCopy
Defined in:
lib/treebis.rb

Constant Summary collapse

DotfilePath =
'./treebis.persistent.json'

Class Attribute Summary collapse

Instance Method Summary collapse

Methods included from TestSopen

#test_sopen2_fails, #test_sopen2_succeeds

Methods included from TestTempdirAndTasksAndCopy

#test_can_open_same_name_in_different_task_sets, #test_cant_reopen_tasks, #test_copy_one_file, #test_copy_one_file_a_bunch_of_tmpdir_crap, #test_copy_one_file_almost_nothing_exist, #test_copy_one_file_nothing_exist

Methods included from TestTaskMisc

#assert_notice_outcome, #setup_notice_task, #test_notice_color, #test_notice_no_color

Methods included from TestRemove

#test_remove_not_pretty, #test_remove_pretty

Methods included from TestPersistentDotfile

#test_delegate_to, #test_persistent_dotfile_empty_tempdir

Methods included from TestPatch

#test_patch_fails, #test_patch_hack, #test_unexpected_string_from_patch

Methods included from TestGlobMatcher

#test_glob_matcher

Methods included from TestFileUtilsProxy

#test_cp_not_pretty, #test_custom_fileutils_implementation, #test_patch_fileutils, #test_pretty_puts_cp_unexpected_output

Methods included from TestDirAsHash

#test_baby_jug_fail, #test_dir_as_hash, #test_dir_as_hash_with_globs

Methods included from TestColorize

#test_colorize

Methods included from TestColorAndRmAndMoveAndPatch

#setup_sourcedir, #test_move, #test_no_color, #test_no_overwrite, #test_rm_rf

Methods included from TestAntecedents

#setup_antecedents, #test_antecedents, #test_antecedents_raw

Methods included from DirAsHash

dir_as_hash, hash_to_dir

Methods included from Capture3

#capture3

Class Attribute Details

.file_utilsObject

Returns the value of attribute file_utils.



1524
1525
1526
# File 'lib/treebis.rb', line 1524

def file_utils
  @file_utils
end

Instance Method Details

#taskObject



1526
# File 'lib/treebis.rb', line 1526

def task; Treebis::Task end