2005-06-03 06:51:51 +02:00
|
|
|
#!/usr/bin/ruby
|
|
|
|
|
|
|
|
require 'test/unit'
|
|
|
|
require 'Rex'
|
2005-06-04 10:05:51 +02:00
|
|
|
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'
|
2005-06-03 06:51:51 +02:00
|
|
|
require 'Rex/Socket.rb.ut'
|
2005-06-03 07:21:49 +02:00
|
|
|
require 'Rex/Socket/Tcp.rb.ut'
|
2005-06-04 00:51:09 +02:00
|
|
|
require 'Rex/Socket/SslTcp.rb.ut'
|
2005-06-03 09:13:15 +02:00
|
|
|
require 'Rex/Socket/TcpServer.rb.ut'
|
2005-06-04 08:19:42 +02:00
|
|
|
require 'Rex/Socket/Udp.rb.ut'
|
2005-06-03 06:51:51 +02:00
|
|
|
require 'Rex/Socket/Parameters.rb.ut'
|
|
|
|
require 'Rex/Socket/Comm/Local.rb.ut'
|
|
|
|
|
|
|
|
class Rex::TestSuite
|
|
|
|
def self.suite
|
2005-06-04 09:51:59 +02:00
|
|
|
suite = Test::Unit::TestSuite.new("Rex")
|
2005-06-03 06:51:51 +02:00
|
|
|
|
2005-06-04 10:05:51 +02:00
|
|
|
# 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
|
2005-06-03 06:51:51 +02:00
|
|
|
suite << Rex::Socket::UnitTest.suite
|
|
|
|
suite << Rex::Socket::Parameters::UnitTest.suite
|
2005-06-03 07:21:49 +02:00
|
|
|
suite << Rex::Socket::Tcp::UnitTest.suite
|
2005-06-04 00:51:09 +02:00
|
|
|
suite << Rex::Socket::SslTcp::UnitTest.suite
|
2005-06-03 09:13:15 +02:00
|
|
|
suite << Rex::Socket::TcpServer::UnitTest.suite
|
2005-06-04 08:19:42 +02:00
|
|
|
suite << Rex::Socket::Udp::UnitTest.suite
|
2005-06-03 06:51:51 +02:00
|
|
|
suite << Rex::Socket::Comm::Local::UnitTest.suite
|
|
|
|
|
|
|
|
return suite;
|
|
|
|
end
|
|
|
|
end
|