diff options
Diffstat (limited to 'tests/auto/qtattributionsscanner/testdata/good')
6 files changed, 70 insertions, 9 deletions
diff --git a/tests/auto/qtattributionsscanner/testdata/good/expected.json b/tests/auto/qtattributionsscanner/testdata/good/expected.json index 1f54c13e6..244687192 100644 --- a/tests/auto/qtattributionsscanner/testdata/good/expected.json +++ b/tests/auto/qtattributionsscanner/testdata/good/expected.json @@ -10,7 +10,7 @@ "LicenseFile": "", "LicenseId": "", "Name": "Test", - "PackageComment":"", + "PackageComment": "", "Path": "%{PWD}/chromium", "QDocModule": "qtwebengine", "QtParts": [ @@ -22,39 +22,64 @@ { "Copyright": "Copyright", "Description": "Multi\nLine\nDescription", + "DownloadLocation": "www.qt.io/1.0", + "Files": "", "Homepage": "www.qt.io", "Id": "complete", "License": "License", "LicenseFile": "%{PWD}/complete/LICENSE", "LicenseId": "xxx", "Name": "Complete", - "PackageComment":"just a test package", + "PackageComment": "just a test package", "Path": "%{PWD}/complete", - "Files": "", "QDocModule": "qtest", - "QtParts": [ "examples" ], + "QtParts": [ + "examples" + ], "QtUsage": "Multi\nLine\nUsage", - "Version": "1.0", - "DownloadLocation": "www.qt.io/1.0" + "Version": "1.0" }, { "Copyright": "Copyright", "Description": "", + "DownloadLocation": "", + "Files": "", "Homepage": "", "Id": "minimal", "License": "License", "LicenseFile": "", "LicenseId": "", "Name": "Minimal", - "PackageComment":"", + "PackageComment": "", "Path": "%{PWD}/minimal", + "QDocModule": "qtest", + "QtParts": [ + "libs" + ], + "QtUsage": "Usage", + "Version": "" + }, + { + "Copyright": "", + "Description": "", + "DownloadLocation": "", "Files": "", + "Homepage": "", + "Id": "variants", + "License": "License", + "LicenseFiles": [ + "%{PWD}/variants/LICENSE1.txt", + "%{PWD}/variants/LICENSE2.txt" + ], + "LicenseId": "", + "Name": "Variants Test", + "PackageComment": "", + "Path": "%{PWD}/variants", "QDocModule": "qtest", "QtParts": [ "libs" ], "QtUsage": "Usage", - "Version": "", - "DownloadLocation": "" + "Version": "" } ] diff --git a/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE1.txt b/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE1.txt new file mode 100644 index 000000000..716287c92 --- /dev/null +++ b/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE1.txt @@ -0,0 +1 @@ +LICENSE1
\ No newline at end of file diff --git a/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE2.txt b/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE2.txt new file mode 100644 index 000000000..3671b8928 --- /dev/null +++ b/tests/auto/qtattributionsscanner/testdata/good/variants/LICENSE2.txt @@ -0,0 +1 @@ +LICENSE2
\ No newline at end of file diff --git a/tests/auto/qtattributionsscanner/testdata/good/variants/expected.error b/tests/auto/qtattributionsscanner/testdata/good/variants/expected.error new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/auto/qtattributionsscanner/testdata/good/variants/expected.error diff --git a/tests/auto/qtattributionsscanner/testdata/good/variants/expected.json b/tests/auto/qtattributionsscanner/testdata/good/variants/expected.json new file mode 100644 index 000000000..5300c6297 --- /dev/null +++ b/tests/auto/qtattributionsscanner/testdata/good/variants/expected.json @@ -0,0 +1,25 @@ +[ + { + "Copyright": "", + "Description": "", + "DownloadLocation": "", + "Files": "", + "Homepage": "", + "Id": "variants", + "License": "License", + "LicenseFiles": [ + "%{PWD}/LICENSE1.txt", + "%{PWD}/LICENSE2.txt" + ], + "LicenseId": "", + "Name": "Variants Test", + "PackageComment": "", + "Path": "%{PWD}", + "QDocModule": "qtest", + "QtParts": [ + "libs" + ], + "QtUsage": "Usage", + "Version": "" + } +] diff --git a/tests/auto/qtattributionsscanner/testdata/good/variants/qt_attribution_test.json b/tests/auto/qtattributionsscanner/testdata/good/variants/qt_attribution_test.json new file mode 100644 index 000000000..072523114 --- /dev/null +++ b/tests/auto/qtattributionsscanner/testdata/good/variants/qt_attribution_test.json @@ -0,0 +1,9 @@ +{ + "Id": "variants", + "Name": "Variants Test", + + "QDocModule": "qtest", + "QtUsage": "Usage", + "License": "License", + "LicenseFiles": [ "LICENSE1.txt", "LICENSE2.txt" ] +} |