azure-contrib / socket.io-servicebus

socket.io store which uses Service Bus pub/sub for scale out
Apache License 2.0
30 stars 14 forks source link

Verify that the module works with all types of data that the store should process #35

Open jcookems opened 11 years ago

jcookems commented 11 years ago

We have tests (unit and the chat app) that use "normal" strings as the data passed to SocketIO. But it seems reasonable that SocketIO can accept unrestricted binary data.

We should determine what data SocketIO accepts, then make sure to cover those scenarios in the unit tests. For example:

  1. Unicode data (including Chinese Ext-B characters)
  2. Binary data (however that might be represented)
  3. Strings that include characters that are special to the serialization formats (like JSON characters that get escaped, XML escape characters, characters that are not valid in XML (0xFFFE, 0x05))
  4. JavaScript values (DateTime?)