Skip to content

Commit

Permalink
update many cuzz.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Dec 18, 2024
1 parent c66ec6b commit b0f601f
Show file tree
Hide file tree
Showing 8 changed files with 1,332 additions and 8,690 deletions.
3,873 changes: 93 additions & 3,780 deletions examples/experimental/test/end_to_end/candid_rpc/date/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"Method: createReaction \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught TypeError: cannot read property 'Symbol.iterator' of undefined",
"Method: createThread \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught TypeError: cannot read property 'Symbol.iterator' of undefined",
"Method: createReaction \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Post not found",
"Method: getAllUsers \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister trapped: heap out of bounds",
"Method: getAllPosts \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister trapped: heap out of bounds",
"Method: getAllReactions \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister trapped: heap out of bounds",
"Method: getAllThreads \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Canister trapped: heap out of bounds",
Expand Down
3 changes: 3 additions & 0 deletions examples/stable/test/end_to_end/candid_rpc/date/cuzz.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"Method: dateToJSONString \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid text argument: null",
"Method: dateToISOString \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught RangeError: Date value is NaN",
"Method: getDate \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument",
"Method: getFullYear \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument",
"Method: getDay \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument",
"Method: getHours \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument",
"xUncaught RangeError: cannot convert NaN or Infinity to BigInt",
"xUncaught Error: Failed to encode Candid arguments: Error: Invalid nat64 argument"
]
Expand Down
6,139 changes: 1,230 additions & 4,909 deletions examples/stable/test/end_to_end/candid_rpc/date/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/stable/test/end_to_end/candid_rpc/icrc/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"expectedErrors": [
"Method: icrc1_transfer \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*assertion failed at ICRC1.mo:262.5-262.37",
"Method: icrc1_transfer \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*assertion failed at ICRC1.mo:268.20-268.59",
"Method: icrc2_transfer_from \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*assertion failed at ICRC1.mo:262.5-262.37",
"Method: icrc2_approve \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*assertion failed at ICRC1.mo:268.20-268.59",
"xis larger than the max allowed 2097152"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"expectedErrors": [
"Method: executeTransfer \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Invalid account identifier: Checksum failed for .*, expected check bytes .* but found",
"Method: getAccountBalance \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Invalid account identifier: Checksum failed for .*, expected check bytes .* but found",
"Method: account_balance \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Invalid account identifier: Checksum failed for .*, expected check bytes .* but found",
"xDeserialization Failed"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"Method: executeClearChunkStore \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request",
"Method: executeDeleteCanister \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request",
"Method: executeDepositCycles \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request",
"Method: executeInstallCode \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request",
"xnot found"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"expectedErrors": [
"Method: stableMap16Insert \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught SyntaxError: unexpected token",
"Method: stableMap17ContainsKey \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected token"
"Method: stableMap17ContainsKey \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected token",
"Method: stableMap17Get \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected token"
]
}

0 comments on commit b0f601f

Please sign in to comment.