[libical-glib] Add license information to all the tests
- From: Miao Yu <williamyu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libical-glib] Add license information to all the tests
- Date: Wed, 25 Mar 2015 14:31:14 +0000 (UTC)
commit 127cb84f45a6d5f522f07594cc4784f9c27a0775
Author: William Yu <williamyu gnome org>
Date: Wed Mar 25 10:30:14 2015 -0400
Add license information to all the tests
tests/array.py | 18 ++++++++++++++++++
tests/attach.py | 18 ++++++++++++++++++
tests/component.py | 18 ++++++++++++++++++
tests/comprehensive.py | 18 ++++++++++++++++++
tests/duration-type.py | 18 ++++++++++++++++++
tests/error.py | 18 ++++++++++++++++++
tests/parameter.py | 18 ++++++++++++++++++
tests/period-type.py | 18 ++++++++++++++++++
tests/property.py | 18 ++++++++++++++++++
tests/recurrence-type.py | 18 ++++++++++++++++++
tests/timezone.py | 19 +++++++++++++++++++
tests/value.py | 18 ++++++++++++++++++
12 files changed, 217 insertions(+), 0 deletions(-)
---
diff --git a/tests/array.py b/tests/array.py
index 8611c5b..dc3ce9a 100755
--- a/tests/array.py
+++ b/tests/array.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./array.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
import sys
from gi.repository import ICalGLib
from sys import getsizeof
diff --git a/tests/attach.py b/tests/attach.py
index 12b8575..3eb97ea 100755
--- a/tests/attach.py
+++ b/tests/attach.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./attach.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
dummy_url = "https://people.gnome.org/~engagement/logos/GnomeLogoVertical.svg";
diff --git a/tests/component.py b/tests/component.py
index 2309025..17988d3 100755
--- a/tests/component.py
+++ b/tests/component.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./component.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
event_str1 = \
diff --git a/tests/comprehensive.py b/tests/comprehensive.py
index 498a6d2..cd4eb5e 100755
--- a/tests/comprehensive.py
+++ b/tests/comprehensive.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./comprehensive.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
event_str1 = \
diff --git a/tests/duration-type.py b/tests/duration-type.py
index 1a7ee11..5230a99 100755
--- a/tests/duration-type.py
+++ b/tests/duration-type.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./duration-type.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
length = 1000000000;
diff --git a/tests/error.py b/tests/error.py
index 088b7a9..06edcae 100755
--- a/tests/error.py
+++ b/tests/error.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./error.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
message = "This is a stinky error!";
diff --git a/tests/parameter.py b/tests/parameter.py
index 8293a7c..19b45b6 100755
--- a/tests/parameter.py
+++ b/tests/parameter.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./parameter.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
# Test interaction with gchar
diff --git a/tests/period-type.py b/tests/period-type.py
index 55abe3e..83240d8 100755
--- a/tests/period-type.py
+++ b/tests/period-type.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./period-type.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
string = "19970101T183248Z/19970102T071625Z";
diff --git a/tests/property.py b/tests/property.py
index 71091f1..c0da20c 100755
--- a/tests/property.py
+++ b/tests/property.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./property.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
action_property = ICalGLib.Property.new (ICalGLib.PropertyKind.ACKNOWLEDGED_PROPERTY);
diff --git a/tests/recurrence-type.py b/tests/recurrence-type.py
index 249abb7..835b92b 100755
--- a/tests/recurrence-type.py
+++ b/tests/recurrence-type.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./recurrence-type.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
weekday = ICalGLib.RecurrenceType.day_day_of_week (0);
diff --git a/tests/timezone.py b/tests/timezone.py
index 07f771c..ab9df14 100755
--- a/tests/timezone.py
+++ b/tests/timezone.py
@@ -1,5 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./timezone.py
+
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
la = ICalGLib.Timezone.get_builtin_timezone ("America/Los_Angeles");
diff --git a/tests/value.py b/tests/value.py
index 2d0283b..efd6cf4 100755
--- a/tests/value.py
+++ b/tests/value.py
@@ -1,6 +1,24 @@
#!/usr/bin/env python3
#GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0/ ./value.py
+###############################################################################
+#
+# Copyright (C) 2015 William Yu <williamyu gnome org>
+#
+# This library is free software: you can redistribute it and/or modify it
+# under the terms of version 2.1. of the GNU Lesser General Public License
+# as published by the Free Software Foundation.
+#
+# This library 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 library. If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
+
from gi.repository import ICalGLib
kind = ICalGLib.ValueKind.ATTACH_VALUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]