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.
|
||||
std::vector<std::string> files;
|
||||
ASSERT_TRUE(FileUtils::List(base_path, &files));
|
||||
ASSERT_EQ(1u, files.size());
|
||||
EXPECT_EQ(kOldFileName, files[0]);
|
||||
ASSERT_LE(1u, files.size());
|
||||
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.
|
||||
Provision(kDefaultCdmIdentifier, kLevel3);
|
||||
|
||||
Reference in New Issue
Block a user