OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:expectedType
(Results
1 - 25
of
385
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
TypeSafeDiagnosingMatcher.java
19
private final Class<?>
expectedType
;
30
* @param
expectedType
The
expectedType
of the actual value.
32
protected TypeSafeDiagnosingMatcher(Class<?>
expectedType
) {
33
this.
expectedType
=
expectedType
;
42
this.
expectedType
= typeFinder.findExpectedType(getClass());
56
&&
expectedType
.isInstance(item)
63
if (item == null || !
expectedType
.isInstance(item)) {
TypeSafeMatcher.java
16
final private Class<?>
expectedType
;
28
* @param
expectedType
The
expectedType
of the actual value.
30
protected TypeSafeMatcher(Class<?>
expectedType
) {
31
this.
expectedType
=
expectedType
;
40
this.
expectedType
= typeFinder.findExpectedType(getClass());
66
&&
expectedType
.isInstance(item)
75
} else if (!
expectedType
.isInstance(item)) {
/external/junit/src/main/java/org/junit/internal/matchers/
TypeSafeMatcher.java
18
private Class<?>
expectedType
;
27
expectedType
= findExpectedType(getClass());
48
protected TypeSafeMatcher(Class<T>
expectedType
) {
49
this.
expectedType
=
expectedType
;
60
&&
expectedType
.isInstance(item)
/external/guice/core/src/com/google/inject/internal/
ProviderInternalFactory.java
49
Class<?>
expectedType
= dependency.getKey().getTypeLiteral().getRawType();
53
errors, context.getInjectorOptions(),
expectedType
);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
ParameterizedRobolectricTestRunnerConfigTest.java
23
private final int
expectedType
;
25
public ParameterizedRobolectricTestRunnerConfigTest(int
expectedType
) {
26
this.
expectedType
=
expectedType
;
32
assertThat(new CursorWrapper(null).getType(
expectedType
)).isEqualTo(1);
38
assertThat(new CursorWrapper(null).getType(
expectedType
)).isEqualTo(
expectedType
);
/cts/tests/signature/tests/src/android/signature/cts/tests/
AbstractApiCheckerTest.java
103
private FailureType
expectedType
;
107
ExpectFailure(FailureType
expectedType
) {
108
this.
expectedType
=
expectedType
;
113
if (type ==
expectedType
) {
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/analysis/
SimpleVerifier.java
144
Type
expectedType
= ((BasicValue) expected).getType();
146
if (
expectedType
== null) {
149
switch (
expectedType
.getSort()) {
154
return type ==
expectedType
;
157
if (
expectedType
.getDescriptor().equals("Lnull;")) {
166
return isAssignableFrom(
expectedType
, type);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
MethodCallExprContext.java
304
ResolvedType
expectedType
=
311
if (!
expectedType
.isAssignableBy(actualType)) {
313
expectedType
= MethodResolutionLogic.replaceTypeParam(
expectedType
, tp, typeSolver);
316
if (!
expectedType
.isAssignableBy(actualType)) {
320
expectedType
,
326
matchTypeParameters(
expectedType
, actualType, matchedTypeParameters);
337
ResolvedType
expectedType
= methodUsage.getParamType(i);
339
matchTypeParameters(
expectedType
, actualType, matchedTypeParameters);
347
private void matchTypeParameters(ResolvedType
expectedType
, ResolvedType actualType, Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameter (…)
[
all
...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
RegionTest.java
400
Region.RegionType
expectedType
= Region.RegionType.valueOf(data[2]);
405
if ( !
expectedType
.equals(r.getType())) {
406
errln("Unexpected region type for Region.getInstance(\"" + inputID + "\"); Expected: " +
expectedType
+ " Got: " + r.getType());
431
Region.RegionType
expectedType
= Region.RegionType.valueOf(data[2]);
436
if ( !
expectedType
.equals(r.getType())) {
437
errln("Unexpected region type for Region.getInstance(" + inputID + "); Expected: " +
expectedType
+ " Got: " + r.getType());
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
RegionTest.java
397
Region.RegionType
expectedType
= Region.RegionType.valueOf(data[2]);
402
if ( !
expectedType
.equals(r.getType())) {
403
errln("Unexpected region type for Region.getInstance(\"" + inputID + "\"); Expected: " +
expectedType
+ " Got: " + r.getType());
428
Region.RegionType
expectedType
= Region.RegionType.valueOf(data[2]);
433
if ( !
expectedType
.equals(r.getType())) {
434
errln("Unexpected region type for Region.getInstance(" + inputID + "); Expected: " +
expectedType
+ " Got: " + r.getType());
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
ConstructorResolutionLogic.java
69
ResolvedType
expectedType
= constructor.getLastParam().getType();
71
if (!
expectedType
.isAssignableBy(actualType)) {
73
expectedType
= MethodResolutionLogic.replaceTypeParam(
expectedType
, tp, typeSolver);
75
if (!
expectedType
.isAssignableBy(actualType)) {
77
&&
expectedType
.isAssignableBy(actualType.asArrayType().getComponentType())) {
100
ResolvedType
expectedType
= constructor.getParam(i).getType();
102
if ((
expectedType
.isTypeVariable() && !(
expectedType
.isWildcard()))
103
&&
expectedType
.asTypeParameter().declaredOnMethod())
[
all
...]
MethodResolutionLogic.java
80
ResolvedType
expectedType
= method.getLastParam().getType();
82
if (!
expectedType
.isAssignableBy(actualType)) {
84
expectedType
= replaceTypeParam(
expectedType
, tp, typeSolver);
86
if (!
expectedType
.isAssignableBy(actualType)) {
87
if (actualType.isArray() &&
expectedType
.isAssignableBy(actualType.asArrayType().getComponentType())) {
108
ResolvedType
expectedType
= method.getParam(i).getType();
110
if ((
expectedType
.isTypeVariable() && !(
expectedType
.isWildcard())) &&
expectedType
.asTypeParameter().declaredOnMethod())
[
all
...]
/frameworks/base/tests/net/java/android/net/
MacAddressTest.java
39
int
expectedType
;
41
static AddrTypeTestCase of(int
expectedType
, int... addr) {
43
t.
expectedType
=
expectedType
;
66
Arrays.toString(t.addr), t.
expectedType
, got);
67
assertEquals(msg, t.
expectedType
, got);
/external/icu/icu4c/source/test/intltest/
regiontst.cpp
399
URegionType
expectedType
;
444
if ( type != data.
expectedType
) {
445
dataerrln("Unexpected region type for Region::getInstance(\"%s\"); Expected: %d Got: %d",data.inputID,data.
expectedType
,type);
454
URegionType
expectedType
;
488
if ( data.
expectedType
!= type) {
489
dataerrln("Unexpected region type for Region.getInstance(%d)); Expected: %d Got: %d",data.inputID,data.
expectedType
,type);
[
all
...]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
RobolectricModel.java
150
TypeMirror
expectedType
= annotation.asType();
152
if (types.isSameType(
expectedType
, m.getAnnotationType())) {
/prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.3/
auto-common-0.3.jar
/external/deqp/framework/opengl/simplereference/
sglrReferenceContext.cpp
628
Texture::Type
expectedType
= Texture::TYPE_LAST;
631
case GL_TEXTURE_1D:
expectedType
= Texture::TYPE_1D; break;
632
case GL_TEXTURE_2D:
expectedType
= Texture::TYPE_2D; break;
633
case GL_TEXTURE_CUBE_MAP:
expectedType
= Texture::TYPE_CUBE_MAP; break;
634
case GL_TEXTURE_2D_ARRAY:
expectedType
= Texture::TYPE_2D_ARRAY; break;
635
case GL_TEXTURE_3D:
expectedType
= Texture::TYPE_3D; break;
636
case GL_TEXTURE_CUBE_MAP_ARRAY:
expectedType
= Texture::TYPE_CUBE_MAP_ARRAY; break;
640
RC_IF_ERROR(texObj->getType() !=
expectedType
, GL_INVALID_OPERATION, RC_RET_VOID);
[
all
...]
/libcore/dalvik/src/main/java/dalvik/system/
EmulatedStackFrame.java
354
final Class<?>
expectedType
= (argumentIdx == RETURN_VALUE_IDX) ?
357
if (
expectedType
!= type) {
359
", expected: " +
expectedType
);
458
public void putNextReference(Object value, Class<?>
expectedType
) {
459
checkType(
expectedType
);
518
public <T> T nextReference(Class<T>
expectedType
) {
519
checkType(
expectedType
);
/external/dagger2/lib/
auto-common-1.0-20151022.071545-39.jar
/prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.4/
auto-common-0.4.jar
/prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.6/
auto-common-0.6.jar
/prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.7/
auto-common-0.7.jar
/prebuilts/tools/common/m2/repository/com/google/auto/auto-common/0.9/
auto-common-0.9.jar
/prebuilts/tools/common/fest/
fest-reflect-1.2.jar
/prebuilts/tools/common/intellij-core/171.2455.10/
picocontainer.jar
Completed in 854 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>