[ Merge of http://go/wvgerrit/108084 ] The Widevine License Agreement has been renamed to use inclusive language. This covers files in the android directory. Bug: 168562298 Test: verified compilation (comment only change) Change-Id: I0f9e6445e0168ebe85425baeb81371e182e5a39c
27 lines
709 B
C++
27 lines
709 B
C++
//
|
|
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
//
|
|
|
|
#include "gtest/gtest.h"
|
|
#include "WVCreatePluginFactories.h"
|
|
|
|
#include <memory>
|
|
|
|
using namespace android;
|
|
|
|
TEST(CreatePluginFactoriesTest, CreatesDrmFactory) {
|
|
std::unique_ptr<DrmFactory> factory(createDrmFactory());
|
|
|
|
EXPECT_NE((DrmFactory*)NULL, factory.get()) <<
|
|
"createDrmFactory() returned null";
|
|
}
|
|
|
|
TEST(CreatePluginFactoriesTest, CreatesCryptoFactory) {
|
|
std::unique_ptr<CryptoFactory> factory(createCryptoFactory());
|
|
|
|
EXPECT_NE((CryptoFactory*)NULL, factory.get()) <<
|
|
"createCryptoFactory() returned null";
|
|
}
|