From 17b58b0bb7787363a4aec5e8f61a017e0d0e8eee Mon Sep 17 00:00:00 2001 From: Chen Bin Date: Mon, 26 Apr 2021 14:33:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A2=9E=E5=8A=A0copyright?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补上单元测试文件遗漏的copyright Log: Change-Id: Ia678a90b33ea4bd7e70c6f4013d5ba1befccf9c9 (cherry picked from commit 06462b7dda026efa7d46d837f86951108c28bacb) --- tests/main.cpp | 21 +++++++++++++++++++++ tests/src/ut_dfontmanager.cpp | 20 ++++++++++++++++++++ tests/src/ut_dforeignwindow.cpp | 20 ++++++++++++++++++++ tests/src/ut_dguiapplicationhelper.cpp | 20 ++++++++++++++++++++ tests/src/ut_dpalette.cpp | 20 ++++++++++++++++++++ tests/src/ut_dplatformhandle.cpp | 20 ++++++++++++++++++++ tests/src/ut_dplatformtheme.cpp | 20 ++++++++++++++++++++ tests/src/ut_dregionmonitor.cpp | 20 ++++++++++++++++++++ tests/src/ut_dsvgrenderer.cpp | 21 ++++++++++++++++++++- tests/src/ut_dtaskbarcontrol.cpp | 20 ++++++++++++++++++++ tests/src/ut_dthumbnailprovider.cpp | 20 ++++++++++++++++++++ tests/src/ut_dwindowgroupleader.cpp | 20 ++++++++++++++++++++ tests/src/ut_dwindowmanagerhelper.cpp | 20 ++++++++++++++++++++ tests/test.h | 20 ++++++++++++++++++++ 14 files changed, 281 insertions(+), 1 deletion(-) diff --git a/tests/main.cpp b/tests/main.cpp index 4dfa1f33..6877ab54 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,3 +1,24 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ + #include "test.h" #include diff --git a/tests/src/ut_dfontmanager.cpp b/tests/src/ut_dfontmanager.cpp index 08157b84..99e04c92 100644 --- a/tests/src/ut_dfontmanager.cpp +++ b/tests/src/ut_dfontmanager.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dfontmanager.h" diff --git a/tests/src/ut_dforeignwindow.cpp b/tests/src/ut_dforeignwindow.cpp index 1775c2fd..dbaee732 100644 --- a/tests/src/ut_dforeignwindow.cpp +++ b/tests/src/ut_dforeignwindow.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dforeignwindow.h" diff --git a/tests/src/ut_dguiapplicationhelper.cpp b/tests/src/ut_dguiapplicationhelper.cpp index a1ce004b..12e203e1 100644 --- a/tests/src/ut_dguiapplicationhelper.cpp +++ b/tests/src/ut_dguiapplicationhelper.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dguiapplicationhelper.h" #include "dguiapplicationhelper_p.h" diff --git a/tests/src/ut_dpalette.cpp b/tests/src/ut_dpalette.cpp index a609484f..bf5b61c4 100644 --- a/tests/src/ut_dpalette.cpp +++ b/tests/src/ut_dpalette.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include #include #include diff --git a/tests/src/ut_dplatformhandle.cpp b/tests/src/ut_dplatformhandle.cpp index d6599bf7..ac5ccadc 100644 --- a/tests/src/ut_dplatformhandle.cpp +++ b/tests/src/ut_dplatformhandle.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include #include #include diff --git a/tests/src/ut_dplatformtheme.cpp b/tests/src/ut_dplatformtheme.cpp index 7f32a74a..92a6e0ae 100644 --- a/tests/src/ut_dplatformtheme.cpp +++ b/tests/src/ut_dplatformtheme.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include #include #include diff --git a/tests/src/ut_dregionmonitor.cpp b/tests/src/ut_dregionmonitor.cpp index b66bdc22..0d14fb71 100644 --- a/tests/src/ut_dregionmonitor.cpp +++ b/tests/src/ut_dregionmonitor.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dregionmonitor.h" #include "private/dregionmonitor_p.h" diff --git a/tests/src/ut_dsvgrenderer.cpp b/tests/src/ut_dsvgrenderer.cpp index 7f6923d2..4c84a8be 100644 --- a/tests/src/ut_dsvgrenderer.cpp +++ b/tests/src/ut_dsvgrenderer.cpp @@ -1,4 +1,23 @@ - +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "dsvgrenderer.h" #include "test.h" #include diff --git a/tests/src/ut_dtaskbarcontrol.cpp b/tests/src/ut_dtaskbarcontrol.cpp index 4797b1ef..d3b94b6b 100644 --- a/tests/src/ut_dtaskbarcontrol.cpp +++ b/tests/src/ut_dtaskbarcontrol.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dtaskbarcontrol.h" diff --git a/tests/src/ut_dthumbnailprovider.cpp b/tests/src/ut_dthumbnailprovider.cpp index a5bd28a3..5f5d7a20 100644 --- a/tests/src/ut_dthumbnailprovider.cpp +++ b/tests/src/ut_dthumbnailprovider.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dthumbnailprovider.h" diff --git a/tests/src/ut_dwindowgroupleader.cpp b/tests/src/ut_dwindowgroupleader.cpp index 42db22fb..d3334e93 100644 --- a/tests/src/ut_dwindowgroupleader.cpp +++ b/tests/src/ut_dwindowgroupleader.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include "dwindowgroupleader.h" #include diff --git a/tests/src/ut_dwindowmanagerhelper.cpp b/tests/src/ut_dwindowmanagerhelper.cpp index 161a27de..33f74565 100644 --- a/tests/src/ut_dwindowmanagerhelper.cpp +++ b/tests/src/ut_dwindowmanagerhelper.cpp @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #include "test.h" #include diff --git a/tests/test.h b/tests/test.h index c742b636..d3ad224d 100644 --- a/tests/test.h +++ b/tests/test.h @@ -1,3 +1,23 @@ +/* + * Copyright (C) 2021 ~ 2021 Deepin Technology Co., Ltd. + * + * Author: Chen Bin + * + * Maintainer: Chen Bin + * + * 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, either version 3 of the License, or + * any later version. + * + * 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 Lesser General Public License + * along with this program. If not, see . + */ #ifndef TEST_H #define TEST_H