Added placeholders necessary to start DNS unit tests.
Currently does nothing but assert(true).
This commit is contained in:
19
test/unit/extensions/tc_dns.rb
Normal file
19
test/unit/extensions/tc_dns.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
|
||||
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
||||
# See the file 'doc/COPYING' for copying permission
|
||||
#
|
||||
require 'test/unit'
|
||||
|
||||
class TC_Dns < Test::Unit::TestCase
|
||||
|
||||
def setup
|
||||
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.'))
|
||||
$root_dir = File.expand_path('../../../../', __FILE__)
|
||||
end
|
||||
|
||||
def test_dns
|
||||
assert(true)
|
||||
end
|
||||
|
||||
end
|
||||
@@ -27,6 +27,7 @@ require './extensions/tc_hooks'
|
||||
require './extensions/tc_proxy'
|
||||
require './extensions/tc_requester'
|
||||
require './extensions/tc_event_logger'
|
||||
require './extensions/tc_dns'
|
||||
require './tc_grep'
|
||||
require './tc_filesystem'
|
||||
|
||||
@@ -55,6 +56,7 @@ class TS_BeefTests
|
||||
suite << TC_EventLogger.suite
|
||||
suite << TC_Hooks.suite
|
||||
suite << TC_Redirector.suite
|
||||
suite << TC_Dns.suite
|
||||
|
||||
return suite
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user