2005-05-27 05:34:15 +00:00
|
|
|
#!/usr/bin/ruby
|
|
|
|
|
|
|
|
require 'test/unit'
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'msf/base'
|
|
|
|
require 'msf/base/session/command_shell.rb.ut'
|
|
|
|
require 'msf/base/session/meterpreter.rb.ut'
|
|
|
|
require 'msf/base/session/dispatch_ninja.rb.ut'
|
|
|
|
require 'msf/base/session/vnc.rb.ut'
|
2005-05-27 05:34:15 +00:00
|
|
|
|
|
|
|
module Msf
|
|
|
|
module Base
|
|
|
|
|
|
|
|
class TestSuite
|
|
|
|
def self.suite
|
2005-06-04 07:54:49 +00:00
|
|
|
suite = Test::Unit::TestSuite.new("Msf Base")
|
2005-05-27 05:34:15 +00:00
|
|
|
|
|
|
|
suite << Msf::Session::CommandShell::UnitTest.suite
|
|
|
|
suite << Msf::Session::Meterpreter::UnitTest.suite
|
|
|
|
suite << Msf::Session::DispatchNinja::UnitTest.suite
|
|
|
|
suite << Msf::Session::Vnc::UnitTest.suite
|
|
|
|
|
|
|
|
return suite;
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|