2005-05-24 05:35:12 +00:00
|
|
|
#!/usr/bin/ruby
|
|
|
|
|
|
|
|
require 'test/unit'
|
|
|
|
require 'Msf/Core'
|
2005-06-04 19:45:47 +00:00
|
|
|
require 'Msf/Core/Exceptions.rb.ut'
|
2005-05-24 05:35:12 +00:00
|
|
|
require 'Msf/Core/OptionContainer.rb.ut'
|
2005-05-26 06:35:37 +00:00
|
|
|
require 'Msf/Core/SessionManager.rb.ut'
|
2005-05-24 05:35:12 +00:00
|
|
|
|
2005-06-05 00:33:38 +00:00
|
|
|
require 'Msf/Core/Module/Author.rb.ut'
|
2005-06-05 00:03:23 +00:00
|
|
|
require 'Msf/Core/Module/PlatformList.rb.ut'
|
2005-06-05 00:33:38 +00:00
|
|
|
require 'Msf/Core/Module/Reference.rb.ut'
|
|
|
|
require 'Msf/Core/Module/Target.rb.ut'
|
2005-06-05 00:03:23 +00:00
|
|
|
|
2005-06-04 22:26:42 +00:00
|
|
|
require 'Msf/Core/Exploit.rb.ut'
|
|
|
|
|
2005-05-24 05:35:12 +00:00
|
|
|
class Msf::TestSuite
|
|
|
|
def self.suite
|
2005-06-04 07:51:59 +00:00
|
|
|
suite = Test::Unit::TestSuite.new("Msf Core")
|
2005-05-24 05:35:12 +00:00
|
|
|
|
2005-06-04 19:45:47 +00:00
|
|
|
suite << Msf::Exceptions::UnitTest.suite
|
2005-05-24 05:35:12 +00:00
|
|
|
suite << Msf::OptionContainer::UnitTest.suite
|
2005-05-26 06:35:37 +00:00
|
|
|
suite << Msf::SessionManager::UnitTest.suite
|
2005-05-24 05:35:12 +00:00
|
|
|
|
2005-06-05 00:33:38 +00:00
|
|
|
suite << Msf::Module::Author::UnitTest.suite
|
2005-06-05 00:03:23 +00:00
|
|
|
suite << Msf::Module::PlatformList::UnitTest.suite
|
2005-06-05 00:33:38 +00:00
|
|
|
suite << Msf::Module::Reference::UnitTest.suite
|
|
|
|
suite << Msf::Module::Target::UnitTest.suite
|
2005-06-05 00:03:23 +00:00
|
|
|
|
2005-06-04 22:26:42 +00:00
|
|
|
suite << Msf::Exploit::UnitTest.suite
|
|
|
|
|
2005-05-24 05:35:12 +00:00
|
|
|
return suite;
|
|
|
|
end
|
|
|
|
end
|