Class: Rex::Proto::SMB::Constants::UnitTest

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/rex/proto/smb/constants.rb.ut.rb

Constant Summary collapse

Klass =
Rex::Proto::SMB::Constants

Instance Method Summary collapse

Instance Method Details

#test_definesObject



13
14
15
16
17
# File 'lib/rex/proto/smb/constants.rb.ut.rb', line 13

def test_defines
	assert_equal(Klass::SMB_COM_CREATE_DIRECTORY,  0x00 )
	assert_equal(Klass::SMB_COM_NT_CREATE_ANDX, 0xa2 )
	assert_equal(Klass::NT_TRANSACT_QUERY_SECURITY_DESC, 0x06)
end