// // Copyright 2022 Google LLC. All Rights Reserved. This file and proprietary // source code may only be used and distributed under the Widevine License // Agreement. // #include "WVCreatePluginFactories.h" #include "gtest/gtest.h" namespace wvdrm { namespace hardware { namespace drm { namespace widevine { using ::wvdrm::hardware::drm::widevine::WVDrmFactory; TEST(CreatePluginFactoriesTest, CreatesDrmFactory) { std::shared_ptr drmFactory = ::ndk::SharedRefBase::make(); EXPECT_NE((WVDrmFactory *)NULL, drmFactory.get()) << "createDrmFactory() returned null"; } } // namespace widevine } // namespace drm } // namespace hardware } // namespace wvdrm