Skip to content

Commit

Permalink
Added autorun unit test stub for issue #583
Browse files Browse the repository at this point in the history
  • Loading branch information
wadealcorn committed Jan 20, 2012
1 parent 17e8289 commit caad492
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions test/unit/core/tc_autorun.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# Copyright 2012 Wade Alcorn [email protected]
#
# 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_Autorun < Test::Unit::TestCase

def setup
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.'))
$root_dir = File.expand_path('../../../../', __FILE__)
end

def test_autorun
assert(true)
end

end
2 changes: 2 additions & 0 deletions test/unit/ts_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
require './core/tc_api'
require './core/tc_modules'
require './core/tc_social_engineering'
require './core/tc_autorun'
require './tc_grep'
require './tc_filesystem'

Expand All @@ -39,6 +40,7 @@ def self.suite
suite << TC_Filesystem.suite
suite << TC_Grep.suite
suite << TC_SocialEngineering.suite
suite << TC_Autorun.suite

return suite
end
Expand Down

0 comments on commit caad492

Please sign in to comment.