Parent

Class/Module Index [+]

Quicksearch

Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::PlatformUtil::UnitTest

Public Instance Methods

test_parse_client_platform() click to toggle source
# File lib/rex/post/meterpreter/extensions/stdapi/railgun/platform_util.rb.ut.rb, line 15
def test_parse_client_platform
        assert_equal(PlatformUtil.parse_client_platform('x86/win32'), PlatformUtil::X86_32,
                'parse_client_platform should translate Win32 client platforms')
        assert_equal(PlatformUtil.parse_client_platform('x86/win64'), PlatformUtil::X86_64,
                'parse_client_platform should translate Win64 client platforms')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.