Sha256: d2862d4d265a59234733f648368a691f97afdbcda84c1c54721dd0203a7d1221
Contents?: true
Size: 713 Bytes
Versions: 12
Compression:
Stored size: 713 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..','..','..','..')) require 'rex/post/meterpreter/extensions/stdapi/railgun/api_constants' require 'rex/post/meterpreter/extensions/stdapi/railgun/win_const_manager' require 'rex/text' require 'test/unit' module Rex module Post module Meterpreter module Extensions module Stdapi module Railgun class ApiConstants::UnitTest < Test::Unit::TestCase def test_add_constants const_manager = WinConstManager.new ApiConstants.add_constants(const_manager) assert_equal(0, const_manager.parse('SUCCESS'), "ApiConstants.add_constants should have added WinAPI constants to given constant manager") end end end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems