microsoft / sfs-client

Simple File Solution (SFS) Client
MIT License
15 stars 13 forks source link

Adding MockWebServer::RegisterAppProduct() #154

Closed arthuraraujo-msft closed 8 months ago

arthuraraujo-msft commented 8 months ago

Helps #50

Allows one to add a mock app to the mock web server. It adds a new list of apps Server first searches on the generic product list, and then in the app product list if it does not find a product. No guardrails for duplicate names yet, that is not the purpose for which this will be used. Prerequisites get registered as well, since the SFS flow is to get content for main app and all prerequisites. Most comment is filled with gibberish just to simulate a server response.