DarkflameServer/dCommon
David Markowitz 835cf2b794
Add an AMF Deserializer as well as corresponding Unit Tests (#599)
* Add AMFDeserializer

Add an AMFDeserializer

Reverted unrelated changes

Add unit tests for AMFDeserializer

Added unit tests for the AMFDeserializer

Finish tests

Finish the AMF deserializer tests.  This commit finishes the positive test case and implements a load test case that is expected to take less than 1.5 seconds to process.

Modularized tests

Made tests a bit modular and split into more methods

Specified binary read from file

Specified that on the IO stream we are reading a binary file otherwise windows will terminate reading the binary file on seeing a 1A byte.

Added more tests

Added tests for unimplemented values and edited a test file to be more modular

Updated test text

Fix spacing

Update AMFDeserializeTests.cpp

* Update CMakeLists.txt

* Update AMFDeserializeTests.cpp

f

Actually follow the AMF spec

Update AMFDeserializeTests.cpp

tabs

Add in commented tests

* Follow spec

formatting

Add Integer Tests

Follow Spec more

Follow spec

* Use unique_ptr

* Update AMFDeserialize.cpp

Semantics

Update AMFDeserialize.cpp

Add new lines to EOF

CMake fix

* Add better std string read

Co-authored-by: Daniel Seiler <xiphoseer@mailbox.org>

* make not static

Co-authored-by: Daniel Seiler <xiphoseer@mailbox.org>
2022-07-19 21:51:05 -07:00
..
AddFriendResponseCode.h Friends List Overhaul (#630) v103 2022-07-12 20:36:06 -07:00
AddFriendResponseType.h Friends List Overhaul (#630) v103 2022-07-12 20:36:06 -07:00
AMFDeserialize.cpp Add an AMF Deserializer as well as corresponding Unit Tests (#599) 2022-07-19 21:51:05 -07:00
AMFDeserialize.h Add an AMF Deserializer as well as corresponding Unit Tests (#599) 2022-07-19 21:51:05 -07:00
AMFFormat_BitStream.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AMFFormat_BitStream.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AMFFormat.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AMFFormat.h Add an AMF Deserializer as well as corresponding Unit Tests (#599) 2022-07-19 21:51:05 -07:00
BinaryIO.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BinaryIO.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
CMakeLists.txt Add an AMF Deserializer as well as corresponding Unit Tests (#599) 2022-07-19 21:51:05 -07:00
dCommonVars.h Fix Model Component Serialization (#655) 2022-07-19 16:51:35 -05:00
dConfig.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
dConfig.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Diagnostics.cpp Small fixes for windows clang compile 2021-12-05 15:59:50 -08:00
Diagnostics.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
dLogger.cpp Fixes dlogger PR 2021-12-13 16:57:43 +01:00
dLogger.h Added a LogDebug 2021-12-11 12:29:34 +00:00
dPlatforms.h Update CMake configuration for easier maintenance (#642) 2022-07-17 00:24:16 +01:00
eAninmationFlags.h Possessor and possessable additions (#619) 2022-07-08 22:25:15 -05:00
eItemType.h Split itemType enum into it's own header (#647) 2022-07-16 20:36:09 -05:00
Game.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
GeneralUtils.cpp Implement a migration runner 2022-07-12 02:16:08 +01:00
GeneralUtils.h Implement a migration runner 2022-07-12 02:16:08 +01:00
LDFFormat.cpp Corrected string to long conversion 2022-06-05 21:02:41 -07:00
LDFFormat.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
MD5.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
MD5.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Metrics.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Metrics.hpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
NiPoint3.cpp Basic tests infrastructure 2022-01-03 16:00:21 +01:00
NiPoint3.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
NiQuaternion.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
NiQuaternion.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
PermissionMap.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SHA512.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SHA512.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Type.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Type.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ZCompression.cpp Update CMake configuration for easier maintenance (#642) 2022-07-17 00:24:16 +01:00
ZCompression.h Update CMake configuration for easier maintenance (#642) 2022-07-17 00:24:16 +01:00