This change corrects some problems with the unit tests and make files for the libcleardrmengine. Change-Id: Iafd8aae2ecae3885ad4bbfdf9257bce6f62f98dc
15 lines
398 B
C++
15 lines
398 B
C++
/*
|
|
* Copyright 2012 Google Inc. All Rights Reserved.
|
|
*/
|
|
|
|
#include "utils/UniquePtr.h"
|
|
#include "WVCreateDrmPluginFactory.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(CreateDrmPluginFactoryTest, CreatesObject) {
|
|
UniquePtr<android::DrmPluginFactory> factory(createDrmPluginFactory());
|
|
|
|
EXPECT_NE((android::DrmPluginFactory*)NULL, factory.get() ) <<
|
|
"createDrmPluginFactory() returned null";
|
|
}
|