Merge "Update PerOriginProvisioningSupportsOldPaths" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4a4f9ff815
@@ -1376,8 +1376,12 @@ TEST_F(WvCdmRequestLicenseTest, PerOriginProvisioningSupportsOldPaths) {
|
|||||||
// Make sure that the cert exists.
|
// Make sure that the cert exists.
|
||||||
std::vector<std::string> files;
|
std::vector<std::string> files;
|
||||||
ASSERT_TRUE(FileUtils::List(base_path, &files));
|
ASSERT_TRUE(FileUtils::List(base_path, &files));
|
||||||
ASSERT_EQ(1u, files.size());
|
ASSERT_LE(1u, files.size());
|
||||||
EXPECT_EQ(kOldFileName, files[0]);
|
bool found_it = false;
|
||||||
|
for(std::string file: files) {
|
||||||
|
if (file == std::string(kOldFileName)) found_it = true;
|
||||||
|
}
|
||||||
|
EXPECT_TRUE(found_it);
|
||||||
|
|
||||||
// Reprovision the default identifier.
|
// Reprovision the default identifier.
|
||||||
Provision(kDefaultCdmIdentifier, kLevel3);
|
Provision(kDefaultCdmIdentifier, kLevel3);
|
||||||
|
|||||||
Reference in New Issue
Block a user