Files
android/libclearkeydrmengine/test/WVCreateDrmPluginFactory_test.cpp
Fred Gylys-Colwell 8ab3b10971 Fix UniquePtr Calls
This change corrects some problems with the unit tests and make files
for the libcleardrmengine.

Change-Id: Iafd8aae2ecae3885ad4bbfdf9257bce6f62f98dc
2012-12-21 12:42:39 -08:00

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";
}