diff options
Diffstat (limited to 'tests')
24 files changed, 528 insertions, 3 deletions
diff --git a/tests/test-dbus-pong/pong.h b/tests/test-dbus-pong/pong.h index 3e81aa0..ebbd7f4 100644 --- a/tests/test-dbus-pong/pong.h +++ b/tests/test-dbus-pong/pong.h @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #ifndef _PONG_H_ #define _PONG_H_ diff --git a/tests/test-dbus-pong/test-dbus-pong.cpp b/tests/test-dbus-pong/test-dbus-pong.cpp index bdd610a..1eeb1e7 100644 --- a/tests/test-dbus-pong/test-dbus-pong.cpp +++ b/tests/test-dbus-pong/test-dbus-pong.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include <stdio.h> #include <stdlib.h> diff --git a/tests/test-dbus-pong/test-dbus-pong.pro b/tests/test-dbus-pong/test-dbus-pong.pro index ab59e1a..8b0da8e 100644 --- a/tests/test-dbus-pong/test-dbus-pong.pro +++ b/tests/test-dbus-pong/test-dbus-pong.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + TEMPLATE = app TARGET = test-dbus-pong MOC_DIR = .moc diff --git a/tests/test-dbus-qeventloop-runner.sh b/tests/test-dbus-qeventloop-runner.sh index adc6e12..1f9d09a 100755 --- a/tests/test-dbus-qeventloop-runner.sh +++ b/tests/test-dbus-qeventloop-runner.sh @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + #!/bin/sh # Source and export D-Bus session info diff --git a/tests/test-dbus-qeventloop/test-dbus-qeventloop.cpp b/tests/test-dbus-qeventloop/test-dbus-qeventloop.cpp index db31150..eca7540 100644 --- a/tests/test-dbus-qeventloop/test-dbus-qeventloop.cpp +++ b/tests/test-dbus-qeventloop/test-dbus-qeventloop.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "dbusconnectioneventloop.h" #include <stdint.h> #include <QtTest/QtTest> diff --git a/tests/test-dbus-qeventloop/test-dbus-qeventloop.pro b/tests/test-dbus-qeventloop/test-dbus-qeventloop.pro index afbd2b5..21c2200 100644 --- a/tests/test-dbus-qeventloop/test-dbus-qeventloop.pro +++ b/tests/test-dbus-qeventloop/test-dbus-qeventloop.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + #------------------------------------------------- # # Project created by QtCreator 2010-01-18T16:28:34 diff --git a/tests/test-memory-leaks/test-memory-leaks.cpp b/tests/test-memory-leaks/test-memory-leaks.cpp index 527e993..552da12 100644 --- a/tests/test-memory-leaks/test-memory-leaks.cpp +++ b/tests/test-memory-leaks/test-memory-leaks.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "test-memory-leaks.h" #include <cassert> diff --git a/tests/test-memory-leaks/test-memory-leaks.h b/tests/test-memory-leaks/test-memory-leaks.h index 45b2389..86b1ce4 100644 --- a/tests/test-memory-leaks/test-memory-leaks.h +++ b/tests/test-memory-leaks/test-memory-leaks.h @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include <policy/resource-set.h> using namespace ResourcePolicy; diff --git a/tests/test-memory-leaks/test-memory-leaks.pro b/tests/test-memory-leaks/test-memory-leaks.pro index 73c1146..bd7fddf 100644 --- a/tests/test-memory-leaks/test-memory-leaks.pro +++ b/tests/test-memory-leaks/test-memory-leaks.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-memory-leaks diff --git a/tests/test-resource-engine/test-resource-engine-wrapper b/tests/test-resource-engine/test-resource-engine-wrapper index d894409..3a78291 100755 --- a/tests/test-resource-engine/test-resource-engine-wrapper +++ b/tests/test-resource-engine/test-resource-engine-wrapper @@ -1,4 +1,24 @@ #!/bin/sh +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## # Source and export D-Bus session info . /tmp/dbus-info diff --git a/tests/test-resource-engine/test-resource-engine.cpp b/tests/test-resource-engine/test-resource-engine.cpp index 45091b1..4edf03a 100644 --- a/tests/test-resource-engine/test-resource-engine.cpp +++ b/tests/test-resource-engine/test-resource-engine.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "test-resource-engine.h" #include <dbus/dbus.h> #include <string.h> diff --git a/tests/test-resource-engine/test-resource-engine.h b/tests/test-resource-engine/test-resource-engine.h index ddefbea..8b304b3 100644 --- a/tests/test-resource-engine/test-resource-engine.h +++ b/tests/test-resource-engine/test-resource-engine.h @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #ifndef TEST_RESOURCE_ENGINE_H #define TEST_RESOURCE_ENGINE_H diff --git a/tests/test-resource-engine/test-resource-engine.pro b/tests/test-resource-engine/test-resource-engine.pro index 3fe581d..7778bab 100644 --- a/tests/test-resource-engine/test-resource-engine.pro +++ b/tests/test-resource-engine/test-resource-engine.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-resource-engine diff --git a/tests/test-resource-set/test-resource-set.cpp b/tests/test-resource-set/test-resource-set.cpp index 0b1cb9f..21995e1 100644 --- a/tests/test-resource-set/test-resource-set.cpp +++ b/tests/test-resource-set/test-resource-set.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "test-resource-set.h" using namespace ResourcePolicy; diff --git a/tests/test-resource-set/test-resource-set.h b/tests/test-resource-set/test-resource-set.h index cba244d..07e9ae4 100644 --- a/tests/test-resource-set/test-resource-set.h +++ b/tests/test-resource-set/test-resource-set.h @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #ifndef TEST_RESOURCE_SET_H #define TEST_RESOURCE_SET_H diff --git a/tests/test-resource-set/test-resource-set.pro b/tests/test-resource-set/test-resource-set.pro index 81b028f..3d674d9 100644 --- a/tests/test-resource-set/test-resource-set.pro +++ b/tests/test-resource-set/test-resource-set.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-resource-set diff --git a/tests/test-resource/test-resource.cpp b/tests/test-resource/test-resource.cpp index 3c8f397..7d83c51 100644 --- a/tests/test-resource/test-resource.cpp +++ b/tests/test-resource/test-resource.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "test-resource.h" #include <QSet> diff --git a/tests/test-resource/test-resource.h b/tests/test-resource/test-resource.h index e301cc3..c0aeb9a 100644 --- a/tests/test-resource/test-resource.h +++ b/tests/test-resource/test-resource.h @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #ifndef TEST_RESOURCE_H #define TEST_RESOURCE_H diff --git a/tests/test-resource/test-resource.pro b/tests/test-resource/test-resource.pro index 5d185ce..a712515 100644 --- a/tests/test-resource/test-resource.pro +++ b/tests/test-resource/test-resource.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-resource diff --git a/tests/test-security-with-aegis-token/test-security-with-aegis-token.pro b/tests/test-security-with-aegis-token/test-security-with-aegis-token.pro index 2f30c56..3a19ddf 100644 --- a/tests/test-security-with-aegis-token/test-security-with-aegis-token.pro +++ b/tests/test-security-with-aegis-token/test-security-with-aegis-token.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-security-with-aegis-token diff --git a/tests/test-security-with-aegis-token/test-security.cpp b/tests/test-security-with-aegis-token/test-security.cpp index 1a90009..16eedd5 100644 --- a/tests/test-security-with-aegis-token/test-security.cpp +++ b/tests/test-security-with-aegis-token/test-security.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "qt4/policy/resource-set.h" #include <cstdio> #include <cstdlib> diff --git a/tests/test-security-without-aegis-token/test-security-without-aegis-token.pro b/tests/test-security-without-aegis-token/test-security-without-aegis-token.pro index fd8b042..8066c88 100644 --- a/tests/test-security-without-aegis-token/test-security-without-aegis-token.pro +++ b/tests/test-security-without-aegis-token/test-security-without-aegis-token.pro @@ -1,3 +1,24 @@ +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## + include(../../common.pri) TEMPLATE = app TARGET = test-security-without-aegis-token diff --git a/tests/test-security-without-aegis-token/test-security.cpp b/tests/test-security-without-aegis-token/test-security.cpp index 1a90009..16eedd5 100644 --- a/tests/test-security-without-aegis-token/test-security.cpp +++ b/tests/test-security-without-aegis-token/test-security.cpp @@ -1,3 +1,26 @@ +/************************************************************************* +This file is part of libresourceqt + +Copyright (C) 2010 Nokia Corporation. + +This library 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 2.1 of the License. + +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, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 +USA. +*************************************************************************/ + + + #include "qt4/policy/resource-set.h" #include <cstdio> #include <cstdlib> diff --git a/tests/tests.pro b/tests/tests.pro index 979688f..5c3bac1 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,6 +1,23 @@ -##################################################################### -# Tests projectfile -##################################################################### +############################################################################## +# This file is part of libresourceqt # +# # +# Copyright (C) 2010 Nokia Corporation. # +# # +# This library 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 2.1 of the License. # +# # +# 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, write to the Free Software # +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # +# USA. # +############################################################################## CONFIG += ordered TEMPLATE = subdirs |