Skip to content

Commit

Permalink
Update Test cases
Browse files Browse the repository at this point in the history
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
  • Loading branch information
akugarg committed Jun 15, 2021
1 parent bc84aa7 commit 8f53f2b
Show file tree
Hide file tree
Showing 32 changed files with 205 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -90,6 +91,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -128,6 +130,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -175,6 +178,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "3-seq",
"rule_length": 35,
"matched_length": 32,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -91,6 +92,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -129,6 +131,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -176,6 +179,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 198,
"matched_length": 198,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -90,6 +91,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -128,6 +130,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -175,6 +178,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 198,
"matched_length": 198,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 368,
"matched_length": 368,
Expand Down Expand Up @@ -162,6 +163,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 368,
"matched_length": 368,
Expand Down Expand Up @@ -229,6 +231,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 212,
"matched_length": 212,
Expand Down Expand Up @@ -265,6 +268,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 119,
"matched_length": 119,
Expand Down Expand Up @@ -335,6 +339,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -373,6 +378,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -411,6 +417,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-spdx-id",
"rule_length": 13,
"matched_length": 13,
Expand Down Expand Up @@ -478,6 +485,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 212,
"matched_length": 212,
Expand Down Expand Up @@ -514,6 +522,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 119,
"matched_length": 119,
Expand Down
3 changes: 3 additions & 0 deletions tests/scancode/data/info/all.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 243,
"matched_length": 243,
Expand Down Expand Up @@ -435,6 +436,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down Expand Up @@ -471,6 +473,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down
3 changes: 3 additions & 0 deletions tests/scancode/data/info/all.rooted.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 243,
"matched_length": 243,
Expand Down Expand Up @@ -269,6 +270,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down Expand Up @@ -305,6 +307,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down
1 change: 1 addition & 0 deletions tests/scancode/data/license_text/test.expected
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"is_license_reference": false,
"is_license_tag": true,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 4,
"matched_length": 4,
Expand Down
3 changes: 3 additions & 0 deletions tests/scancode/data/plugin_only_findings/basic.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 243,
"matched_length": 243,
Expand Down Expand Up @@ -156,6 +157,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down Expand Up @@ -192,6 +194,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 50,
"matched_length": 50,
Expand Down
2 changes: 2 additions & 0 deletions tests/summarycode/data/end-2-end/bug-1141.expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "1-hash",
"rule_length": 102,
"matched_length": 102,
Expand Down Expand Up @@ -541,6 +542,7 @@
"is_license_reference": false,
"is_license_tag": false,
"is_license_intro": false,
"is_unknown": false,
"matcher": "2-aho",
"rule_length": 102,
"matched_length": 102,
Expand Down
Loading

0 comments on commit 8f53f2b

Please sign in to comment.