Sha256: f8bebda0e6634248e93627c7a8c185293e515a1b232f588d33c35a891e430d57

Contents?: true

Size: 519 Bytes

Versions: 43

Compression:

Stored size: 519 Bytes

Contents

#!/usr/bin/env ruby

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

require 'rex/test'
require 'rex/proto/drda/constants'

class Rex::Proto::DRDA::Constants::UnitTest < Test::Unit::TestCase
	
	Konst = Rex::Proto::DRDA::Constants

	def test_defines
		assert_equal(Konst::EXCSAT, 0x1041)
		assert_equal(Konst::MGRLVLLS, 0x1404)
		assert_equal(Konst::SECCHKCD, 0x11a4)
	end

	def test_const_values
		assert_kind_of(Array, Konst.const_values)
		assert Konst.const_values.include? Konst::EXCSAT
	end
	
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.63 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.54 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.53 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.52 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.51 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.50 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.49 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.48 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.47 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.46 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.44 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.43 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.42 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.41 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.40 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.39 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.38 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.37 lib/rex/proto/drda/constants.rb.ut.rb
librex-0.0.36 lib/rex/proto/drda/constants.rb.ut.rb