Home
last modified time | relevance | path

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

12

/external/testng/src/test/java/test/asserttests/
DAssertTest.java94 NullPointerException npe = new NullPointerException(); in expectThrowsReturnsTheSameObjectThrown() local
96 Throwable throwable = expectThrows(Throwable.class, throwingRunnable(npe)); in expectThrowsReturnsTheSameObjectThrown()
98 assertSame(npe, throwable); in expectThrowsReturnsTheSameObjectThrown()
103 NullPointerException npe = new NullPointerException(); in expectThrowsDetectsTypeMismatchesViaExplicitTypeHint() local
105 expectThrows(IOException.class, throwingRunnable(npe)); in expectThrowsDetectsTypeMismatchesViaExplicitTypeHint()
110 NullPointerException npe = new NullPointerException("inner-message"); in expectThrowsWrapsAndPropagatesUnexpectedExceptions() local
113 expectThrows(IOException.class, throwingRunnable(npe)); in expectThrowsWrapsAndPropagatesUnexpectedExceptions()
115 assertSame(npe, ex.getCause()); in expectThrowsWrapsAndPropagatesUnexpectedExceptions()
124 NullPointerException npe = new NullPointerException(); in expectThrowsSuppliesACoherentErrorMessageUponTypeMismatch() local
127 expectThrows(IOException.class, throwingRunnable(npe)); in expectThrowsSuppliesACoherentErrorMessageUponTypeMismatch()
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/nullables/
DNullabilityTest.java35 } catch (NullPointerException npe) { in testNullability_provides()
36 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable @Provides method"); in testNullability_provides()
90 } catch (NullPointerException npe) { in testNullability_components()
91 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable component method"); in testNullability_components()
104 } catch(NullPointerException npe) { in validate()
105 assertThat(npe).hasMessage("Cannot return null from a non-@Nullable " in validate()
/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/
DStatusProtoTest.java71 } catch (NullPointerException npe) { in toStatusRuntimeExceptionWithMetadata_shouldThrowIfMetadataIsNull()
72 assertEquals("metadata must not be null", npe.getMessage()); in toStatusRuntimeExceptionWithMetadata_shouldThrowIfMetadataIsNull()
113 } catch (NullPointerException npe) { in toStatusExceptionWithMetadata_shouldThrowIfMetadataIsNull()
114 assertEquals("metadata must not be null", npe.getMessage()); in toStatusExceptionWithMetadata_shouldThrowIfMetadataIsNull()
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java185 } catch ( java.lang.NullPointerException npe ) { in evaluate()
189 throw new XPathExpressionException ( npe ); in evaluate()
DXPathImpl.java283 } catch ( java.lang.NullPointerException npe ) { in evaluate()
287 throw new XPathExpressionException ( npe ); in evaluate()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DContextsTest.java260 } catch (NullPointerException npe) { in statusFromCancelled_shouldThrowIfCtxIsNull()
261 assertEquals("context must not be null", npe.getMessage()); in statusFromCancelled_shouldThrowIfCtxIsNull()
/external/guice/core/src/com/google/inject/internal/
DErrors.java84 NullPointerException npe = new NullPointerException(name); in checkNotNull() local
85 throw new ConfigurationException(ImmutableSet.of(new Message(npe.toString(), npe))); in checkNotNull()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DStandardCodesTest.java73 } catch (NullPointerException npe) { in TestGetLocaleCoverageLocales()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DLexer.java483 catch (NullPointerException npe) in getKeywordToken()
DXPathParser.java725 catch (NullPointerException npe) in getFunctionToken()
/external/cldr/tools/java/org/unicode/cldr/icu/
DIcuTextWriter.java143 } catch (NullPointerException npe) { in writeToFile()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalKeyListener.java396 } catch (NullPointerException npe) { in onKey()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java979 } catch (NullPointerException npe) { in setDisplayedTerminal()
980 Log.d("View went away when we were about to display it", npe); in setDisplayedTerminal()
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java325 } catch (NullPointerException npe) { in test_findClassLjava_lang_String()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCurrencyTest.java72 } catch (NullPointerException npe) { in TestAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java75 } catch (NullPointerException npe) { in TestAPI()
/external/slf4j/log4j-over-slf4j/compatibility/lib/
Dlogback-core-0.9.8-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF ch/ ch/qos/ ch/ ...
/external/guice/extensions/struts2/lib/
Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/ ...
Dant-1.6.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/scapy/doc/notebooks/
DScapy in 15 minutes.ipynb823 …p6XGQqLmbBLNn3mxNhB1GiKauRkFhJZkYHFB2ZX2QlggySX6z6oudHnp5LPXkLkYLQnkzYGXkk\npe/MpBhXHgGSiIKkkpS+Fz…
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...

12