Home
last modified time | relevance | path

Searched refs:sessionBuilder (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigAndOtherStaticMocksTest.java103 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
104 sessionBuilder.spyStatic(A.class); in setUpMockedClasses()
105 sessionBuilder.spyStatic(B.class); in setUpMockedClasses()
106 return sessionBuilder; in setUpMockedClasses()
141 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
142 sessionBuilder.spyStatic(C.class); in setUpMockedClasses()
143 sessionBuilder.spyStatic(D.class); in setUpMockedClasses()
144 return sessionBuilder; in setUpMockedClasses()
DMultipleStaticMocksTest.java94 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
95 sessionBuilder.spyStatic(A.class); in setUpMockedClasses()
96 sessionBuilder.spyStatic(B.class); in setUpMockedClasses()
97 return sessionBuilder; in setUpMockedClasses()
132 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
133 sessionBuilder.spyStatic(C.class); in setUpMockedClasses()
134 sessionBuilder.spyStatic(D.class); in setUpMockedClasses()
135 return sessionBuilder; in setUpMockedClasses()
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DStaticMockFixture.java41 StaticMockitoSessionBuilder setUpMockedClasses(StaticMockitoSessionBuilder sessionBuilder); in setUpMockedClasses() argument
DAbstractExtendedMockitoRule.java204 StaticMockitoSessionBuilder sessionBuilder) {
207 Log.v(TAG, "Calling setUpMockedClasses(" + sessionBuilder + ") on " + fixture);
208 fixture.setUpMockedClasses(sessionBuilder);
213 sessionBuilder.mockStatic(clazz);
217 sessionBuilder.spyStatic(clazz);
DTestableDeviceConfig.java75 StaticMockitoSessionBuilder sessionBuilder) { in setUpMockedClasses() argument
76 sessionBuilder.spyStatic(DeviceConfig.class); in setUpMockedClasses()
77 return sessionBuilder; in setUpMockedClasses()