diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-08 14:19:34 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-08 14:19:34 -0300 |
commit | cd78e72332f2e21e4e04c20ad33b46260dd32742 (patch) | |
tree | a56d93498c6531dfac69eb0246e9bde259232ea8 /tests | |
parent | b5c80ba98c0100e4aafb5ec767e165949cb5898a (diff) |
Fix LGPL license plates to libsample unit tests, so the tests can be executed again.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/samplebinding/abstract_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/complex_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/derived_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/enum_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/implicitconv_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/list_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/map_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/modifications_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/nondefaultctor_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/pair_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/point_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/privatedtor_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/reference_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/sample_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/size_test.py | 50 | ||||
-rwxr-xr-x | tests/samplebinding/virtualmethods_test.py | 50 |
16 files changed, 384 insertions, 416 deletions
diff --git a/tests/samplebinding/abstract_test.py b/tests/samplebinding/abstract_test.py index 85f124a5a..a160d7da2 100755 --- a/tests/samplebinding/abstract_test.py +++ b/tests/samplebinding/abstract_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for Abstract class''' diff --git a/tests/samplebinding/complex_test.py b/tests/samplebinding/complex_test.py index 7f3cd4a47..84bea25f8 100755 --- a/tests/samplebinding/complex_test.py +++ b/tests/samplebinding/complex_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for Complex class''' diff --git a/tests/samplebinding/derived_test.py b/tests/samplebinding/derived_test.py index 9fc298afd..77d1931cd 100755 --- a/tests/samplebinding/derived_test.py +++ b/tests/samplebinding/derived_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for Derived class''' diff --git a/tests/samplebinding/enum_test.py b/tests/samplebinding/enum_test.py index d3b3edfc1..094a16c17 100755 --- a/tests/samplebinding/enum_test.py +++ b/tests/samplebinding/enum_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for Python representation of C++ enums''' diff --git a/tests/samplebinding/implicitconv_test.py b/tests/samplebinding/implicitconv_test.py index 2310ad909..275763cb1 100755 --- a/tests/samplebinding/implicitconv_test.py +++ b/tests/samplebinding/implicitconv_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for implicit conversions''' diff --git a/tests/samplebinding/list_test.py b/tests/samplebinding/list_test.py index 030ce672b..fc1fc80d8 100755 --- a/tests/samplebinding/list_test.py +++ b/tests/samplebinding/list_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for std::list container conversions''' diff --git a/tests/samplebinding/map_test.py b/tests/samplebinding/map_test.py index b97ea76ed..02b9496cb 100755 --- a/tests/samplebinding/map_test.py +++ b/tests/samplebinding/map_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for std::map container conversions''' diff --git a/tests/samplebinding/modifications_test.py b/tests/samplebinding/modifications_test.py index 4ceeff33f..e0c6aa755 100755 --- a/tests/samplebinding/modifications_test.py +++ b/tests/samplebinding/modifications_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for method modifications performed as described on typesystem. ''' diff --git a/tests/samplebinding/nondefaultctor_test.py b/tests/samplebinding/nondefaultctor_test.py index d0e351792..6b4e88c6b 100755 --- a/tests/samplebinding/nondefaultctor_test.py +++ b/tests/samplebinding/nondefaultctor_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for ...''' diff --git a/tests/samplebinding/pair_test.py b/tests/samplebinding/pair_test.py index 84dcb66e2..77e8b3698 100755 --- a/tests/samplebinding/pair_test.py +++ b/tests/samplebinding/pair_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for std::pair container conversions''' diff --git a/tests/samplebinding/point_test.py b/tests/samplebinding/point_test.py index 6559a2966..8b50cf6f0 100755 --- a/tests/samplebinding/point_test.py +++ b/tests/samplebinding/point_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for Point class''' diff --git a/tests/samplebinding/privatedtor_test.py b/tests/samplebinding/privatedtor_test.py index f335523a3..e0b8ef347 100755 --- a/tests/samplebinding/privatedtor_test.py +++ b/tests/samplebinding/privatedtor_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for a class with a private destructor.''' diff --git a/tests/samplebinding/reference_test.py b/tests/samplebinding/reference_test.py index 86bcdfa8d..af1adee89 100755 --- a/tests/samplebinding/reference_test.py +++ b/tests/samplebinding/reference_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for methods that receive references to objects.''' diff --git a/tests/samplebinding/sample_test.py b/tests/samplebinding/sample_test.py index 2720eba36..e4b08a582 100755 --- a/tests/samplebinding/sample_test.py +++ b/tests/samplebinding/sample_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for libsample bindings module''' diff --git a/tests/samplebinding/size_test.py b/tests/samplebinding/size_test.py index 5b24678ab..0d44828bf 100755 --- a/tests/samplebinding/size_test.py +++ b/tests/samplebinding/size_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for operator overloads on Size class''' diff --git a/tests/samplebinding/virtualmethods_test.py b/tests/samplebinding/virtualmethods_test.py index 19d0c0e52..40b80b17d 100755 --- a/tests/samplebinding/virtualmethods_test.py +++ b/tests/samplebinding/virtualmethods_test.py @@ -1,30 +1,28 @@ -''' -This file is part of the Shiboken Python Bindings Generator project. - -Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). - -Contact: PySide team <contact@pyside.org> - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public License -version 2.1 as published by the Free Software Foundation. Please -review the following information to ensure the GNU Lesser General -Public License version 2.1 requirements will be met: -http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. - -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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -02110-1301 USA -''' - -#!/usr/bin/python +#!/usr/bin/env python # -*- coding: utf-8 -*- +# +# This file is part of the Shiboken Python Bindings Generator project. +# +# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +# +# Contact: PySide team <contact@pyside.org> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public License +# version 2.1 as published by the Free Software Foundation. Please +# review the following information to ensure the GNU Lesser General +# Public License version 2.1 requirements will be met: +# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +# # +# 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA '''Test cases for virtual methods.''' |