Sha256: eabc228dece54b3c6a110225ea4b3996323350e3937fe7566abe524dc7a8d27e
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: binary -*- $:.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/proto/drda/constants.rb.ut.rb |
librex-0.0.66 | lib/rex/proto/drda/constants.rb.ut.rb |