Remove WrongMessageTest
Merge from Widevine repo of http://go/wvgerrit/48841 This test is not providing value to the CDM, as it seems to exist primarily to validate server behavior. However, it is not doing what it says it is (the request is rejected because it is using unparseable garbage data, not because its key ID is unknown) and according to tinskip@, the behavior it claims to be testing is not valid. (The licensing service will not fail just because the key ID is unknown. Indeed, if the test data is fixed to use a valid payload with an unknown key ID, the test fails because the server does not.) Bug: 78640287 Test: CE CDM Unit Tests Test: Android Unit Tests Test: tested as part of http://go/ag/4674759 Change-Id: Idfcff15ab3d15fdfb6eb111b5dff68aa5a23fb37
This commit is contained in:
@@ -63,7 +63,6 @@ wvcdm::ConfigTestEnv* g_config = NULL;
|
||||
wvcdm::KeyId g_key_id;
|
||||
wvcdm::CdmKeySystem g_key_system;
|
||||
std::string g_license_server;
|
||||
wvcdm::KeyId g_wrong_key_id;
|
||||
wvcdm::ServerConfigurationId g_license_server_id =
|
||||
wvcdm::kContentProtectionUatServer;
|
||||
std::string g_service_certificate;
|
||||
@@ -702,7 +701,6 @@ int main(int argc, char** argv) {
|
||||
g_config = new wvcdm::ConfigTestEnv(g_license_server_id);
|
||||
g_client_auth.assign(g_config->client_auth());
|
||||
g_key_system.assign(g_config->key_system());
|
||||
g_wrong_key_id.assign(g_config->wrong_key_id());
|
||||
|
||||
// The following variables are configurable through command line
|
||||
// options. If the command line arguments are absent, use the settings
|
||||
|
||||
Reference in New Issue
Block a user