Add certificate_provisioning_unittest

[ Merge of http://go/wvgerrit/87964 ]

A preliminary test has been added, more to follow.

Bug: 142747616
Test: android unit tests
Change-Id: Ida8eb853c14f73f60f7bc354f14a02224c2ce66c
This commit is contained in:
Rahul Frias
2019-10-16 16:44:29 -07:00
parent 8769e12b01
commit 0acde10d1a
5 changed files with 135 additions and 0 deletions

View File

@@ -249,7 +249,10 @@ class CryptoSession {
private:
friend class CryptoSessionForTest;
friend class CryptoSessionFactory;
#if defined(UNIT_TEST)
friend class CertificateProvisioningTest;
friend class WvCdmTestBase;
#endif
// The global factory method can be set to generate special crypto sessions
// just for testing. These sessions will avoid nonce floods and will ask