From 39910e6134412224554464048e893e83e8df9eac Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Fri, 6 Sep 2024 18:55:51 +0200 Subject: [PATCH] Add more copyright tests Signed-off-by: Philippe Ombredanne --- .../data/copyrights/misco4/initial-dev-again.txt | 2 ++ .../copyrights/misco4/initial-dev-again.txt.yml | 12 ++++++++++++ .../data/copyrights/misco4/nasa-copyright | 4 ++++ .../data/copyrights/misco4/nasa-copyright.yml | 15 +++++++++++++++ .../misco4/portions-initial-developer.txt | 3 +++ .../misco4/portions-initial-developer.txt.yml | 12 ++++++++++++ 6 files changed, 48 insertions(+) create mode 100644 tests/cluecode/data/copyrights/misco4/initial-dev-again.txt create mode 100644 tests/cluecode/data/copyrights/misco4/initial-dev-again.txt.yml create mode 100644 tests/cluecode/data/copyrights/misco4/nasa-copyright create mode 100644 tests/cluecode/data/copyrights/misco4/nasa-copyright.yml create mode 100644 tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt create mode 100644 tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt.yml diff --git a/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt b/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt new file mode 100644 index 00000000000..92b8bc5f145 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt @@ -0,0 +1,2 @@ + Portions created by the Initial Developer are Copyright (C) 2005 + * the Initial Developer. All Rights Reserved. diff --git a/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt.yml b/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt.yml new file mode 100644 index 00000000000..7ffcfac7947 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/initial-dev-again.txt.yml @@ -0,0 +1,12 @@ +what: + - copyrights + - holders + - holders_summary + - authors +copyrights: + - Portions created by the Initial Developer are Copyright (c) 2005 the Initial Developer +holders: + - the Initial Developer +holders_summary: + - value: the Initial Developer + count: 1 diff --git a/tests/cluecode/data/copyrights/misco4/nasa-copyright b/tests/cluecode/data/copyrights/misco4/nasa-copyright new file mode 100644 index 00000000000..14ec5a126d6 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/nasa-copyright @@ -0,0 +1,4 @@ + Copyright (C) 2006-2010 United States Government as represented by + the Administrator of the National Aeronautics and Space Administration. + All Rights Reserved. + diff --git a/tests/cluecode/data/copyrights/misco4/nasa-copyright.yml b/tests/cluecode/data/copyrights/misco4/nasa-copyright.yml new file mode 100644 index 00000000000..28109c8b811 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/nasa-copyright.yml @@ -0,0 +1,15 @@ +what: + - copyrights + - holders + - holders_summary + - authors +copyrights: + - Copyright (c) 2006-2010 United States Government as represented by the Administrator of + the National Aeronautics and Space Administration +holders: + - United States Government as represented by the Administrator of the National Aeronautics + and Space Administration +holders_summary: + - value: United States Government as represented by the Administrator of the National Aeronautics + and Space Administration + count: 1 diff --git a/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt b/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt new file mode 100644 index 00000000000..f4de210f606 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt @@ -0,0 +1,3 @@ +Portions created by the Initial Developer are Copyright (C) +the Initial Developer. All Rights Reserved. + diff --git a/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt.yml b/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt.yml new file mode 100644 index 00000000000..96c2c1fc580 --- /dev/null +++ b/tests/cluecode/data/copyrights/misco4/portions-initial-developer.txt.yml @@ -0,0 +1,12 @@ +what: + - copyrights + - holders + - holders_summary + - authors +copyrights: + - Portions created by the Initial Developer are Copyright (c) the Initial Developer +holders: + - the Initial Developer +holders_summary: + - value: the Initial Developer + count: 1