Specify DRM certificate duration in tests.
[ Merge of http://go/wvgerrit/150350 ] Certain integration tests were depending on the provisioning server only sending short duration (~2 minute) certificates when testing the CDM's ability to enforce expiration periods. This behavior of the server was not reliable, resulting in device test failures from server behavior changes. The DRM certificate provisioning server allows the requester to optionally provide a desired certificate duration in the request URL. The tests which test the CDM's ability to enforce certificate durations will now explicitly specify the certificate duration required by the test. Bug: 228547158 Test: request_license_test Change-Id: Ib9ebfdba1451104be0e59baca0b2f23a94cd51e6
This commit is contained in:
@@ -194,7 +194,7 @@ class MockCDM : public WvContentDecryptionModule {
|
||||
std::string*), (override));
|
||||
|
||||
MOCK_METHOD(CdmResponseType, HandleProvisioningResponse,
|
||||
(const CdmIdentifier&, CdmProvisioningResponse&,
|
||||
(const CdmIdentifier&, const CdmProvisioningResponse&,
|
||||
wvcdm::RequestedSecurityLevel, std::string*, std::string*), (override));
|
||||
|
||||
MOCK_METHOD(CdmResponseType, Unprovision, (CdmSecurityLevel,
|
||||
|
||||
Reference in New Issue
Block a user