You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newInvalidMessageData("HeaderValueInt",newbyte[]{0x92,1,0x82,0xa3,(byte)'f',(byte)'o',(byte)'o',42},"Reading 'headers[0].Value' as String failed."),
280
280
newInvalidMessageData("HeaderKeyArray",newbyte[]{0x92,1,0x84,0xa3,(byte)'f',(byte)'o',(byte)'o',0xa3,(byte)'f',(byte)'o',(byte)'o',0x90,0xa3,(byte)'f',(byte)'o',(byte)'o'},"Reading 'headers[1].Key' as String failed."),
281
281
newInvalidMessageData("HeaderValueArray",newbyte[]{0x92,1,0x84,0xa3,(byte)'f',(byte)'o',(byte)'o',0xa3,(byte)'f',(byte)'o',(byte)'o',0xa3,(byte)'f',(byte)'o',(byte)'o',0x90},"Reading 'headers[1].Value' as String failed."),
282
+
newInvalidMessageData("HeaderKeyEmptyString",newbyte[]{0x92,1,0x82,0xa0,0xa3,(byte)'f',(byte)'o',(byte)'o'},"Null or empty key in header."),
283
+
newInvalidMessageData("HeaderValueEmptyString",newbyte[]{0x92,1,0x82,0xa3,(byte)'f',(byte)'o',(byte)'o',0xa0},"Null or empty value in header."),
282
284
283
285
// InvocationMessage
284
286
newInvalidMessageData("InvocationMissingId",newbyte[]{0x92,1,0x80},"Reading 'invocationId' as String failed."),
285
287
newInvalidMessageData("InvocationIdBoolean",newbyte[]{0x91,1,0x80,0xc2},"Reading 'invocationId' as String failed."),
286
288
newInvalidMessageData("InvocationTargetMissing",newbyte[]{0x93,1,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c'},"Reading 'target' as String failed."),
287
289
newInvalidMessageData("InvocationTargetInt",newbyte[]{0x94,1,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c',42},"Reading 'target' as String failed."),
290
+
newInvalidMessageData("InvocationTargetEmptyString",newbyte[]{0x94,1,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c',0xa0},"Null or empty target for Invocation message."),
291
+
newInvalidMessageData("InvocationEmptyStringStreamId",newbyte[]{0x96,1,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c',0xa1,(byte)'T',0x91,0xa0,0x91,0xa0},"Null or empty value in streamIds received."),
288
292
289
293
// StreamInvocationMessage
290
294
newInvalidMessageData("StreamInvocationMissingId",newbyte[]{0x92,4,0x80},"Reading 'invocationId' as String failed."),
295
+
newInvalidMessageData("StreamInvocationEmptyStringId",newbyte[]{0x93,4,0x80,0xa0},"Null or empty invocation ID for StreamInvocation message."),
291
296
newInvalidMessageData("StreamInvocationIdBoolean",newbyte[]{0x93,4,0x80,0xc2},"Reading 'invocationId' as String failed."),
292
297
newInvalidMessageData("StreamInvocationTargetMissing",newbyte[]{0x93,4,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c'},"Reading 'target' as String failed."),
293
298
newInvalidMessageData("StreamInvocationTargetInt",newbyte[]{0x94,4,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c',42},"Reading 'target' as String failed."),
299
+
newInvalidMessageData("StreamInvocationTargetEmptyString",newbyte[]{0x94,4,0x80,0xa3,(byte)'a',(byte)'b',(byte)'c',0xa0},"Null or empty target for StreamInvocation message."),
294
300
295
301
// StreamItemMessage
296
302
newInvalidMessageData("StreamItemMissingId",newbyte[]{0x92,2,0x80},"Reading 'invocationId' as String failed."),
303
+
newInvalidMessageData("StreamItemEmptyStringId",newbyte[]{0x93,2,0x80,0xa0},"Null or empty invocation ID for StreamItem message."),
297
304
newInvalidMessageData("StreamItemInvocationIdBoolean",newbyte[]{0x93,2,0x80,0xc2},"Reading 'invocationId' as String failed."),
298
305
299
306
// These now trigger StreamBindingInvocationFailureMessages
newInvalidMessageData("CompletionMissingId",newbyte[]{0x92,3,0x80},"Reading 'invocationId' as String failed."),
312
+
newInvalidMessageData("CompletionEmptyStringId",newbyte[]{0x93,3,0x80,0xa0},"Null or empty invocation ID for Completion message."),
305
313
newInvalidMessageData("CompletionIdBoolean",newbyte[]{0x93,3,0x80,0xc2},"Reading 'invocationId' as String failed."),
306
314
newInvalidMessageData("CompletionResultKindString",newbyte[]{0x94,3,0x80,0xa3,(byte)'x',(byte)'y',(byte)'z',0xa3,(byte)'x',(byte)'y',(byte)'z'},"Reading 'resultKind' as Int32 failed."),
307
315
newInvalidMessageData("CompletionResultKindOutOfRange",newbyte[]{0x94,3,0x80,0xa3,(byte)'x',(byte)'y',(byte)'z',42},"Invalid invocation result kind."),
// These now result in CompletionMessages with the error field set
312
320
//new InvalidMessageData("CompletionResultMissing", new byte[] { 0x94, 3, 0x80, 0xa3, (byte)'x', (byte)'y', (byte)'z', 0x03 }, "Deserializing object of the `String` type for 'argument' failed."),
313
321
//new InvalidMessageData("CompletionResultTypeMismatch", new byte[] { 0x95, 3, 0x80, 0xa3, (byte)'x', (byte)'y', (byte)'z', 0x03, 42 }, "Deserializing object of the `String` type for 'argument' failed."),
322
+
323
+
// CancelInvocationMessage
324
+
newInvalidMessageData("CancelInvocationMissingId",newbyte[]{0x92,5,0x80},"Reading 'invocationId' as String failed."),
325
+
newInvalidMessageData("CancelInvocationEmptyStringId",newbyte[]{0x93,5,0x80,0xa0},"Null or empty invocation ID for CancelInvocation message."),
0 commit comments