Fix UniquePtr Calls
This change corrects some problems with the unit tests and make files for the libcleardrmengine. Change-Id: Iafd8aae2ecae3885ad4bbfdf9257bce6f62f98dc
This commit is contained in:
committed by
Jeff Tinker
parent
fede3bffdd
commit
8ab3b10971
@@ -7,8 +7,8 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(CreateDrmPluginFactoryTest, CreatesObject) {
|
||||
UniquePtr<android::DrmPluginFactory> factory = createDrmPluginFactory();
|
||||
UniquePtr<android::DrmPluginFactory> factory(createDrmPluginFactory());
|
||||
|
||||
EXPECT_NE((android::DrmPluginFactory*)NULL, factory) <<
|
||||
EXPECT_NE((android::DrmPluginFactory*)NULL, factory.get() ) <<
|
||||
"createDrmPluginFactory() returned null";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user