Skip to content

Commit

Permalink
add some more cuzz.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Dec 18, 2024
1 parent 4b7ec54 commit cb48abd
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion examples/stable/test/property/ic_api/arg_data_raw/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"expectedErrors": ["xUncaught: Candid parser error"]
"expectedErrors": [
"Method: candidEncode \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught: Candid parser error: Unrecognized token"
]
}
5 changes: 4 additions & 1 deletion examples/stable/test/property/ic_api/candid/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"expectedErrors": ["xCannot parse header", "xCandid parser error"]
"expectedErrors": [
"Method: candidEncode \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught: Cannot parse header",
"xCandid parser error"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"expectedErrors": [
"xCanister violated contract: \\\\\"ic0_certified_data_set\\\\\" cannot be executed in non replicated query mode",
"xCanister violated contract: ic0_certified_data_set failed because the passed data must be no larger than 32 bytes"
"Method: assertSetCertifiedDataTypes \\(update\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister violated contract: ic0_certified_data_set failed because the passed data must be no larger than 32 bytes"
]
}
2 changes: 1 addition & 1 deletion examples/stable/test/property/ic_api/cycles/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"expectedErrors": [
"xUncaught Error: numChunks cannot be 0",
"Method: receiveCyclesByChunk \\(update\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: numChunks cannot be 0",
"xCanister trapped: heap out of bounds"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"expectedErrors": [
"xError getting performance counter type",
"Method: assertTypes \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister violated contract: Error getting performance counter type",
"xUncaught Error: Rejection code 2, Couldn't send message"
]
}
2 changes: 1 addition & 1 deletion examples/stable/test/property/ic_api/reject/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"expectedErrors": ["xreject proptest message:", "xOdd numbers are rejected"]
"expectedErrors": ["reject proptest message:", "Odd numbers are rejected"]
}
2 changes: 1 addition & 1 deletion examples/stable/test/property/ic_api/reject_code/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"expectedErrors": ["xThrown error", "xRejection with message"]
"expectedErrors": ["Thrown error", "Rejection with message"]
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"expectedErrors": ["xreject_message proptest message:"]
"expectedErrors": ["reject_message proptest message:"]
}

0 comments on commit cb48abd

Please sign in to comment.