Sha256: 7e8af21679108ad39510b455e26ef18c5bd58845fbde98e25e4a83b1bc36ba2c
Contents?: true
Size: 725 Bytes
Versions: 11
Compression:
Stored size: 725 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..','..','..','..','..', 'lib')) 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
11 entries across 11 versions & 1 rubygems