Merge "Update PerOriginProvisioningSupportsOldPaths" into oc-mr1-dev am: 4a4f9ff815
am: 6594e35bad
Change-Id: Ib1617a90473d150b3606f4fc1ec61b94b1197043
This commit is contained in:
@@ -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