Home
last modified time | relevance | path

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

/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/javatests/dagger/functional/nullables/
DNullabilityTest.java37 } catch (NullPointerException npe) { in testNullability_provides()
38 assertThat(npe) in testNullability_provides()
110 } catch (NullPointerException npe) { in testNullability_components()
111 assertThat(npe) in testNullability_components()
126 } catch (NullPointerException npe) { in validate()
127 assertThat(npe) 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/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/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.java79 } catch (NullPointerException npe) { in TestAPI()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCurrencyTest.java82 } catch (NullPointerException npe) { in TestAPI()
/external/toolchain-utils/android_bench_suite/panorama_input/
Dtest_008.ppm4135           /1&npe`eV %35'),.0":<. %48-zm|�o���akT0:"=F/,1"(%," )1#DL>"…
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Den-IPA.txt8773 $x{inpatient → ɪnpeʃənt ; # ɪnpætint