Home
last modified time | relevance | path

Searched refs:jni_mock (Results 1 – 3 of 3) sorted by relevance

/art/libnativeloader/
Dnative_loader_api_test.cpp41 jni_mock = std::make_unique<testing::NiceMock<MockJni>>(); in SetUp()
51 jni_mock.reset(); in TearDown()
55 ON_CALL(*jni_mock, JniObject_getParent(StrEq(class_loader))).WillByDefault(Return(nullptr)); in CallCreateClassLoaderNamespace()
Dnative_loader_test.h36 static std::unique_ptr<MockJni> jni_mock; variable
64 const char* ret = jni_mock->JniObject_getParent(reinterpret_cast<const char*>(obj)); in CreateJNINativeInterface()
Dnative_loader_test.cpp278 jni_mock = std::make_unique<testing::NiceMock<MockJni>>(); in SetUp()
440 ON_CALL(*jni_mock, JniObject_getParent(StrEq(class_loader))).WillByDefault(Return(nullptr)); in SetExpectations()
648 ON_CALL(*jni_mock, JniObject_getParent(StrEq(second_app_class_loader))) in TEST_P()