Home
last modified time | relevance | path

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

123456

/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DTemporaryBindingsTest.java18 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTests()
22 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTests()
23 equalTo(TemporaryShadowView.class.getSimpleName())); in overridingShadowBindingsShouldNotAffectBindingsInLaterTests()
28 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
32 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
33 equalTo(TemporaryShadowView.class.getSimpleName())); in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain()
/external/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializer.java87 …nitializing field '" + field.getName() + "' of type '" + field.getType().getSimpleName() + "'", e); in initialize()
95 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is a local class."); in checkNotLocal()
101 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is an inner class."… in checkNotInner()
107 … throw new MockitoException("the type '" + field.getType().getSimpleName() + "' is an interface."); in checkNotInterface()
113 …throw new MockitoException("the type '" + field.getType().getSimpleName() + " is an abstract class… in checkNotAbstract()
186 …throw new MockitoException("the type '" + field.getType().getSimpleName() + "' has no default cons… in instantiate()
188 …ockitoException("the default constructor of type '" + field.getType().getSimpleName() + "' has rai… in instantiate()
244 …ncorrect types for constructor " + constructor + " of type " + field.getType().getSimpleName(), e); in instantiate()
246 …ow new MockitoException("the constructor of type '" + field.getType().getSimpleName() + "' has rai… in instantiate()
/external/mockito/src/org/mockito/exceptions/
DReporter.java124 … "Argument passed to verify() is of type " + type.getSimpleName() + " and is not a mock!", in notAMockPassedToVerify()
547 … "You passed following type: " + wrongType.getSimpleName() + " which is not an interface." in extraInterfacesAcceptsOnlyInterfaces()
554 "You mocked following type: " + wrongType.getSimpleName(), in extraInterfacesCannotContainMockedType()
568 …cked type must be: " + spiedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSim… in mockedTypeIsInconsistentWithSpiedInstanceType()
676 … type must be: " + delegatedInstance.getClass().getSimpleName() + ", but is: " + mockedType.getSim… in mockedTypeIsInconsistentWithDelegatedInstanceType()
721 …ringBuilder.append("+] ").append(parameterTypes[i].getComponentType().getSimpleName()).append(" <… in possibleArgumentTypesOf()
723 stringBuilder.append("] ").append(parameterTypes[i].getSimpleName()).append("\n"); in possibleArgumentTypesOf()
731 …"The argument of type '" + actualType.getSimpleName() + "' cannot be returned because the followin… in wrongTypeOfArgumentToReturn()
757 …s().serializable()' however the type you are trying to mock '" + classToMock.getSimpleName() + "'", in serializableWontWorkForObjectsThatDontImplementSerializable()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSyntaxTreeDumper.java73 return node.getClass().getSimpleName(); in nodeName()
76 String tokenType = token.getClass().getSimpleName().substring(1); in nodeName()
82 String p = node.getClass().getSuperclass().getSimpleName().substring(1); in nodeName()
83 String a = node.getClass().getSimpleName().substring(1); in nodeName()
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerFactory.java100 return getSimpleName(loggerName); in loggerNameToTag()
108 return getSimpleName(loggerName); in loggerNameToTag()
116 private static String getSimpleName(String loggerName) { in getSimpleName() method in AndroidLoggerFactory
/external/mockito/src/org/mockito/internal/util/
DMockNameImpl.java32 String className = clazz.getSimpleName(); in toInstanceName()
35 className = clazz.getSuperclass().getSimpleName(); in toInstanceName()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java100 simpleNames.add(classInfo.getSimpleName()); in testGetAllClasses()
127 simpleNames.add(classInfo.getSimpleName()); in testGetTopLevelClasses()
373 new ClassInfo("Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
375 new ClassInfo("a/b/Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
377 new ClassInfo("a/b/Bar$Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
379 new ClassInfo("a/b/Bar$1.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
381 new ClassInfo("a/b/Bar$Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
383 new ClassInfo("a/b/Bar$1.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
385 new ClassInfo("a/b/Bar$1Local.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName()
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
DInjectMocksScanner.java64 …er().unsupportedCombinationOfAnnotations(annotation.getSimpleName(), InjectMocks.class.getSimpleNa… in assertNoAnnotations()
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DDesktopAssetManager.java128 new Object[]{loader.getSimpleName(), Arrays.toString(extensions)}); in registerLoader()
150 locatorClass.getSimpleName()); in registerLocator()
172 clazz.getSimpleName()); in unregisterLocator()
280 …ion("Error occured while loading asset \"" + key + "\" using" + loader.getClass().getSimpleName()); in loadAsset()
284 new Object[]{key, loader.getClass().getSimpleName()}); in loadAsset()
/external/mockito/src/org/mockito/internal/configuration/
DSpyAnnotationEngine.java81 …().unsupportedCombinationOfAnnotations(annotation.getSimpleName(), annotation.getClass().getSimple… in assertNoIncompatibleAnnotations()
/external/jetty/src/java/org/eclipse/jetty/util/
DMultiException.java146 return MultiException.class.getSimpleName()+ in toString()
148 return MultiException.class.getSimpleName()+"[]"; in toString()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DJavaSourceWriter.java163 out.append(method.getReturnType().getSimpleName()).append(' ').append(method.getName()).append( in startMethod()
172 writeJavaSymbol(out, paramType.getSimpleName()); in startMethod()
191 writeJavaSymbol(out, exception.getSimpleName()); in startMethod()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyAgreementSpi.java161 + getSimpleName(ECPublicKey.class) + " for doPhase"); in engineDoPhase()
318 + getSimpleName(ECPrivateKey.class) + " for initialisation"); in initFromKey()
328 private static String getSimpleName(Class clazz) in getSimpleName() method in KeyAgreementSpi
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DChunkOffsetBox.java18 return this.getClass().getSimpleName() + "[entryCount=" + getChunkOffsets().length + "]"; in toString()
/external/mockito/src/org/mockito/
DArgumentMatcher.java89 String className = getClass().getSimpleName(); in describeTo()
/external/okhttp/okio/okio/src/main/java/okio/
DForwardingSource.java47 return getClass().getSimpleName() + "(" + delegate.toString() + ")"; in toString()
DForwardingSink.java51 return getClass().getSimpleName() + "(" + delegate.toString() + ")"; in toString()
/external/mockito/src/org/mockito/internal/stubbing/answers/
DReturns.java26 return value.getClass().getSimpleName(); in printReturnType()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DPlatform.java55 return clazz.getSimpleName(); in classGetSimpleName()
/external/replicaisland/src/com/replica/replicaisland/
DObjectPool.java48 assert result != null : "Object pool of type " + this.getClass().getSimpleName() in allocate()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DAutoFocusCallback.java26 private static final String TAG = AutoFocusCallback.class.getSimpleName();
/external/mockito/src/org/mockito/internal/runners/
DRunnerFactory.java37 "No tests found in " + klass.getSimpleName() + "\n" + in create()
/external/droiddriver/src/io/appium/droiddriver/util/
DStrings.java28 return new ToStringHelper(self.getClass().getSimpleName()); in toStringHelper()
/external/mockito/src/org/mockito/internal/util/collections/
DHashCodeAndEqualsMockWrapper.java66 …return mockInstance.getClass().getSimpleName() + "(" + System.identityHashCode(mockInstance) + ")"; in typeInstanceString()
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
DRandomKeyMutation.java44 original.getClass().getSimpleName()); in mutate()

123456