Integration tests to verify clear lead content plays successfully
Also added a unit test to verify that decryption without a license fails with the correct error code. Also changed comment types for policy integration tests and core integration tests to be picked up by Doxygen. Bug: 320785945 Merged from https://widevine-internal-review.googlesource.com/194910 Change-Id: Ibdb70683003bb430dde9b4a1bd9fc9839bace342
This commit is contained in:
@@ -86,6 +86,9 @@ class LicenseHolder {
|
||||
// Try to decrypt some random data. This does not verify that the data is
|
||||
// decrypted correctly. Returns the result of the decrypt operation.
|
||||
CdmResponseType Decrypt(const std::string& key_id);
|
||||
// Try to copy the clear lead to a secure buffer. Returns the result of the
|
||||
// copy buffer operation.
|
||||
CdmResponseType DecryptClearLead(const std::string& key_id);
|
||||
// Try to decrypt some random data to a secure buffer. If the test harness
|
||||
// does not allow creating a secure buffer, then this function fails
|
||||
// immediately. Otherwise, a secure buffer is created and used for a
|
||||
|
||||
Reference in New Issue
Block a user