From 6116db3b8d9b2d2c8243c69c7fefbbc82426673e Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Fri, 20 Jan 2012 21:23:59 +1000 Subject: [PATCH] Added xssrays unit test stub for issue #573 --- test/unit/extensions/tc_xssrays.rb | 29 +++++++++++++++++++++++++++++ test/unit/ts_unit.rb | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 test/unit/extensions/tc_xssrays.rb diff --git a/test/unit/extensions/tc_xssrays.rb b/test/unit/extensions/tc_xssrays.rb new file mode 100644 index 0000000000..10deec4e6b --- /dev/null +++ b/test/unit/extensions/tc_xssrays.rb @@ -0,0 +1,29 @@ +# +# Copyright 2012 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +require 'test/unit' + +class TC_Xssrays < Test::Unit::TestCase + + def setup + $:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.')) + $root_dir = File.expand_path('../../../../', __FILE__) + end + + def test_xssrays + assert(true) + end + +end diff --git a/test/unit/ts_unit.rb b/test/unit/ts_unit.rb index 78bba6ad9a..db61aa6b50 100644 --- a/test/unit/ts_unit.rb +++ b/test/unit/ts_unit.rb @@ -25,6 +25,7 @@ require './core/tc_modules' require './core/tc_social_engineering' require './core/tc_autorun' +require './extensions/tc_xssrays' require './tc_grep' require './tc_filesystem' @@ -41,6 +42,7 @@ def self.suite suite << TC_Grep.suite suite << TC_SocialEngineering.suite suite << TC_Autorun.suite + suite << TC_Xssrays.suite return suite end