diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-03 10:56:34 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-03 10:56:34 +0200 |
| commit | ed5750c200b642c9710e03248c46993830e6fab5 (patch) | |
| tree | 15c387c684df9ab174179985cee88740e2f8822b /tests | |
| parent | 0f92b1f62d373a3ef785d04306fbed3e4e96f099 (diff) | |
| download | qtmaildir-ed5750c200b642c9710e03248c46993830e6fab5.tar.gz qtmaildir-ed5750c200b642c9710e03248c46993830e6fab5.zip | |
Add GPLv2-only license and per-file headers
Confirmed with the maintainer as v2-only rather than v2-or-later. LICENSE is
the official text from gnu.org. Every file under src/ and tests/ carries the
matching notice.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/notmuchfixture.h | 18 | ||||
| -rw-r--r-- | tests/test_config.cpp | 18 | ||||
| -rw-r--r-- | tests/test_htmlbuilder.cpp | 18 | ||||
| -rw-r--r-- | tests/test_interceptor.cpp | 18 | ||||
| -rw-r--r-- | tests/test_keymap.cpp | 18 | ||||
| -rw-r--r-- | tests/test_mailsync.cpp | 18 | ||||
| -rw-r--r-- | tests/test_mainwindow.cpp | 18 | ||||
| -rw-r--r-- | tests/test_messageview.cpp | 18 | ||||
| -rw-r--r-- | tests/test_mimeparser.cpp | 18 | ||||
| -rw-r--r-- | tests/test_notmuchworker.cpp | 18 | ||||
| -rw-r--r-- | tests/test_threadcidmap.cpp | 18 | ||||
| -rw-r--r-- | tests/test_threadlistmodel.cpp | 18 |
12 files changed, 216 insertions, 0 deletions
diff --git a/tests/notmuchfixture.h b/tests/notmuchfixture.h index b7287f4..38e2f15 100644 --- a/tests/notmuchfixture.h +++ b/tests/notmuchfixture.h @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #pragma once #include <QDir> diff --git a/tests/test_config.cpp b/tests/test_config.cpp index 50d7e67..e492480 100644 --- a/tests/test_config.cpp +++ b/tests/test_config.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include <QTemporaryDir> #include <QSettings> diff --git a/tests/test_htmlbuilder.cpp b/tests/test_htmlbuilder.cpp index 86a40cd..04bd294 100644 --- a/tests/test_htmlbuilder.cpp +++ b/tests/test_htmlbuilder.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QSet> #include <QtTest> #include "cidschemehandler.h" diff --git a/tests/test_interceptor.cpp b/tests/test_interceptor.cpp index fa0e50a..22b4140 100644 --- a/tests/test_interceptor.cpp +++ b/tests/test_interceptor.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include "requestinterceptor.h" diff --git a/tests/test_keymap.cpp b/tests/test_keymap.cpp index 229fba6..7fc31ef 100644 --- a/tests/test_keymap.cpp +++ b/tests/test_keymap.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include <QTemporaryDir> #include <QSettings> diff --git a/tests/test_mailsync.cpp b/tests/test_mailsync.cpp index cb8d454..a1d193f 100644 --- a/tests/test_mailsync.cpp +++ b/tests/test_mailsync.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QElapsedTimer> #include <QFile> #include <QSignalSpy> diff --git a/tests/test_mainwindow.cpp b/tests/test_mainwindow.cpp index 7b84a60..57eb763 100644 --- a/tests/test_mainwindow.cpp +++ b/tests/test_mainwindow.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include "keymap.h" diff --git a/tests/test_messageview.cpp b/tests/test_messageview.cpp index 261fec2..0c3353d 100644 --- a/tests/test_messageview.cpp +++ b/tests/test_messageview.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QSignalSpy> #include <QWebEngineUrlScheme> #include <QWebEngineView> diff --git a/tests/test_mimeparser.cpp b/tests/test_mimeparser.cpp index 030f23e..74b095c 100644 --- a/tests/test_mimeparser.cpp +++ b/tests/test_mimeparser.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include <QTemporaryDir> #include <QDir> diff --git a/tests/test_notmuchworker.cpp b/tests/test_notmuchworker.cpp index e31dfcc..699f72c 100644 --- a/tests/test_notmuchworker.cpp +++ b/tests/test_notmuchworker.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QSignalSpy> #include <QtTest> diff --git a/tests/test_threadcidmap.cpp b/tests/test_threadcidmap.cpp index 6087e5d..7fd0aed 100644 --- a/tests/test_threadcidmap.cpp +++ b/tests/test_threadcidmap.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QtTest> #include "threadcidmap.h" diff --git a/tests/test_threadlistmodel.cpp b/tests/test_threadlistmodel.cpp index f69147c..24ba9e2 100644 --- a/tests/test_threadlistmodel.cpp +++ b/tests/test_threadlistmodel.cpp @@ -1,3 +1,21 @@ +/* + * qtmaildir - a Qt6 mail client for notmuch-indexed Maildirs + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include <QAbstractItemModelTester> #include <QSignalSpy> #include <QtTest> |
