Sha256: c83cc1edae37f95b6c6893e5ea1710f4ef9f1320075bdd5dd0cbd64cb0802d11
Contents?: true
Size: 753 Bytes
Versions: 1
Compression:
Stored size: 753 Bytes
Contents
######################################################################## # test_security.rb # # Test suite for the Win32::Security base class. You should run these # tests via the rake test tasks. ######################################################################## require 'test-unit' require 'win32/security' class TC_Win32_Security < Test::Unit::TestCase test "version constant is set to expected value" do assert_equal('0.3.0', Win32::Security::VERSION) end test "elevated security basic functionality" do assert_respond_to(Win32::Security, :elevated_security?) assert_boolean(Win32::Security.elevated_security?) end test "ffi functions are private" do assert_not_respond_to(Win32::Security, :CloseHandle) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
win32-security-0.3.0 | test/test_security.rb |