-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #750 from tschmidtb51/timestamp-timezone-sorting
Clarify Timezones in multiple tests
- Loading branch information
Showing
17 changed files
with
504 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
csaf_2.1/prose/edit/src/tests-01-mndtr-21-missing-item-in-revision-history.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-09.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Sorted Revision History (failing example 9)", | ||
"tracking": { | ||
"current_release_date": "2024-01-22T22:45:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-09", | ||
"initial_release_date": "2024-01-22T22:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2024-01-23T10:00:00.000-12:00", | ||
"number": "2", | ||
"summary": "Second version." | ||
}, | ||
{ | ||
"date": "2024-01-22T10:00:00.000+12:45", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "1" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-14-31.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Sorted Revision History (valid example 10)", | ||
"tracking": { | ||
"current_release_date": "2024-01-22T22:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-14-31", | ||
"initial_release_date": "2024-01-22T22:45:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2024-01-22T10:00:00.000+12:45", | ||
"number": "2", | ||
"summary": "Second version." | ||
}, | ||
{ | ||
"date": "2024-01-23T10:00:00.000-12:00", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-09.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Latest Document Version (failing example 9)", | ||
"tracking": { | ||
"current_release_date": "2024-01-22T22:45:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-09", | ||
"initial_release_date": "2024-01-22T22:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2024-01-23T10:00:00.000-12:00", | ||
"number": "2", | ||
"summary": "Second version." | ||
}, | ||
{ | ||
"date": "2024-01-22T10:00:00.000+12:45", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-16-32.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Latest Document Version (valid example 11)", | ||
"tracking": { | ||
"current_release_date": "2024-01-22T22:45:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-16-32", | ||
"initial_release_date": "2024-01-22T22:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2024-01-22T10:00:00.000+12:45", | ||
"number": "2", | ||
"summary": "Second version." | ||
}, | ||
{ | ||
"date": "2024-01-23T10:00:00.000-12:00", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-03.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Missing Item in Revision History (failing example 3)", | ||
"tracking": { | ||
"current_release_date": "2024-01-21T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-03", | ||
"initial_release_date": "2023-08-22T10:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2023-08-22T10:00:00.000Z", | ||
"number": "1", | ||
"summary": "Initial version." | ||
}, | ||
{ | ||
"date": "2024-01-21T10:00:00.000Z", | ||
"number": "4", | ||
"summary": "Some other changes." | ||
}, | ||
{ | ||
"date": "2024-01-21T11:00:00.000+03:00", | ||
"number": "3", | ||
"summary": "Some other changes." | ||
} | ||
], | ||
"status": "final", | ||
"version": "4" | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-21-14.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Missing Item in Revision History (valid example 4)", | ||
"tracking": { | ||
"current_release_date": "2024-01-21T14:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-21-14", | ||
"initial_release_date": "2023-08-22T10:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2023-08-22T10:00:00.000Z", | ||
"number": "1", | ||
"summary": "Initial version." | ||
}, | ||
{ | ||
"date": "2024-01-21T10:00:00.000Z", | ||
"number": "3", | ||
"summary": "Some other changes." | ||
}, | ||
{ | ||
"date": "2024-01-21T11:00:00.000+03:00", | ||
"number": "2", | ||
"summary": "Some other changes." | ||
}, | ||
{ | ||
"date": "2024-01-21T09:00:00.000-05:00", | ||
"number": "4", | ||
"summary": "Some other changes." | ||
} | ||
], | ||
"status": "final", | ||
"version": "4" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-02.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Optional test: Older Initial Release Date than Revision History (failing example 2)", | ||
"tracking": { | ||
"current_release_date": "2024-01-21T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-05-02", | ||
"initial_release_date": "2023-09-06T10:00:00.000+10:00", | ||
"revision_history": [ | ||
{ | ||
"date": "2023-09-06T10:00:00.000-01:00", | ||
"number": "1", | ||
"summary": "Initial version." | ||
}, | ||
{ | ||
"date": "2024-01-21T11:00:00.000Z", | ||
"number": "2", | ||
"summary": "Second version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-11.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Optional test: Older Initial Release Date than Revision History (valid example 1)", | ||
"tracking": { | ||
"current_release_date": "2024-01-21T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-05-11", | ||
"initial_release_date": "2023-09-06T10:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2023-09-06T10:00:00.000Z", | ||
"number": "1", | ||
"summary": "Initial version." | ||
}, | ||
{ | ||
"date": "2024-01-21T11:00:00.000Z", | ||
"number": "2", | ||
"summary": "Second version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
csaf_2.1/test/validator/data/optional/oasis_csaf_tc-csaf_2_1-2024-6-2-05-12.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Optional test: Older Initial Release Date than Revision History (valid example 2)", | ||
"tracking": { | ||
"current_release_date": "2024-01-21T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-2-05-12", | ||
"initial_release_date": "2023-09-06T10:00:00.000+10:00", | ||
"revision_history": [ | ||
{ | ||
"date": "2023-09-06T10:00:00.000+10:00", | ||
"number": "1", | ||
"summary": "Initial version." | ||
}, | ||
{ | ||
"date": "2024-01-21T11:00:00.000Z", | ||
"number": "2", | ||
"summary": "Second version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "2" | ||
} | ||
} | ||
} |
Oops, something went wrong.