Home
last modified time | relevance | path

Searched defs:null (Results 1 – 25 of 73) sorted by relevance

123

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNumberParser.java181 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_fresh() local
182 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parse_fresh() local
201 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_textField() local
202 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parse_textField() local
316 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseSignsStrict() local
317 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parseSignsStrict() local
426 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseSignsLenient() local
427 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parseSignsLenient() local
517 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseDigitsLenient() local
518 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parseDigitsLenient() local
[all …]
DTestCharLiteralParser.java114 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_success() local
115 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parse_success() local
DTestStringLiteralParser.java117 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_success() local
118 assertEquals(parsed.query(TemporalQueries.zoneId()), null); in test_parse_success() local
/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java93 assertEquals(test.getTransition(null), null); in test_data_nullInput() local
97 assertEquals(test.nextTransition(null), null); in test_data_nullInput() local
98 assertEquals(test.previousTransition(null), null); in test_data_nullInput() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java107 Runtime.getRuntime().exec((String)null, null); in test_execLjava_lang_StringLjava_lang_StringArray() local
145 Runtime.getRuntime().exec((String[])null, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() local
200 Runtime.getRuntime().exec((String)null, null, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() local
240 Runtime.getRuntime().exec((String[])null, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() local
534 loadMethod.invoke(Runtime.getRuntime(), "nonExistentLibrary", null); in test_loadDeprecated_targetSdkVersion_24() local
550 loadMethod.invoke(Runtime.getRuntime(), "nonExistentLibrary", null); in test_loadDeprecated_targetSdkVersion_25() local
566 loadMethod.invoke(Runtime.getRuntime(), "nonExistentLibrary", null); in test_loadLibraryDeprecated_targetSdkVersion_24() local
582 loadMethod.invoke(Runtime.getRuntime(), "nonExistentLibrary", null); in test_loadLibraryDeprecated_targetSdkVersion_25() local
DOldStackTraceElementTest.java77 null, in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() local
87 null, in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI() local
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java157 assertEquals(accessor.query(TemporalQueries.localDate()), null); in test_resolveOneNoChange() local
158 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneNoChange() local
196 assertEquals(accessor.query(TemporalQueries.localDate()), null); in test_resolveTwoNoChange() local
197 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveTwoNoChange() local
228 assertEquals(accessor.query(TemporalQueries.localDate()), null); in test_resolveThreeNoChange() local
229 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveThreeNoChange() local
262 assertEquals(accessor.query(TemporalQueries.localDate()), null); in test_resolveOneToField() local
263 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneToField() local
289 assertEquals(accessor.query(TemporalQueries.localTime()), null); in test_resolveOneToDate() local
313 assertEquals(accessor.query(TemporalQueries.localDate()), null); in test_resolveOneToTime() local
[all …]
DTCKDateTimeFormatters.java177 assertEquals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDate_basics() local
184 assertEquals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedTime_basics() local
191 assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDateTime1_basics() local
198 …quals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getZone(), null); in test_ofLocalizedDateTime2_basics() local
292 assertEquals(DateTimeFormatter.ISO_LOCAL_DATE.getZone(), null); in test_isoLocalDate_basics() local
350 assertEquals(DateTimeFormatter.ISO_OFFSET_DATE.getZone(), null); in test_isoOffsetDate_basics() local
410 assertEquals(DateTimeFormatter.ISO_DATE.getZone(), null); in test_isoDate_basics() local
479 assertEquals(DateTimeFormatter.ISO_LOCAL_TIME.getChronology(), null); in test_isoLocalTime_basics() local
480 assertEquals(DateTimeFormatter.ISO_LOCAL_TIME.getZone(), null); in test_isoLocalTime_basics() local
549 assertEquals(DateTimeFormatter.ISO_OFFSET_TIME.getChronology(), null); in test_isoOffsetTime_basics() local
[all …]
DTCKZoneIdPrinterParser.java218 … assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + text); in test_parseSuccess_plain() local
235 …assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + prefixTe… in test_parseSuccess_prefix() local
251 …assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + suffixTe… in test_parseSuccess_suffix() local
273 assertEquals(parsed.query(TemporalQueries.offset()), null); in test_parseSuccess_caseSensitive() local
291 … assertEquals(parsed.query(TemporalQueries.offset()), null, "Incorrect offset parsing: " + lcText); in test_parseSuccess_caseInsensitive() local
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKFixedZoneRules.java133 assertEquals(test.getTransition(LDT), null); in test_getTransition_LDT() local
134 assertEquals(test.getTransition(null), null); in test_getTransition_LDT() local
169 assertEquals(test.nextTransition(INSTANT), null); in test_nextTransition_Instant() local
170 assertEquals(test.nextTransition(null), null); in test_nextTransition_Instant() local
175 assertEquals(test.previousTransition(INSTANT), null); in test_previousTransition_Instant() local
176 assertEquals(test.previousTransition(null), null); in test_previousTransition_Instant() local
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java152 provider.move(filesSetup.getDataFilePath(), null); in test_move_NPE() local
259 provider.isSameFile(filesSetup.getDataFilePath(), null); in test_isSameFile_NPE() local
332 provider.getFileAttributeView(filesSetup.getDataFilePath(), null); in test_getFileAttributeView_NPE() local
396 provider.setAttribute(filesSetup.getDataFilePath(), null, 10); in test_setAttribute() local
598 provider.newByteChannel(filesSetup.getTestPath(), null, new MockFileAttribute<>()); in test_newFileChannel_NPE() local
603 provider.newByteChannel(filesSetup.getTestPath(), new HashSet<>(), null); in test_newFileChannel_NPE() local
DFileSystemsTest.java108 FileSystems.newFileSystem(testPath.toUri(), null, in test_newFileSystem$URI$Map$ClassLoader() local
114 FileSystems.newFileSystem(testPath.toUri(), stubEnv, null); in test_newFileSystem$URI$Map$ClassLoader() local
DDefaultSecureDirectoryStreamTest.java188 relativize(path_f1), null)) { in test_newDirectoryStream_Exception() argument
257 null)) { in test_newByteChannel_NPE() argument
456 ds_path_root.getFileAttributeView(path_root.relativize(path_f1), null); in test_getFileAttributeView_Path() local
501 BasicFileAttributeView.class, null); in test_getFileAttributeView_Path_LinkOptions() local
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotatedElementParameterTest.java162 repeated, null); in testMethodDeclaredAnnotation_repeated() local
168 repeated, null); in testMethodDeclaredAnnotation_repeated() local
171 repeated, null); in testMethodDeclaredAnnotation_repeated() local
185 container, null); in testMethodDeclaredAnnotation_repeated() local
197 container, null); in testMethodDeclaredAnnotation_repeated() local
239 repeated, null); in testConstructorDeclaredAnnotation_repeated() local
245 repeated, null); in testConstructorDeclaredAnnotation_repeated() local
248 repeated, null); in testConstructorDeclaredAnnotation_repeated() local
256 container, null); in testConstructorDeclaredAnnotation_repeated() local
268 container, null); in testConstructorDeclaredAnnotation_repeated() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipExceptionTest.java27 assertEquals(zz.getMessage(), null); in testZipException() local
DOldDataFormatExceptionTest.java27 assertEquals(dfe.getMessage(), null); in testDataFormatException() local
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java85 view.setTimes(dirAttrs.lastModifiedTime(), null, null); in checkAttributesOfFile() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacter_SubsetTest.java31 new Character.Subset(null) { in test_Ctor() argument
/libcore/ojluni/src/main/java/java/lang/
DProcessBuilder.java347 assert environment != null; in environment() local
354 assert environment == null; in environment() local
357 assert environment != null; in environment() local
/libcore/luni/src/test/java/libcore/libcore/io/
DForwardingOsTest.java35 new ForwardingOs(null) {}; in constructor_nullDelegate() argument
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java456 asc.connect(ss.getLocalSocketAddress(), null, null); in test_completionHandler_connect_npe() local
471 asc.connect(ss.getLocalSocketAddress(), null, in test_read_npe() local
571 asc.connect(ss.getLocalSocketAddress(), null, in test_read_failures() local
641 asc.connect(ss.getLocalSocketAddress(), null, in test_write_npe() local
679 asc.write((ByteBuffer[])null, 0, 1, 100L, TimeUnit.MILLISECONDS, null, in test_write_npe() local
740 asc.connect(ss.getLocalSocketAddress(), null, in test_write_failures() local
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreBuilderTest.java224 KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider, null, in testNewInstanceStringProviderFileProtectionParameter() local
231 .newInstance(KeyStore.getDefaultType(), defaultProvider, fl, null); in testNewInstanceStringProviderFileProtectionParameter() local
268 null, fl, myPP); in testNewInstanceStringProviderFileProtectionParameter() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DPSourceTest.java88 new PSource(null) {}; in testPSource() argument
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractBasicFileAttributeView.java73 setTimes((FileTime)value, null, null); in setAttribute() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java1758 EnumSet.of((EnumWithInnerClass) null, null, null); in test_Of_EEE() local
1777 EnumSet.of((HugeEnumWithInnerClass) null, null, null); in test_Of_EEE() local
1803 EnumSet.of((EnumWithInnerClass) null, null, null, null); in test_Of_EEEE() local
1819 EnumSet.of((HugeEnumWithInnerClass) null, null, null, null); in test_Of_EEEE() local
1839 EnumSet.of((EnumWithInnerClass) null, null, null, null, null); in test_Of_EEEEE() local
1855 EnumSet.of((HugeEnumWithInnerClass) null, null, null, null, null); in test_Of_EEEEE() local

123