Add CDM integration test for MoveUsageEntry bug

Test: GTEST_FILTER="*PIG*Defrag*" ./jenkins/opk_ta
Bug: 307750348

Change-Id: I5cc1ffb32311d6e46a956e11fc400b6f9510e6d6
This commit is contained in:
Matt Feddersen
2023-10-31 18:19:19 -07:00
committed by Robert Shih
parent c8ac9c5cd7
commit c36826607e
3 changed files with 64 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ class LicenseHolder {
// ReloadLicense(). Also, the key_set_id must have been set previously. The
// key_set_id is set by calling LoadLicense(), or by calling set_key_set_id().
void ReloadLicense();
// Attempt to reload a license, but expect a failure.
void FailReloadLicense();
// Generate the renewal request, and send it to the server.
void GenerateAndPostRenewalRequest(const std::string& policy_id);
// Fetch the renewal response. This can add a few seconds of latency.