summaryrefslogtreecommitdiffstats
path: root/media/psshparser
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-11-09 22:27:08 +0530
committeradeshkp <adeshkp@users.noreply.github.com>2019-11-10 06:04:09 -0500
commitc43b770a0399b5e03a6f6e4d2292e0408b186433 (patch)
tree292d5e9683bc962da75570639702e8d32c1f96ef /media/psshparser
parent400f0e2df8dd8ac09c5d97205aecdc3310a5c893 (diff)
downloadUXP-c43b770a0399b5e03a6f6e4d2292e0408b186433.tar
UXP-c43b770a0399b5e03a6f6e4d2292e0408b186433.tar.gz
UXP-c43b770a0399b5e03a6f6e4d2292e0408b186433.tar.lz
UXP-c43b770a0399b5e03a6f6e4d2292e0408b186433.tar.xz
UXP-c43b770a0399b5e03a6f6e4d2292e0408b186433.zip
Issue #1259 - Part 7. Update tests for Adobe EME removal
Diffstat (limited to 'media/psshparser')
-rw-r--r--media/psshparser/gtest/TestPsshParser.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/media/psshparser/gtest/TestPsshParser.cpp b/media/psshparser/gtest/TestPsshParser.cpp
index 972cc3e7d..5372c7598 100644
--- a/media/psshparser/gtest/TestPsshParser.cpp
+++ b/media/psshparser/gtest/TestPsshParser.cpp
@@ -113,15 +113,6 @@ const uint8_t g2xGoogleWPTCencInitData[] = {
0x00, 0x00, 0x00, 0x00 // datasize
};
-const uint8_t gPrimetimePSSH[] = {
- 0x00, 0x00, 0x00, 0x00, // size = 0
- 0x70, 0x73, 0x73, 0x68, // 'pssh'
- 0x01, // version = 1
- 0x00, 0x00, 0x00, // flags
- 0xf2, 0x39, 0xe7, 0x69, 0xef, 0xa3, 0x48, 0x50, // Primetime system Id
- 0x9c, 0x16, 0xa9, 0x03, 0xc6, 0x93, 0x2e, 0xfb
-};
-
TEST(PsshParser, ParseCencInitData) {
std::vector<std::vector<uint8_t>> keyIds;
bool rv;
@@ -162,8 +153,4 @@ TEST(PsshParser, ParseCencInitData) {
EXPECT_EQ(16u, keyIds[1].size());
EXPECT_EQ(0, memcmp(&keyIds[0].front(), &g2xGoogleWPTCencInitData[32], 16));
EXPECT_EQ(0, memcmp(&keyIds[1].front(), &g2xGoogleWPTCencInitData[84], 16));
-
- rv = ParseCENCInitData(gPrimetimePSSH, MOZ_ARRAY_LENGTH(gPrimetimePSSH), keyIds);
- EXPECT_TRUE(rv);
- EXPECT_EQ(0u, keyIds.size());
}