From 48e2fbbbb571c617a0dae132d043f7dd1227abd3 Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Fri, 30 Sep 2011 13:19:35 +0000 Subject: [PATCH] boilerplate added to test files git-svn-id: https://beef.googlecode.com/svn/trunk@1331 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- test/unit/core/filter/tc_base.rb | 15 +++++++++++++++ test/unit/core/filter/tc_command.rb | 15 +++++++++++++++ test/unit/core/tc_api.rb | 15 +++++++++++++++ test/unit/core/tc_core.rb | 15 +++++++++++++++ test/unit/core/tc_loader.rb | 15 +++++++++++++++ test/unit/ts_beef.rb | 16 +++++++++++++++- 6 files changed, 90 insertions(+), 1 deletion(-) diff --git a/test/unit/core/filter/tc_base.rb b/test/unit/core/filter/tc_base.rb index 7d83f447a..fe8cf94a8 100644 --- a/test/unit/core/filter/tc_base.rb +++ b/test/unit/core/filter/tc_base.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 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' require 'webrick' diff --git a/test/unit/core/filter/tc_command.rb b/test/unit/core/filter/tc_command.rb index 23ac07545..a7b520b3b 100644 --- a/test/unit/core/filter/tc_command.rb +++ b/test/unit/core/filter/tc_command.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 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' require 'webrick' diff --git a/test/unit/core/tc_api.rb b/test/unit/core/tc_api.rb index 2055ba4c7..01981a2d2 100644 --- a/test/unit/core/tc_api.rb +++ b/test/unit/core/tc_api.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 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' require 'webrick' diff --git a/test/unit/core/tc_core.rb b/test/unit/core/tc_core.rb index 5e5fefb49..71cb42b96 100644 --- a/test/unit/core/tc_core.rb +++ b/test/unit/core/tc_core.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 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' require 'webrick' diff --git a/test/unit/core/tc_loader.rb b/test/unit/core/tc_loader.rb index 7992b0a30..711e7b368 100644 --- a/test/unit/core/tc_loader.rb +++ b/test/unit/core/tc_loader.rb @@ -1,3 +1,18 @@ +# +# Copyright 2011 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' require 'webrick' diff --git a/test/unit/ts_beef.rb b/test/unit/ts_beef.rb index eaaed4d8b..c30917acb 100644 --- a/test/unit/ts_beef.rb +++ b/test/unit/ts_beef.rb @@ -1,4 +1,18 @@ - +# +# Copyright 2011 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. +# begin require 'test/unit/ui/console/testrunner' rescue LoadError