Source release 19.1.0

This commit is contained in:
Matt Feddersen
2024-03-28 19:21:54 -07:00
parent 28ec8548c6
commit b8bdfccebe
182 changed files with 10645 additions and 2040 deletions

View File

@@ -305,9 +305,9 @@ class CdmTest : public WvCdmTestBase, public Cdm::IEventListener {
std::string reply_body;
LicenseRequest lic_request;
lic_request.GetDrmMessage(http_response, reply_body);
*response = reply_body;
*response = std::move(reply_body);
} else {
*response = http_response;
*response = std::move(http_response);
}
LOGV("Reply body(hex): \n%s\n", b2a_hex(*response).c_str());
LOGV("Reply body(b64): \n%s\n", Base64SafeEncode(*response).c_str());
@@ -350,7 +350,7 @@ class CdmTest : public WvCdmTestBase, public Cdm::IEventListener {
std::map<std::string, std::string> fields;
if (UrlRequest::GetDebugHeaderFields(*response, &fields)) {
LOGD("Unexpected status code: code = %d", status_code);
for (auto field : fields) {
for (const auto& field : fields) {
LOGD("- %s: %s", field.first.c_str(), field.second.c_str());
}
}
@@ -1195,7 +1195,7 @@ TEST_F(CdmTest, Update_RevokedDrmCertError) {
signed_message.set_msg(error_msg);
signed_message.SerializeToString(&error_response);
Cdm::Status status = updateWithRetry(session_id, error_response);
EXPECT_EQ(Cdm::kUnexpectedError, status);
EXPECT_EQ(Cdm::kDeviceRevoked, status);
}
TEST_F(CdmTest, Update_UnexpectedUpdate) {