aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-11 20:24:27 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-11 20:24:27 -0300
commit638bcc947afe2b941d934fc3f87513f0c8565f7f (patch)
treec739befc966a022ee049605b6dbf994ca7e09220 /tests
parent6bacc0d5db885a72202cb7f80e505642a36052d4 (diff)
downloadqmenumodel-638bcc947afe2b941d934fc3f87513f0c8565f7f.tar.gz
qmenumodel-638bcc947afe2b941d934fc3f87513f0c8565f7f.tar.bz2
qmenumodel-638bcc947afe2b941d934fc3f87513f0c8565f7f.zip
Append the default licence header into source files.
Diffstat (limited to 'tests')
-rw-r--r--tests/client/menuchangestest.cpp19
-rw-r--r--tests/client/modeltest.cpp19
-rw-r--r--tests/client/servicetest.cpp21
-rw-r--r--tests/script/dbusmenuscript.cpp18
-rw-r--r--tests/script/dbusmenuscript.h19
5 files changed, 94 insertions, 2 deletions
diff --git a/tests/client/menuchangestest.cpp b/tests/client/menuchangestest.cpp
index 7e6379c..c2dc66a 100644
--- a/tests/client/menuchangestest.cpp
+++ b/tests/client/menuchangestest.cpp
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
#include "qdbusmenumodel.h"
#include "dbusmenuscript.h"
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp
index 1963327..9c092f1 100644
--- a/tests/client/modeltest.cpp
+++ b/tests/client/modeltest.cpp
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
#include "qdbusmenumodel.h"
#include "dbusmenuscript.h"
diff --git a/tests/client/servicetest.cpp b/tests/client/servicetest.cpp
index 3faddd0..cc47334 100644
--- a/tests/client/servicetest.cpp
+++ b/tests/client/servicetest.cpp
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
#include "qdbusmenumodel.h"
#include "dbusmenuscript.h"
@@ -33,7 +52,6 @@ private Q_SLOTS:
void init()
{
- qDebug() << "init>>>>>>>>>>>>>>>>>>>>>";
m_model.stop();
m_model.setBusType(QDBusObject::SessionBus);
m_model.setBusName(MENU_SERVICE_NAME);
@@ -42,7 +60,6 @@ private Q_SLOTS:
void cleanup()
{
- qDebug() << "cleanup>>>>>>>>>>>>>>>>>>";
m_script.unpublishMenu();
}
diff --git a/tests/script/dbusmenuscript.cpp b/tests/script/dbusmenuscript.cpp
index cc332f7..baf5ac2 100644
--- a/tests/script/dbusmenuscript.cpp
+++ b/tests/script/dbusmenuscript.cpp
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
#include "dbusmenuscript.h"
#include <QObject>
diff --git a/tests/script/dbusmenuscript.h b/tests/script/dbusmenuscript.h
index 3d0d3c9..6e9532b 100644
--- a/tests/script/dbusmenuscript.h
+++ b/tests/script/dbusmenuscript.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2012 Canonical Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Renato Araujo Oliveira Filho <renato@canonical.com>
+ */
+
#ifndef DBUSMENUSCRIPT_H
#define DBUSMENUSCRITP_H