/libcore/luni/src/test/java/libcore/java/util/ |
D | ServiceLoaderTest.java | 27 assertFalse(ServiceLoader.load(UnimplementedInterface.class).iterator().hasNext()); in test_noImplementations() 33 …ServiceLoader<ServiceLoaderTestInterface> loader = ServiceLoader.load(ServiceLoaderTestInterface.c… in test_implementations() 44 = ServiceLoader.load(ServiceLoaderTestInterface.class); in test_findFirst_nonEmptyLoader() 53 var serviceLoader = ServiceLoader.load(UnimplementedInterface.class); in test_findFirst_emptyLoader() 59 var serviceLoader = ServiceLoader.load(UnimplementedInterface.class); in test_stream_emptyLoader() 67 var serviceLoader = ServiceLoader.load(ServiceLoaderTestInterface.class); in test_streamTypes_nonEmptyLoader() 75 var serviceLoader = ServiceLoader.load(ServiceLoaderTestInterface.class); in test_stream_providerGet_nonEmptyLoader() 99 ServiceLoader.load(ServiceLoaderTestInterfaceMissingClass.class).iterator().next(); in test_missingRegisteredClass() 110 ServiceLoader.load(ServiceLoaderTestInterfaceWrongType.class).iterator().next(); in test_wrongTypeRegisteredClass() 120 ServiceLoader.load(ServiceLoaderTestInterfaceParseError.class).iterator().next(); in test_invalidRegisteredClass()
|
/libcore/ojluni/src/test/java/util/ServiceLoader/basic/ |
D | Basic.java | 54 abstract ServiceLoader<FooService> load(); in load() method in Basic.TestLoader 58 ServiceLoader<FooService> load() { 59 return ServiceLoader.load(FooService.class); 64 ServiceLoader<FooService> load() { 65 return ServiceLoader.load(FooService.class, ClassLoader.getSystemClassLoader()); 70 ServiceLoader<FooService> load() { 71 return ServiceLoader.load(FooService.class, null); 84 ServiceLoader<FooService> sl = tl.load(); in test()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | ImportNode.java | 110 doc = (Document) load("staffNS", builder); in _testImportNode1() 111 aNewDoc = (Document) load("staffNS", builder); in _testImportNode1() 143 doc = (Document) load("staffNS", builder); in testImportNode2() 144 aNewDoc = (Document) load("staffNS", builder); in testImportNode2() 165 doc = (Document) load("staffNS", builder); in testImportNode3() 166 aNewDoc = (Document) load("staffNS", builder); in testImportNode3() 187 doc = (Document) load("staff", builder); in testImportNode4() 188 aNewDoc = (Document) load("staff", builder); in testImportNode4() 210 doc = (Document) load("staffNS", builder); in testImportNode5() 211 aNewDoc = (Document) load("staffNS", builder); in testImportNode5() [all …]
|
D | IsSupported.java | 61 doc = (Document) load("staff", builder); in testIsSupported1() 70 doc = (Document) load("staff", builder); in testIsSupported2() 79 doc = (Document) load("staff", builder); in testIsSupported4() 88 doc = (Document) load("staff", builder); in testIsSupported5() 97 doc = (Document) load("staff", builder); in testIsSupported6() 106 doc = (Document) load("staff", builder); in testIsSupported7() 115 doc = (Document) load("staff", builder); in testIsSupported9() 124 doc = (Document) load("staff", builder); in testIsSupported10() 133 doc = (Document) load("staff", builder); in testIsSupported11() 161 doc = (Document) load("staff", builder); in testIsSupported12() [all …]
|
D | DocumentImportNode.java | 98 doc = (Document) load("staffNS", builder); in testImportNode2() 99 docImported = (Document) load("staff", builder); in testImportNode2() 178 doc = (Document) load("staffNS", builder); in testImportNode5() 179 docImported = (Document) load("staff", builder); in testImportNode5() 195 doc = (Document) load("staffNS", builder); in testImportNode6() 211 doc = (Document) load("staffNS", builder); in testImportNode7() 231 doc = (Document) load("staffNS", builder); in testImportNode8() 253 doc = (Document) load("staffNS", builder); in testImportNode9() 270 doc = (Document) load("staffNS", builder); in testImportNode10() 286 doc = (Document) load("staffNS", builder); in testImportNode11() [all …]
|
D | GetElementsByTagNameNS.java | 74 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS1() 86 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS2() 118 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS3() 141 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS4() 155 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS5() 162 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS6() 170 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS7() 179 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS8() 191 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS9() 225 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS10() [all …]
|
D | Prefix.java | 80 doc = (Document) load("staffNS", builder); in testGetPrefix1() 91 doc = (Document) load("staffNS", builder); in testGetPrefix2() 104 doc = (Document) load("staffNS", builder); in testGetPrefix3() 116 doc = (Document) load("staffNS", builder); in testGetPrefix4() 127 doc = (Document) load("staffNS", builder); in testGetPrefix5() 147 doc = (Document) load("staffNS", builder); in _testGetPrefix6() 165 doc = (Document) load("staffNS", builder); in testGetPrefix7() 218 doc = (Document) load("staffNS", builder); in _testGetPrefix9() 237 doc = (Document) load("staffNS", builder); in testGetPrefix10() 256 doc = (Document) load("staffNS", builder); in testGetPrefix11()
|
D | NodeSetPrefix.java | 88 doc = (Document) load("staff", builder); in testSetPrefix1() 128 doc = (Document) load("staffNS", builder); in testSetPrefix3() 177 doc = (Document) load("staffNS", builder); in testSetPrefix5() 197 doc = (Document) load("staffNS", builder); in testSetPrefix6() 214 doc = (Document) load("staffNS", builder); in testSetPrefix7() 233 doc = (Document) load("staffNS", builder); in testSetPrefix8() 252 doc = (Document) load("staffNS", builder); in _testSetPrefix9()
|
D | SetAttributeNS.java | 85 doc = (Document) load("staffNS", builder); in testSetAttributeNS1() 106 doc = (Document) load("staffNS", builder); in testSetAttributeNS2() 170 doc = (Document) load("staffNS", builder); in testSetAttributeNS4() 198 doc = (Document) load("staffNS", builder); in testSetAttributeNS5() 214 doc = (Document) load("staffNS", builder); in testSetAttributeNS6() 235 doc = (Document) load("staffNS", builder); in testSetAttributeNS7() 262 doc = (Document) load("staffNS", builder); in testSetAttributeNS9() 285 doc = (Document) load("hc_staff", builder); in testSetAttributeNS10()
|
D | DocumentGetElementsByTagnameNS.java | 67 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS1() 80 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS2() 91 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS3() 101 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS4() 109 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS5()
|
D | NamedNodeMapRemoveNamedItemNS.java | 81 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS1() 124 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS3() 147 doc = (Document) load("staffNS", builder); in _testRemoveNamedItemNS4() 213 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS6() 235 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS7() 257 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS8() 281 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS9()
|
D | NamedNodeMapSetNamedItemNS.java | 92 doc = (Document) load("staffNS", builder); in testSetNamedItemNS1() 112 doc = (Document) load("staffNS", builder); in testSetNamedItemNS2() 137 doc = (Document) load("staffNS", builder); in testSetNamedItemNS3() 141 docAlt = (Document) load("staffNS", builder); in testSetNamedItemNS3() 171 doc = (Document) load("staffNS", builder); in testSetNamedItemNS4() 235 doc = (Document) load("staffNS", builder); in testSetNamedItemNS6() 261 doc = (Document) load("staffNS", builder); in testSetNamedItemNS7() 287 doc = (Document) load("staffNS", builder); in testSetNamedItemNS8()
|
D | CreateAttributeNS.java | 67 doc = (Document) load("staffNS", builder); in testCreateAttributeNS1() 85 doc = (Document) load("staffNS", builder); in testCreateAttributeNS2() 131 doc = (Document) load("staffNS", builder); in testCreateAttributeNS3() 150 doc = (Document) load("staffNS", builder); in testCreateAttributeNS4() 168 doc = (Document) load("staffNS", builder); in testCreateAttributeNS5() 177 doc = (Document) load("hc_staff", builder); in testCreateAttributeNS6()
|
D | CreateElementNS.java | 85 doc = (Document) load("staffNS", builder); in testCreateElementNS1() 103 doc = (Document) load("staffNS", builder); in testCreateElementNS2() 149 doc = (Document) load("staffNS", builder); in testCreateElementNS3() 169 doc = (Document) load("staffNS", builder); in testCreateElementNS4() 187 doc = (Document) load("staffNS", builder); in testCreateElementNS5() 197 doc = (Document) load("hc_staff", builder); in testCreateElementNS6()
|
D | DocumentCreateAttributeNS.java | 88 doc = (Document) load("staffNS", builder); in testCreateAttributeNS1() 110 doc = (Document) load("staffNS", builder); in testCreateAttributeNS2() 157 doc = (Document) load("staffNS", builder); in testCreateAttributeNS3() 184 doc = (Document) load("staffNS", builder); in testCreateAttributeNS4() 211 doc = (Document) load("staffNS", builder); in testCreateAttributeNS5() 235 doc = (Document) load("staffNS", builder); in testCreateAttributeNS6() 255 doc = (Document) load("staffNS", builder); in testCreateAttributeNS7()
|
D | ElementSetAttributeNS.java | 61 doc = (Document) load("staff", builder); in testSetAttributeNS1() 79 doc = (Document) load("staff", builder); in testSetAttributeNS2() 100 doc = (Document) load("staffNS", builder); in testSetAttributeNS3() 131 doc = (Document) load("staffNS", builder); in testSetAttributeNS4() 154 doc = (Document) load("staffNS", builder); in testSetAttributeNS5() 171 doc = (Document) load("staffNS", builder); in testSetAttributeNS8() 204 doc = (Document) load("staff", builder); in testSetAttributeNSURINull()
|
D | ElementSetAttributeNodeNS.java | 88 doc = (Document) load("staff", builder); in testSetAttributeNodeNS1() 121 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS2() 143 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS3() 166 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS4() 188 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS5() 189 docAlt = (Document) load("staffNS", builder); in testSetAttributeNodeNS5() 212 doc = (Document) load("staffNS", builder); in _testSetAttributeNodeNS6()
|
D | AttrGetOwnerElement.java | 65 doc = (Document) load("staffNS", builder); in testGetOwnerElement2() 77 doc = (Document) load("staffNS", builder); in testGetOwnerElement3() 91 doc = (Document) load("staffNS", builder); in testGetOwnerElement4() 92 docImp = (Document) load("staff", builder); in testGetOwnerElement4() 115 doc = (Document) load("staffNS", builder); in testGetOwnerElement5()
|
D | SetAttributeNodeNS.java | 91 doc = (Document) load("staffNS", builder); in testSetAttributeNode1() 156 doc = (Document) load("staffNS", builder); in testSetAttributeNode3() 172 doc = (Document) load("staffNS", builder); in testSetAttributeNode4() 191 doc1 = (Document) load("staffNS", builder); in testSetAttributeNode5() 192 doc2 = (Document) load("staffNS", builder); in testSetAttributeNode5()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | PropertiesTest.java | 141 prop2.load(getInputStream(baos.toByteArray())); in BlankLines() 146 prop2.load(getReader(baos.toByteArray(), "UTF-8")); in BlankLines() 185 props1.load(getInputStream(propsCases)); in EscapeSpace() 190 props1.load(getReader(propsCases, "UTF-8")); in EscapeSpace() 198 props1.load(getInputStream(baos.toByteArray())); in EscapeSpace() 203 props1.load(getReader(baos.toByteArray(), "UTF-8")); in EscapeSpace() 212 props1.load(getReader(baos.toByteArray(), "UTF-8")); in EscapeSpace() 226 myProps.load(myIn); in LoadParsing() 270 newProps.load(getInputStream(baos.toByteArray())); in SaveEncoding() 277 newProps.load(getReader(baos.toByteArray(), "EUC_JP")); in SaveEncoding() [all …]
|
D | UnicodeEscape.java | 53 load(); in main() 64 private static void load() throws Exception { in load() method in UnicodeEscape 70 properties.load(in); in load()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 65 p.load((InputStream) null); in test_loadLjava_io_InputStream_NPE() 75 p.load((InputStream) null); in test_loadsave() 213 prop.load(is = new ByteArrayInputStream(writeProperties())); in test_loadLjava_io_InputStream() 225 prop.load(new ByteArrayInputStream("=".getBytes())); in test_loadLjava_io_InputStream() 233 prop.load(new ByteArrayInputStream(" = ".getBytes())); in test_loadLjava_io_InputStream() 241 prop.load(new ByteArrayInputStream(" a= b".getBytes())); in test_loadLjava_io_InputStream() 249 prop.load(new ByteArrayInputStream(" a b".getBytes())); in test_loadLjava_io_InputStream() 257 prop.load(new ByteArrayInputStream("#\u008d\u00d2\na=\u008d\u00d3" in test_loadLjava_io_InputStream() 267 prop.load(new ByteArrayInputStream( in test_loadLjava_io_InputStream() 287 props.load(is); in test_loadLjava_io_InputStream_subtest0() [all …]
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | ProbeKeystores.java | 72 load(bcFile, "BouncyCastle"); in testKeystores() 73 load(p12File, "PKCS12"); in testKeystores() 89 load(onekeyBcFile, "BouncyCastle"); in testKeystores() 100 ks.load(null, null); in init() 110 ks.load(null, null); in init() 174 private static void load(File file, String type) throws Exception { in load() method in ProbeKeystores 178 ks.load(stream, PASSWORD); in load() 186 load(file, type); in loadNonCompat()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore2Test.java | 144 keyTest.load(null, null); in creatCertificate() 180 keyTest.load(null, null); in test_aliases() 225 keyTest.load(null, null); in test_containsAliasLjava_lang_String() 262 keyTest.load(null, null); in test_getCertificateLjava_lang_String() 295 keyTest.load(null, null); in test_getCertificateAliasLjava_security_cert_Certificate() 335 keyTest.load(null, null); in test_getCertificateChainLjava_lang_String() 386 keyTest.load(null, null); in test_getKeyLjava_lang_String$C() 426 keyTest.load(null, null); in test_isCertificateEntryLjava_lang_String() 457 keyTest.load(null, null); in test_isKeyEntryLjava_lang_String() 479 keyTest.load(in, pssWord); in test_loadLjava_io_InputStream$C() [all …]
|
D | KeyStore3Test.java | 53 mockKeyStore.load(null); in test_load() 65 mockKeyStore.load(null, null); in test_store() 70 mockKeyStore.load(null, null); in test_setKeyEntry_null() 76 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_null() 82 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_private() 104 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_public() 113 mockKeyStore.load(null, null); in test_setCertificateEntry_null()
|