mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
14bead41dd
git-svn-id: file:///home/svn/incoming/trunk@2574 4d416f70-5f16-0410-b530-b9f4589650da
50 lines
1.4 KiB
Ruby
50 lines
1.4 KiB
Ruby
#!/usr/bin/ruby
|
|
|
|
require 'test/unit'
|
|
require 'Rex'
|
|
|
|
require 'Rex/Exceptions.rb.ut'
|
|
require 'Rex/Transformer.rb.ut'
|
|
|
|
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")
|
|
|
|
# General
|
|
suite << Rex::Exceptions::UnitTest.suite
|
|
suite << Rex::Transformer::UnitTest.suite
|
|
|
|
# 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
|