Sha256: 8ed32e75a930786a5956b6da38e467de77e4e587079cc80314d15d2eb72beec7
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
##################################################################### # tc_security_authentication.rb # # Test case for the Windows::Security::Authentication module. ##################################################################### require 'windows/security/authentication' require 'minitest/autorun' class TC_Windows_Security_Authentication < MiniTest::Unit::TestCase include Windows::Security::Authentication def test_methods assert_respond_to(self, :LsaOpenPolicy) assert_respond_to(self, :LsaClose) assert_respond_to(self, :LsaNtStatusToWinError) end def test_constants assert_not_nil(POLICY_VIEW_LOCAL_INFORMATION) assert_not_nil(POLICY_VIEW_AUDIT_INFORMATION) assert_not_nil(POLICY_GET_PRIVATE_INFORMATION) assert_not_nil(POLICY_TRUST_ADMIN) assert_not_nil(POLICY_CREATE_ACCOUNT) assert_not_nil(POLICY_CREATE_SECRET) assert_not_nil(POLICY_CREATE_PRIVILEGE) assert_not_nil(POLICY_SET_DEFAULT_QUOTA_LIMITS) assert_not_nil(POLICY_SET_AUDIT_REQUIREMENTS) assert_not_nil(POLICY_AUDIT_LOG_ADMIN) assert_not_nil(POLICY_SERVER_ADMIN) assert_not_nil(POLICY_LOOKUP_NAMES) assert_not_nil(POLICY_NOTIFICATION) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
windows-pr-1.2.4 | test/tc_security_authentication.rb |