Add Duration Use Case integration tests

Cherry pick from http://go/wvgerrit/102986, rvc-dev branch of
http://go/wvgerrit/105825, rvc-widevine-release of http://go/ag/12561661

This CL adds several integration tests that match the duration use
cases. The test classes are designed for the core cdm, but the test
cases match those found in oemcrypto/odk/test/odk_timer_test.cpp.

See this document for a list of use cases:
libwvdrmengine/docs/License_Duration_and_Renewal.pdf

Test: Ran the tests against v16 OEMCrypto. Some fail against v15.
Bug: 161463952
Change-Id: I7cd424ae241d3897fbd06956e87dd9da0752cb6d
This commit is contained in:
Rahul Frias
2020-11-01 12:28:45 -08:00
committed by Fred Gylys-Colwell
parent d1dff772d3
commit b1f54bbba8
4 changed files with 1642 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ WV_TEST_TARGETS="base64_test \
crypto_session_unittest \
device_files_unittest \
distribution_unittest \
duration_use_case_test \
event_metric_unittest \
file_store_unittest \
file_utils_unittest \