From ce1ae48f9130afb4d38e8aa8ed7ca9b8eec4340c Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 8 Mar 2010 17:40:31 +0100 Subject: added copyright info to config files and test cases --- test/__init__.py | 15 +++++++++++++++ test/tc_bookmarks.py | 15 +++++++++++++++ test/tc_colorscheme.py | 15 +++++++++++++++ test/tc_commandlist.py | 15 +++++++++++++++ test/tc_directory.py | 15 +++++++++++++++ test/tc_displayable.py | 15 +++++++++++++++ test/tc_ext.py | 15 +++++++++++++++ test/tc_history.py | 15 +++++++++++++++ test/tc_keyapi.py | 15 +++++++++++++++ test/tc_ui.py | 15 +++++++++++++++ test/test.py | 15 +++++++++++++++ 11 files changed, 165 insertions(+) (limited to 'test') diff --git a/test/__init__.py b/test/__init__.py index 86557b6a..29796ac1 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import os, sys __all__ = [ x[0:x.index('.')] \ diff --git a/test/tc_bookmarks.py b/test/tc_bookmarks.py index a0f6bf30..f45ba061 100644 --- a/test/tc_bookmarks.py +++ b/test/tc_bookmarks.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from os.path import realpath, join, dirname diff --git a/test/tc_colorscheme.py b/test/tc_colorscheme.py index 17dcc289..c09b9fa9 100644 --- a/test/tc_colorscheme.py +++ b/test/tc_colorscheme.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from unittest import TestCase, main diff --git a/test/tc_commandlist.py b/test/tc_commandlist.py index 12f78b14..9af2cf05 100644 --- a/test/tc_commandlist.py +++ b/test/tc_commandlist.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from unittest import TestCase, main diff --git a/test/tc_directory.py b/test/tc_directory.py index 7634de0e..f1b204c3 100644 --- a/test/tc_directory.py +++ b/test/tc_directory.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from os.path import realpath, join, dirname diff --git a/test/tc_displayable.py b/test/tc_displayable.py index b9538a59..1bbffa73 100644 --- a/test/tc_displayable.py +++ b/test/tc_displayable.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() import unittest diff --git a/test/tc_ext.py b/test/tc_ext.py index 37139be2..b8094233 100644 --- a/test/tc_ext.py +++ b/test/tc_ext.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() import unittest from collections import deque diff --git a/test/tc_history.py b/test/tc_history.py index 18f71e35..d027231a 100644 --- a/test/tc_history.py +++ b/test/tc_history.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from ranger.container import History diff --git a/test/tc_keyapi.py b/test/tc_keyapi.py index 9fc65606..4dfa1221 100644 --- a/test/tc_keyapi.py +++ b/test/tc_keyapi.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() from unittest import TestCase, main diff --git a/test/tc_ui.py b/test/tc_ui.py index d7b2de7c..affec907 100644 --- a/test/tc_ui.py +++ b/test/tc_ui.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + if __name__ == '__main__': from __init__ import init; init() import unittest diff --git a/test/test.py b/test/test.py index bf285a47..5e8a9b9e 100644 --- a/test/test.py +++ b/test/test.py @@ -1,3 +1,18 @@ +# Copyright (C) 2009, 2010 Roman Zimbelmann +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + """Workaround to allow running single test cases directly""" try: from __init__ import init, Fake, OK, raise_ok -- cgit 1.4.1-2-gfad0