PaulMWatt / Alchemy

A framework to robustly process network messages and structured data
http://codeofthedamned.com/index.php/alchemy
Other
17 stars 2 forks source link

Add tests for pack_message and unpack_message with offsets #24

Closed PaulMWatt closed 9 years ago

PaulMWatt commented 10 years ago

These two sets of messages use a sliding offset in the message buffer. The tests need to verify that the correct offset is used for the nested type, then reverted back to the previous location once the current field has been processed.

PaulMWatt commented 9 years ago

This scenario is verified with these two tests:

TestDynTypePermsSuite::Testto_host TestDynTypePermsSuite::Testto_network