aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-09-03 11:30:40 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-09-03 11:30:40 -0300
commit8ddf82dda3e57fe6d72ed5dab9ebb650cef0765a (patch)
tree83af6a85dd9305c342fc820e5ca40e0ad5792ddf /tests
parent3bb03f3858c7da7e6aa5a841339a5d81d10a2d1b (diff)
added LGPL license plates to libsample unit tests
Diffstat (limited to 'tests')
-rwxr-xr-xtests/samplebinding/abstract_test.py26
-rwxr-xr-xtests/samplebinding/complex_test.py26
-rwxr-xr-xtests/samplebinding/derived_test.py26
-rwxr-xr-xtests/samplebinding/enum_test.py26
-rwxr-xr-xtests/samplebinding/implicitconv_test.py26
-rwxr-xr-xtests/samplebinding/list_test.py26
-rwxr-xr-xtests/samplebinding/map_test.py26
-rwxr-xr-xtests/samplebinding/modifications_test.py26
-rwxr-xr-xtests/samplebinding/nondefaultctor_test.py25
-rwxr-xr-xtests/samplebinding/pair_test.py26
-rwxr-xr-xtests/samplebinding/point_test.py26
-rwxr-xr-xtests/samplebinding/privatedtor_test.py26
-rwxr-xr-xtests/samplebinding/reference_test.py26
-rwxr-xr-xtests/samplebinding/sample_test.py26
-rwxr-xr-xtests/samplebinding/size_test.py26
-rwxr-xr-xtests/samplebinding/virtualmethods_test.py26
16 files changed, 415 insertions, 0 deletions
diff --git a/tests/samplebinding/abstract_test.py b/tests/samplebinding/abstract_test.py
index 9d4c51f2c..85f124a5a 100755
--- a/tests/samplebinding/abstract_test.py
+++ b/tests/samplebinding/abstract_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for Abstract class'''
diff --git a/tests/samplebinding/complex_test.py b/tests/samplebinding/complex_test.py
index 92da61090..7f3cd4a47 100755
--- a/tests/samplebinding/complex_test.py
+++ b/tests/samplebinding/complex_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for Complex class'''
diff --git a/tests/samplebinding/derived_test.py b/tests/samplebinding/derived_test.py
index f9ed1320f..9fc298afd 100755
--- a/tests/samplebinding/derived_test.py
+++ b/tests/samplebinding/derived_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for Derived class'''
diff --git a/tests/samplebinding/enum_test.py b/tests/samplebinding/enum_test.py
index 699adceda..d3b3edfc1 100755
--- a/tests/samplebinding/enum_test.py
+++ b/tests/samplebinding/enum_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for Python representation of C++ enums'''
diff --git a/tests/samplebinding/implicitconv_test.py b/tests/samplebinding/implicitconv_test.py
index f3da5dcfb..2310ad909 100755
--- a/tests/samplebinding/implicitconv_test.py
+++ b/tests/samplebinding/implicitconv_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for implicit conversions'''
diff --git a/tests/samplebinding/list_test.py b/tests/samplebinding/list_test.py
index e3d5edadd..030ce672b 100755
--- a/tests/samplebinding/list_test.py
+++ b/tests/samplebinding/list_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for std::list container conversions'''
diff --git a/tests/samplebinding/map_test.py b/tests/samplebinding/map_test.py
index d2ac4eaad..b97ea76ed 100755
--- a/tests/samplebinding/map_test.py
+++ b/tests/samplebinding/map_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for std::map container conversions'''
diff --git a/tests/samplebinding/modifications_test.py b/tests/samplebinding/modifications_test.py
index 1bd3003ed..4ceeff33f 100755
--- a/tests/samplebinding/modifications_test.py
+++ b/tests/samplebinding/modifications_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''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 dbb184eb3..d0e351792 100755
--- a/tests/samplebinding/nondefaultctor_test.py
+++ b/tests/samplebinding/nondefaultctor_test.py
@@ -1,3 +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
# -*- coding: utf-8 -*-
diff --git a/tests/samplebinding/pair_test.py b/tests/samplebinding/pair_test.py
index fd82dde3a..84dcb66e2 100755
--- a/tests/samplebinding/pair_test.py
+++ b/tests/samplebinding/pair_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for std::pair container conversions'''
diff --git a/tests/samplebinding/point_test.py b/tests/samplebinding/point_test.py
index 69ef1eefb..6559a2966 100755
--- a/tests/samplebinding/point_test.py
+++ b/tests/samplebinding/point_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for Point class'''
diff --git a/tests/samplebinding/privatedtor_test.py b/tests/samplebinding/privatedtor_test.py
index 7acabf039..f335523a3 100755
--- a/tests/samplebinding/privatedtor_test.py
+++ b/tests/samplebinding/privatedtor_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for a class with a private destructor.'''
diff --git a/tests/samplebinding/reference_test.py b/tests/samplebinding/reference_test.py
index 28e6feba4..86bcdfa8d 100755
--- a/tests/samplebinding/reference_test.py
+++ b/tests/samplebinding/reference_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for methods that receive references to objects.'''
diff --git a/tests/samplebinding/sample_test.py b/tests/samplebinding/sample_test.py
index 1f7571a14..2720eba36 100755
--- a/tests/samplebinding/sample_test.py
+++ b/tests/samplebinding/sample_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for libsample bindings module'''
diff --git a/tests/samplebinding/size_test.py b/tests/samplebinding/size_test.py
index dcfc9d9d3..5b24678ab 100755
--- a/tests/samplebinding/size_test.py
+++ b/tests/samplebinding/size_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for operator overloads on Size class'''
diff --git a/tests/samplebinding/virtualmethods_test.py b/tests/samplebinding/virtualmethods_test.py
index 89ca83c8d..19d0c0e52 100755
--- a/tests/samplebinding/virtualmethods_test.py
+++ b/tests/samplebinding/virtualmethods_test.py
@@ -1,4 +1,30 @@
+'''
+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
+# -*- coding: utf-8 -*-
'''Test cases for virtual methods.'''