X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fuser-guide.rst;fp=docs%2Fuser-guide.rst;h=a601b15a8296bf99492b864d5cc946c50df30e6e;hb=91a224f190867869d2d0b14a5f96e44a0593e682;hp=ed75ce14ea1055ecbdf866fd11d3b3e5b0d8b402;hpb=02cf8dfcafb7380cda35beaa2aad783ffea87fa3;p=ric-plt%2Fsdl.git diff --git a/docs/user-guide.rst b/docs/user-guide.rst index ed75ce1..a601b15 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -469,6 +469,14 @@ Building Clients Using SDL * Use *pkg-config* tool to acquire needed compilation and linking flags, instead of hardcoding them. This ensures that flags are always up-to-date. See more information from `here <#building-clients-using-sdl>`_. +* If you want to mock SDL APIs in unit testing, SDL provides helper classes + for that. By using these helper classes you need to implement mock + implementation only for those SDL API functions which you use in the unit + tests. See more information from `doxygen documentation <#doxygen-generated-sdl-api-documentation>`_ + of the helper classes: + + * *include/sdl/tst/mockableasyncstorage.hpp: MockableAsyncStorage* + * *include/sdl/tst/mockablesyncstorage.hpp: MockableSyncStorage* Using SDL APIs ==============