-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update test output format to include test name (and other future context) * save test output for the example tests * update test output format to support multiple keys
- Loading branch information
Showing
91 changed files
with
2,212 additions
and
1,380 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
7 changes: 6 additions & 1 deletion
7
memory/_testoutput/TestDelete_empty_db_delete_with_no_match_is_nop.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 |
---|---|---|
@@ -1 +1,6 @@ | ||
[] | ||
{ | ||
"TestName": "TestDelete/empty_db:_delete_with_no_match_is_nop", | ||
"Histories": { | ||
"A": [] | ||
} | ||
} |
87 changes: 46 additions & 41 deletions
87
...te_existing_entries_multiple_valid_time_ranges_active_set_overlaps_multiple_versions.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 |
---|---|---|
@@ -1,42 +1,47 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "NEW", | ||
"TxTimeStart": "2022-01-04T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-04T00:00:00Z", | ||
"ValidTimeEnd": null | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-04T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-02T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "NEW", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-03T00:00:00Z", | ||
"ValidTimeEnd": null | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-03T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-03T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entries._multiple_valid_time_ranges_active:_set_overlaps_multiple_versions", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "NEW", | ||
"TxTimeStart": "2022-01-04T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-04T00:00:00Z", | ||
"ValidTimeEnd": null | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-04T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-02T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "NEW", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-03T00:00:00Z", | ||
"ValidTimeEnd": null | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-03T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-03T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
39 changes: 22 additions & 17 deletions
39
memory/_testoutput/TestDelete_existing_entry_no_valid_end_basic_delete.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 |
---|---|---|
@@ -1,18 +1,23 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-03T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-03T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entry_-_no_valid_end:_basic_delete", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-03T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": "2022-01-03T00:00:00Z" | ||
}, | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-03T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
23 changes: 14 additions & 9 deletions
23
...put/TestDelete_existing_entry_no_valid_end_error_if_end_valid_time_before_valid_time.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entry_-_no_valid_end:_error_if_end_valid_time_before_valid_time", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
23 changes: 14 additions & 9 deletions
23
...ing_entry_no_valid_end_error_if_end_valid_time_before_valid_time_default_valid_time_.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entry_-_no_valid_end:_error_if_end_valid_time_before_valid_time_(default_valid_time)", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
23 changes: 14 additions & 9 deletions
23
...t/TestDelete_existing_entry_no_valid_end_error_if_end_valid_time_equal_to_valid_time.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entry_-_no_valid_end:_error_if_end_valid_time_equal_to_valid_time", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": null, | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
23 changes: 14 additions & 9 deletions
23
.../_testoutput/TestDelete_existing_entry_no_valid_end_set_w_valid_time_end_no_overhang.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 |
---|---|---|
@@ -1,10 +1,15 @@ | ||
[ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
{ | ||
"TestName": "TestDelete/existing_entry_-_no_valid_end:_set_w/_valid_time_end._no_overhang", | ||
"Histories": { | ||
"A": [ | ||
{ | ||
"Key": "A", | ||
"Value": "OLD", | ||
"TxTimeStart": "2022-01-01T00:00:00Z", | ||
"TxTimeEnd": "2022-01-04T00:00:00Z", | ||
"ValidTimeStart": "2022-01-01T00:00:00Z", | ||
"ValidTimeEnd": null | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.