Home
last modified time | relevance | path

Searched refs:staticMethod (Results 1 – 25 of 26) sorted by relevance

12

/external/mockito/src/test/java/org/mockito/
DStaticMockingExperimentTest.java45 Method staticMethod; field in StaticMockingExperimentTest
54 staticMethod = Foo.class.getDeclaredMethod("staticMethod", String.class); in before()
61 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
72 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
80 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verify_static_method()
89 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verification_failure_static_method()
95 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in verification_failure_static_method()
107 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in stubbing_static_method()
119 …vocationFactory().createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, in stubbing_static_method()
131 … .createInvocation(mock, withSettings().build(Foo.class), staticMethod, realMethod, "foo"); in do_answer_stubbing_static_method()
[all …]
/external/guice/core/test/com/google/inject/
DRequestInjectionTest.java44 HasInjections.staticMethod = null; in setUp()
62 assertNull(HasInjections.staticMethod); in testInjectMembers()
77 assertEquals("test", HasInjections.staticMethod); in testInjectStatics()
97 assertEquals("test", HasInjections.staticMethod); in testInjectMembersAndStatics()
192 static String staticMethod; field in RequestInjectionTest.HasInjections
196 static void setStaticMethod(@ForMethod String staticMethod) { in setStaticMethod() argument
197 HasInjections.staticMethod = staticMethod; in setStaticMethod()
/external/robolectric/integration_tests/powermock/src/test/java/org/robolectric/integrationtests/mockito/
DPowerMockStaticTest.java25 Mockito.when(Static.staticMethod()).thenReturn("hello mock"); in testStaticMocking()
27 assertThat(Static.staticMethod()).isEqualTo("hello mock"); in testStaticMocking()
31 public static String staticMethod() { in staticMethod() method in PowerMockStaticTest.Static
/external/dagger2/java/dagger/internal/codegen/writing/
DProductionBindingRepresentation.java60 Optional<MemberSelect> staticMethod = staticFactoryCreation(); in ProductionBindingRepresentation() local
62 staticMethod.isPresent() in ProductionBindingRepresentation()
63 ? staticMethod::get in ProductionBindingRepresentation()
/external/guice/core/test/com/google/inject/spi/
DToolStageInjectorTest.java149 static void staticMethod(Map map) {} in staticMethod() method in ToolStageInjectorTest.Bar
167 static void staticMethod(SM sm) { in staticMethod() method in ToolStageInjectorTest.Foo
194 static void staticMethod(SM sm) { in staticMethod() method in ToolStageInjectorTest.Tooled
DInjectionPointTest.java216 Method staticMethod = HasInjections.class.getMethod("staticMethod", String.class); in testAddForStaticMethodsAndFields() local
227 new InjectionPoint(type, staticMethod, false)) in testAddForStaticMethodsAndFields()
233 public static void staticMethod(@Named("a") String a) {} in staticMethod() method in InjectionPointTest.HasInjections
/external/truth/refactorings/src/main/java/com/google/common/truth/refactorings/
DNamedToWithMessage.java25 import static com.google.errorprone.matchers.Matchers.staticMethod;
249 staticMethod().onClass(TRUTH_CLASS).named("assertThat");
251 staticMethod().anyClass().named("assertThat");
253 staticMethod().onClass(TRUTH_CLASS).named("assertAbout");
DStoreActualValueInField.java27 import static com.google.errorprone.matchers.Matchers.staticMethod;
280 staticMethod().onClass("com.google.common.base.Preconditions").named("checkNotNull");
/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryTest.java129 static void staticMethod() { in staticMethod() method
146 static void staticMethod() { in staticMethod() method
214 static void staticMethod() { in staticMethod() method in AssistedFactoryTest.AbstractFooFactory
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/com/packageName/
DClassInPackage.java4 public static String staticMethod() { in staticMethod() method in ClassInPackage
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/testing/
DAClassWithStaticMethod.java8 public static String staticMethod(String stringArg) { in staticMethod() method in AClassWithStaticMethod
/external/robolectric/sandbox/src/test/java/org/robolectric/testing/
DAClassWithStaticMethod.java8 public static String staticMethod(String stringArg) { in staticMethod() method in AClassWithStaticMethod
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/
DPackageDotExpressions.java4 com.packageName.ClassInPackage.staticMethod(); in main()
/external/auto/value/src/test/java/com/google/auto/value/extension/memoized/
DMemoizedValidationTest.java40 public void staticMethod() { in staticMethod() method in MemoizedValidationTest
/external/robolectric/errorprone/src/main/java/org/robolectric/errorprone/bugpatterns/
DDeprecatedMethodsCheck.java6 import static com.google.errorprone.matchers.Matchers.staticMethod;
58 return staticMethod()
/external/auto/common/src/test/java/com/google/auto/common/
DMoreElementsTest.java286 static void staticMethod() {} in staticMethod() method in MoreElementsTest.ParentClass
295 static void staticMethod() {} in staticMethod() method
303 static void staticMethod() {} in staticMethod() method in MoreElementsTest.Child
/external/dokka/core/src/test/kotlin/model/
DJavaTest.kt143 @Test fun staticMethod() { in <lambda>() method in org.jetbrains.dokka.tests.JavaTest
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DClassUtilTest.java59 public static void staticMethod() { } in staticMethod() method in ClassUtilTest.MaybeGetters
/external/clang/test/SemaTemplate/
Dms-lookup-template-base-classes.cpp526 Undef::staticMethod(); // expected-error {{use of undeclared identifier 'Undef'}} in f()
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java144 static void staticMethod() { in staticMethod() method in MethodSpecTest.InvalidOverrideMethods
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoBuilderTest.java306 public void staticMethod() { in staticMethod() method in AutoBuilderTest
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DFunSpecTest.kt87 @JvmStatic open fun staticMethod() { in staticMethod() method
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java780 static void staticMethod() {} in staticMethod() method in InvokableTest.Prepender
/external/guava/android/guava-tests/test/com/google/common/reflect/
DInvokableTest.java780 static void staticMethod() {} in staticMethod() method in InvokableTest.Prepender
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java166 MethodId<?, Integer> staticMethod in testInvokeStatic() local
168 code.invokeStatic(staticMethod, localResult, localA); in testInvokeStatic()
217 public static int staticMethod(int a) { in staticMethod() method in DexMakerTest

12