Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/matchers/
DInstanceOfTest.java18 assertThat(new InstanceOf(Object.class).toString()).contains("isA") in should_describe_the_matcher()
20 assertThat(new InstanceOf(Object[].class).toString()).contains("isA") in should_describe_the_matcher()
22 …assertThat(new InstanceOf(Object.class, "matches something").toString()).isEqualTo("matches someth… in should_describe_the_matcher()
27 assertThat(new InstanceOf(Object.class).matches(new Object())).isTrue(); in should_check_instance_type()
28 assertThat(new InstanceOf(Object.class).matches(new ArrayList())).isTrue(); in should_check_instance_type()
29 assertThat(new InstanceOf(List.class).matches(new ArrayList())).isTrue(); in should_check_instance_type()
30 assertThat(new InstanceOf(List.class).matches(new Object())).isFalse(); in should_check_instance_type()
35 assertThat(new InstanceOf(int.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types()
36 assertThat(new InstanceOf(Integer.class).matches(1000)).isTrue(); in should_check_for_primitive_wrapper_types()
37 assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue(); in should_check_for_primitive_wrapper_types()
[all …]
/external/mockito/src/main/java/org/mockito/
DArgumentMatchers.java19 import org.mockito.internal.matchers.InstanceOf;
207 reportMatcher(new InstanceOf.VarArgAware(type, "<any " + type.getCanonicalName() + ">")); in any()
222 reportMatcher(new InstanceOf(type)); in isA()
282 reportMatcher(new InstanceOf(Boolean.class, "<any boolean>")); in anyBoolean()
305 reportMatcher(new InstanceOf(Byte.class, "<any byte>")); in anyByte()
328 reportMatcher(new InstanceOf(Character.class, "<any char>")); in anyChar()
351 reportMatcher(new InstanceOf(Integer.class, "<any integer>")); in anyInt()
374 reportMatcher(new InstanceOf(Long.class, "<any long>")); in anyLong()
397 reportMatcher(new InstanceOf(Float.class, "<any float>")); in anyFloat()
420 reportMatcher(new InstanceOf(Double.class, "<any double>")); in anyDouble()
[all …]
/external/mockito/src/main/java/org/mockito/internal/matchers/
DInstanceOf.java14 public class InstanceOf implements ArgumentMatcher<Object>, Serializable { class
19 public InstanceOf(Class<?> clazz) { in InstanceOf() method in InstanceOf
23 public InstanceOf(Class<?> clazz, String describedAs) { in InstanceOf() method in InstanceOf
38 public static class VarArgAware extends InstanceOf implements VarargMatcher {
/external/easymock/src/org/easymock/internal/matchers/
DInstanceOf.java22 public class InstanceOf implements IArgumentMatcher, Serializable { class
28 public InstanceOf(Class<?> clazz) { in InstanceOf() method in InstanceOf
/external/mockito/src/test/java/org/mockito/internal/invocation/
DMatcherApplicationStrategyTest.java26 import org.mockito.internal.matchers.InstanceOf;
103 matchers = asList(new Equals("1"), Any.ANY, new InstanceOf(String.class)); in shouldKnowWhenVarargsMatch()
/external/guice/lib/build/
Deasymock.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/ ...
/external/easymock/src/org/easymock/
DEasyMock.java678 reportMatcher(new InstanceOf(clazz)); in isA()
/external/guice/extensions/persist/lib/
Deasymock.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/ ...
/external/v8/src/compiler/
Djs-operator.h807 const Operator* InstanceOf(const VectorSlotPair& feedback); in NON_EXPORTED_BASE()
Djs-operator.cc946 const Operator* JSOperatorBuilder::InstanceOf(VectorSlotPair const& feedback) { in InstanceOf() function in v8::internal::compiler::JSOperatorBuilder
Djs-native-context-specialization.cc403 NodeProperties::ChangeOp(node, javascript()->InstanceOf(VectorSlotPair())); in ReduceJSOrdinaryHasInstance()
Dbytecode-graph-builder.cc2467 BuildCompareOp(javascript()->InstanceOf(CreateVectorSlotPair(slot_index))); in VisitTestInstanceOf()
/external/v8/src/builtins/
Dbuiltins-object-gen.cc1429 TF_BUILTIN(InstanceOf, ObjectBuiltinsAssembler) { in TF_BUILTIN() argument
1434 Return(InstanceOf(object, callable, context)); in TF_BUILTIN()
Dbuiltins-definitions.h835 TFC(InstanceOf, Compare, 1) \
/external/v8/src/objects/
Dintl-objects.cc1219 Object::InstanceOf(isolate, receiver, constructor), in LegacyUnwrapReceiver()
/external/v8/src/interpreter/
Dinterpreter-generator.cc1837 SetAccumulator(InstanceOf(object, callable, context)); in IGNITION_HANDLER()
/external/v8/src/
Dobjects.h1320 V8_WARN_UNUSED_RESULT static MaybeHandle<Object> InstanceOf(
Dcode-stub-assembler.h2710 Node* InstanceOf(Node* object, Node* callable, Node* context);
Dapi.cc4082 Maybe<bool> Value::InstanceOf(v8::Local<v8::Context> context, in InstanceOf() function in v8::Value
4085 ENTER_V8(isolate, context, Value, InstanceOf, Nothing<bool>(), in InstanceOf()
4091 !i::Object::InstanceOf(isolate, left, right).ToHandle(&result); in InstanceOf()
Dobjects.cc772 return Object::InstanceOf(isolate, object, bound_callable); in OrdinaryHasInstance()
800 MaybeHandle<Object> Object::InstanceOf(Isolate* isolate, Handle<Object> object, in InstanceOf() function in v8::internal::Object
Dcode-stub-assembler.cc11682 Node* CodeStubAssembler::InstanceOf(Node* object, Node* callable, in InstanceOf() function in v8::internal::CodeStubAssembler
/external/v8/include/
Dv8.h2583 Maybe<bool> InstanceOf(Local<Context> context, Local<Object> object);
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...