1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/lib/rex.rb.ts.rb

41 lines
1.2 KiB
Ruby
Raw Normal View History

#!/usr/bin/ruby
require 'test/unit'
require 'Rex'
require 'Rex/Encoding/Xor/Generic.rb.ut'
require 'Rex/Encoding/Xor/Byte.rb.ut'
require 'Rex/Encoding/Xor/Word.rb.ut'
require 'Rex/Encoding/Xor/DWord.rb.ut'
require 'Rex/Encoding/Xor/DWordAdditive.rb.ut'
require 'Rex/Socket.rb.ut'
require 'Rex/Socket/Tcp.rb.ut'
require 'Rex/Socket/SslTcp.rb.ut'
require 'Rex/Socket/TcpServer.rb.ut'
require 'Rex/Socket/Udp.rb.ut'
require 'Rex/Socket/Parameters.rb.ut'
require 'Rex/Socket/Comm/Local.rb.ut'
class Rex::TestSuite
def self.suite
suite = Test::Unit::TestSuite.new("Rex")
# Encoding
suite << Rex::Encoding::Xor::Generic::UnitTest.suite
suite << Rex::Encoding::Xor::Byte::UnitTest.suite
suite << Rex::Encoding::Xor::Word::UnitTest.suite
suite << Rex::Encoding::Xor::DWord::UnitTest.suite
suite << Rex::Encoding::Xor::DWordAdditive::UnitTest.suite
# Sockets
suite << Rex::Socket::UnitTest.suite
suite << Rex::Socket::Parameters::UnitTest.suite
suite << Rex::Socket::Tcp::UnitTest.suite
suite << Rex::Socket::SslTcp::UnitTest.suite
suite << Rex::Socket::TcpServer::UnitTest.suite
suite << Rex::Socket::Udp::UnitTest.suite
suite << Rex::Socket::Comm::Local::UnitTest.suite
return suite;
end
end