Class: UtilTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/common/socket/util.rb

Instance Method Summary collapse

Instance Method Details

#no_test_get_lib_pathObject



258
259
260
# File 'lib/common/socket/util.rb', line 258

def no_test_get_lib_path
	puts Util.get_lib_path '10.241.14.56'
end

#no_test_ssh_cmd!Object



253
254
255
256
# File 'lib/common/socket/util.rb', line 253

def no_test_ssh_cmd!
	puts Util.exe_ssh_cmd! '10.241.14.56', 'ls'
	puts Util.exe_ssh_cmd! '10.241.14.56', 'cd app-test/search/space/module-test/lib/data/ && ruby data_helper.rb file_exist? data_helper.rb'
end

#test_get_local_ipObject



262
263
264
# File 'lib/common/socket/util.rb', line 262

def test_get_local_ip
	puts Util.get_local_ip
end