Sha256: d2557df212e942ff1faa99ddbc49de9b67caa595d704acefdcc69965a137bbd6

Contents?: true

Size: 443 Bytes

Versions: 43

Compression:

Stored size: 443 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))

require 'rex/test'
require 'rex/proto/smb/constants'

class Rex::Proto::SMB::Constants::UnitTest < Test::Unit::TestCase
	
	Klass = Rex::Proto::SMB::Constants

	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
	
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.4 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.3 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.1 lib/rex/proto/smb/constants.rb.ut.rb