readium / readium-lcp-client

This repository is for the Readium Licenced Content Protection (LCP) client side implementation work.
BSD 3-Clause "New" or "Revised" License
17 stars 12 forks source link

Unit tests are out of date #28

Open danielweck opened 7 years ago

danielweck commented 7 years ago

https://github.com/readium/readium-lcp-client/tree/develop/test/lcp-client-lib

For example: lcp::Status res = m_lcpService->OpenLicense(mobyDickLicenseStr, &license); function signature changed to:

    Status LcpService::OpenLicense(
            const std::string & publicationPath,
            const std::string & licenseJson,
            ILicense** licensePTR)

https://github.com/readium/readium-lcp-client/blob/develop/test/lcp-client-lib/tests/LcpServiceTest.cpp#L72

vs.

https://github.com/readium/readium-lcp-client/blob/develop/src/lcp-client-lib/LcpService.cpp#L136