Class: DevSystem::SignalShellTest

Inherits:
ShellTest show all
Defined in:
lib/dev_system/subsystems/shell/shells/signal_shell_test.rb

Constant Summary

Constants inherited from Liza::Test

Liza::Test::LOG_ASSERTION, Liza::Test::LOG_ASSERTION_MESSAGE, Liza::Test::LOG_BUILDING, Liza::Test::LOG_CALL_BLOCK

Instance Attribute Summary

Attributes inherited from Liza::Test

#assertions, #test_words

Instance Method Summary collapse

Methods inherited from Liza::UnitTest

test_erbs_available, test_erbs_defined, test_methods_defined, test_sections

Methods inherited from Liza::Test

_assertion_errored, _assertion_failed, _assertion_passed, _assertion_todo, #_caller_line_split, #_groups, #_inc_assertions, #_log_test_assertion_tag, #_log_test_block, _log_test_block, after, after_stack, #assert, #assert!, #assert_equality, #assert_equality!, #assert_gt, #assert_lt, #assert_no_raise, #assert_no_raise!, #assert_raises, #assert_raises!, before, before_stack, call, #call, color, #critical, #division, division, #group, group, #initialize, #log_test_assertion, #log_test_assertion?, #log_test_assertion_message, #log_test_assertion_message?, #log_test_assertion_result, log_test_building, log_test_building?, #log_test_building?, #log_test_call, #log_test_call_block?, #log_test_call_rescue, #refute, #refute!, #refute_equality, #refute_equality!, #refute_gt, #refute_lt, #refute_no_raise, #refute_no_raise!, #refute_raises, #refute_raises!, #subject, #subject_class, subject_class, subsystem, system, #system, test, test_node, test_tree, #todo, totals

Methods inherited from Liza::Unit

_erbs_for, #add, add, cl, #cl, class_methods_defined, const_added, const_missing, constants_defined, define_error, descendants_select, division, erbs_available, erbs_defined, erbs_for, errors, #fetch, fetch, get, #get, instance_methods_defined, log, #log, log?, #log?, #log_array, log_array, log_hash, #log_hash, #log_level, log_level, #log_level?, log_level?, log_levels, #log_levels, #log_render_convert, #log_render_format, #log_render_in, #log_render_out, method_added, methods_defined, namespace, part, raise_error, #raise_error, reload!, #reload!, #render, #render!, #render_stack, renderable_formats_for, renderable_names, section, sections, #set, set, #settings, settings, singleton_method_added, sleep, #sleep, stick, #stick, sticks, #sticks, subclasses_select, subunits, system, #system, system?, test_class, time_diff, #time_diff

Constructor Details

This class inherits a constructor from Liza::Test

Instance Method Details

#expected_linux_listObject



16
17
18
# File 'lib/dev_system/subsystems/shell/shells/signal_shell_test.rb', line 16

def expected_linux_list
  {"EXIT"=>0, "HUP"=>1, "INT"=>2, "QUIT"=>3, "ILL"=>4, "TRAP"=>5, "ABRT"=>6, "IOT"=>6, "BUS"=>7, "FPE"=>8, "KILL"=>9, "USR1"=>10, "SEGV"=>11, "USR2"=>12, "PIPE"=>13, "ALRM"=>14, "TERM"=>15, "CLD"=>17, "CHLD"=>17, "CONT"=>18, "STOP"=>19, "TSTP"=>20, "TTIN"=>21, "TTOU"=>22, "URG"=>23, "XCPU"=>24, "XFSZ"=>25, "VTALRM"=>26, "PROF"=>27, "WINCH"=>28, "IO"=>29, "POLL"=>29, "PWR"=>30, "SYS"=>31}
end

#expected_mac_listObject



20
21
22
# File 'lib/dev_system/subsystems/shell/shells/signal_shell_test.rb', line 20

def expected_mac_list
  {"EXIT"=>0, "HUP"=>1, "INT"=>2, "QUIT"=>3, "ILL"=>4, "TRAP"=>5, "ABRT"=>6, "IOT"=>6, "EMT"=>7, "FPE"=>8, "KILL"=>9, "BUS"=>10, "SEGV"=>11, "SYS"=>12, "PIPE"=>13, "ALRM"=>14, "TERM"=>15, "URG"=>16, "STOP"=>17, "TSTP"=>18, "CONT"=>19, "CHLD"=>20, "CLD"=>20, "TTIN"=>21, "TTOU"=>22, "IO"=>23, "XCPU"=>24, "XFSZ"=>25, "VTALRM"=>26, "PROF"=>27, "WINCH"=>28, "INFO"=>29, "USR1"=>30, "USR2"=>31}
end

#expected_windows_listObject



24
25
26
# File 'lib/dev_system/subsystems/shell/shells/signal_shell_test.rb', line 24

def expected_windows_list
  {"EXIT"=>0, "INT"=>2, "ILL"=>4, "FPE"=>8, "KILL"=>9, "SEGV"=>11, "TERM"=>15, "ABRT"=>22}
end