Sha256: ee9802113c025c2d90bf1d6ec08732298662caab16927a7291c7a0b5322b5ab4

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

$:.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

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.66 lib/rex/proto/smb/constants.rb.ut.rb