Sha256: 7f39cae8384d13412cc41bb6267b07f7b719b808f5e6c32b346f8752b75a3539

Contents?: true

Size: 893 Bytes

Versions: 35

Compression:

Stored size: 893 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..','..','..','..','..', 'lib')) 

require 'rex/post/meterpreter/extensions/stdapi/railgun/dll_function'
require 'test/unit'

module Rex
module Post
module Meterpreter
module Extensions
module Stdapi
module Railgun
class DLLFunction::UnitTest < Test::Unit::TestCase

	VALID_RETURN_TYPE = 'DWORD'
	NON_RETURN_DATATYPE = 'INVALID_RETURN_TYPE'

	VALID_DIRECTION = 'out'
	UNKNOWN_DIRECTION = 'unknown'

	VALID_DATATYPE = 'PBLOB'
	UNKNOWN_DATATYPE = 'UNKNOWN_DATATYPE'

	def test_initialize
		# TODO: haven't gotten around to writing this yet. Feel free to
#		skip("incomplete test coverage")
#
#		assert_nothing_raised("valid initialization should not raise") do
#		end
#
#		assert_raised(ArgumentError, "check_type_exists should raise ArgumentError on unknown datatypes") do
#		end
	
	end
end
end
end
end
end
end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
librex-0.0.63 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.54 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.53 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.52 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.51 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.50 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.49 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.48 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.47 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.46 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.44 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.43 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.42 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.41 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.40 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.39 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.38 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.37 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.36 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb
librex-0.0.35 lib/rex/post/meterpreter/extensions/stdapi/railgun/dll_function.rb.ut.rb