Home
last modified time | relevance | path

Searched refs:concat (Results 1 – 25 of 111) sorted by relevance

12345

/libcore/ojluni/src/test/java/lang/String/CompactString/
DConcat.java45 "ABC".concat("\uFF21\uFF22\uFF23").concat("DEF"), in provider()
49 "\uFF21\uFF22\uFF23".concat("ABC").concat( in provider()
53 "ABC".concat("\uFF21\uFF22\uFF23").concat("DEF"), in provider()
57 "\uFF21\uFF22\uFF23".concat("ABC").concat( in provider()
61 "ABC".concat("\uFF21\uFF22\uFF23").concat("DEF"), in provider()
65 "\uFF21\uFF22\uFF23".concat("ABC").concat( in provider()
69 "ABC".concat("\uFF21\uFF22\uFF23").concat("DEF"), in provider()
73 "\uFF21\uFF22\uFF23".concat("ABC").concat( in provider()
77 "ABC".concat("\uFF21\uFF22\uFF23").concat("DEF"), in provider()
81 "\uFF21\uFF22\uFF23".concat("ABC").concat( in provider()
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DConcatOpTest.java51 s -> Stream.concat(s, data.stream()), in testOps()
52 s -> IntStream.concat(s, data.stream().mapToInt(Integer::intValue)), in testOps()
53 s -> LongStream.concat(s, data.stream().mapToLong(Integer::longValue)), in testOps()
54 … s -> DoubleStream.concat(s, data.stream().mapToDouble(Integer::doubleValue))); in testOps()
58 assertSized(Stream.concat( in testSize()
62 assertUnsized(Stream.concat( in testSize()
66 assertUnsized(Stream.concat( in testSize()
70 assertUnsized(Stream.concat( in testSize()
76 assertSized(LongStream.concat( in testLongSize()
80 assertUnsized(LongStream.concat( in testLongSize()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DExemptionMechanismTest.java62 srvExemptionMechanism.concat(".").concat(defaultAlg), in testExemptionMechanism()
122 srvExemptionMechanism.concat(".").concat(defaultAlg), in testIsCryptoAllowed()
154 srvExemptionMechanism.concat(".").concat(defaultAlg), in testGenExemptionBlob()
196 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_genExemptionBlob()
234 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_genExemptionBlob$B()
274 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_genExemptionBlob$BI()
320 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_getInstanceLjava_lang_String()
339 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_getInstanceLjava_lang_StringLjava_security_Provider()
371 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_getName()
386 srvExemptionMechanism.concat(".").concat(defaultAlg), in test_getOutputSizeI()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactory2Test.java61 "Provider for testing", srvTrustManagerFactory.concat(".") in setUp()
62 .concat(defaultAlg), TrustManagerFactoryProviderClass); in setUp()
128 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_String()
166 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
175 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
181 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
191 .concat(invalidValues[i]).concat(" provider: ") in test_getInstanceLjava_lang_StringLjava_lang_String()
192 .concat(invalidValues[j]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
231 .concat(invalidValues[i]).concat(")")); in testLjava_lang_StringLjava_security_Provider()
240 .concat(invalidValues[i]).concat(")")); in testLjava_lang_StringLjava_security_Provider()
DKeyManagerFactory2Test.java64 "Provider for testing", srvKeyManagerFactory.concat(".") in setUp()
65 .concat(defaultAlg), KeyManagerFactoryProviderClass); in setUp()
138 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_String()
176 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
185 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
191 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
201 .concat(invalidValues[i]).concat(" provider: ") in test_getInstanceLjava_lang_StringLjava_lang_String()
202 .concat(invalidValues[j]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
241 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_security_Provider()
250 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_security_Provider()
DSSLContext2Test.java62 srvSSLContext.concat(".").concat(defaultProtocol), in setUp()
163 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_String()
201 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
210 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
216 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
225 .concat(invalidValues[i]).concat(" provider: ") in test_getInstanceLjava_lang_StringLjava_lang_String()
226 .concat(invalidValues[j]).concat(")")); in test_getInstanceLjava_lang_StringLjava_lang_String()
264 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_security_Provider()
273 .concat(invalidValues[i]).concat(")")); in test_getInstanceLjava_lang_StringLjava_security_Provider()
DSSLExceptionTest.java46 assertEquals("getMessage() must return: ".concat(msgs[i]), sE.getMessage(), msgs[i]); in testSSLException01()
83 assertTrue("getMessage() should contain ".concat(toS), (getM in testSSLException04()
87 assertEquals("getCause() must return ".concat(tCause.toString()), sE.getCause(), tCause); in testSSLException04()
110 assertEquals("getMessage() must return: ".concat(msgs[i]), sE in testSSLException06()
126 assertTrue("getMessage() must should ".concat(toS), (getM in testSSLException07()
130 assertEquals("getCause() must return ".concat(tCause.toString()), sE in testSSLException07()
146 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testSSLException08()
149 assertTrue("getMessage() should contain ".concat(toS), getM in testSSLException08()
154 assertEquals("getCause() must return ".concat(tCause.toString()), in testSSLException08()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder2Test.java110 fail("NoSuchAlgorithmException must be thrown (type: ".concat( in testGetInstance01()
111 invalidValues[i]).concat(")")); in testGetInstance01()
146 fail("NoSuchAlgorithmException must be thrown (type: ".concat( in testGetInstance02()
147 invalidValues[i]).concat(")")); in testGetInstance02()
155 .concat(validValues[i]).concat(")")); in testGetInstance02()
161 .concat(validValues[i]).concat(")")); in testGetInstance02()
171 .concat(validValues[i]).concat(" provider: ") in testGetInstance02()
172 .concat(invalidValues[j]).concat(")")); in testGetInstance02()
208 fail("NoSuchAlgorithmException must be thrown (type: ".concat( in testGetInstance03()
209 invalidValues[i]).concat(")")); in testGetInstance03()
[all …]
DCertPathValidator2Test.java67 "Provider for testing", CertPathValidator1Test.srvCertPathValidator.concat(".") in setUp()
68 .concat(defaultAlg), CertPathValidatorProviderClass); in setUp()
119 fail("NoSuchAlgorithmException must be thrown (type: ".concat(invalidValues[i]) in testGetInstance01()
120 .concat(")")); in testGetInstance01()
153 fail("NoSuchAlgorithmException must be thrown (type: ".concat(invalidValues[i]) in testGetInstance02()
154 .concat(")")); in testGetInstance02()
163 .concat(validValues[i]).concat(")")); in testGetInstance02()
169 .concat(validValues[i]).concat(")")); in testGetInstance02()
177 fail("NoSuchProviderException must be thrown (type: ".concat(validValues[i]) in testGetInstance02()
178 .concat(" provider: ").concat(invalidValues[j]).concat(")")); in testGetInstance02()
[all …]
DCertificateFactory2Test.java71 .concat(".").concat(defaultAlg), in setUp()
191 fail("CertificateException must be thrown (type: ".concat( in GetInstance01()
192 invalidValues[i]).concat(")")); in GetInstance01()
227 fail("CertificateException must be thrown (type: ".concat( in GetInstance02()
228 invalidValues[i]).concat(")")); in GetInstance02()
237 .concat(validValues[i]).concat(")")); in GetInstance02()
243 .concat(validValues[i]).concat(")")); in GetInstance02()
253 .concat(validValues[i]).concat(" provider: ") in GetInstance02()
254 .concat(invalidValues[j]).concat(")")); in GetInstance02()
291 fail("CertificateException must be thrown (type: ".concat( in GetInstance03()
[all …]
DCertStoreExceptionTest.java61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException02()
100 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertStoreException05()
104 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertStoreException05()
128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertStoreException07()
144 assertTrue("getMessage() must should ".concat(toS), (getM in testCertStoreException08()
148 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertStoreException08()
164 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertStoreException09()
167 assertTrue("getMessage() should contain ".concat(toS), getM in testCertStoreException09()
172 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertStoreException09()
DCertificateExceptionTest.java62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException02()
102 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertificateException05()
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateException05()
130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateException07()
146 assertTrue("getMessage() must should ".concat(toS), (getM in testCertificateException08()
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateException08()
166 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertificateException09()
169 assertTrue("getMessage() should contain ".concat(toS), getM in testCertificateException09()
174 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertificateException09()
DCertificateParsingExceptionTest.java63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException02()
103 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertificateParsingException05()
107 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateParsingException05()
132 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateParsingException07()
149 assertTrue("getMessage() must should ".concat(toS), (getM in testCertificateParsingException08()
153 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateParsingException08()
169 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertificateParsingException09()
172 assertTrue("getMessage() should contain ".concat(toS), getM in testCertificateParsingException09()
177 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertificateParsingException09()
DCRLExceptionTest.java61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException02()
98 assertTrue("getMessage() should contain ".concat(toS), (getM in testCRLException05()
102 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCRLException05()
126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCRLException07()
142 assertTrue("getMessage() must should ".concat(toS), (getM in testCRLException08()
146 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCRLException08()
162 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCRLException09()
165 assertTrue("getMessage() should contain ".concat(toS), getM in testCRLException09()
170 assertEquals("getCause() must return ".concat(tCause.toString()), in testCRLException09()
DCertificateEncodingExceptionTest.java63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException02()
105 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertificateEncodingException05()
109 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateEncodingException05()
134 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertificateEncodingException07()
151 assertTrue("getMessage() must should ".concat(toS), (getM in testCertificateEncodingException08()
155 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertificateEncodingException08()
171 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertificateEncodingException09()
174 assertTrue("getMessage() should contain ".concat(toS), getM in testCertificateEncodingException09()
179 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertificateEncodingException09()
DCertPathBuilderExceptionTest.java63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException02()
103 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertPathBuilderException05()
107 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertPathBuilderException05()
131 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathBuilderException07()
147 assertTrue("getMessage() must should ".concat(toS), (getM in testCertPathBuilderException08()
151 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertPathBuilderException08()
167 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertPathBuilderException09()
170 assertTrue("getMessage() should contain ".concat(toS), getM in testCertPathBuilderException09()
175 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertPathBuilderException09()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator2Test.java81 mProv = (new SpiEngUtils()).new MyProvider("MyKPGenProvider".concat(post), in setProv()
82 "Testing provider", KeyPairGenerator1Test.srvKeyPairGenerator.concat(".") in setProv()
83 .concat(defaultAlg.concat(post)), in setProv()
196 .concat(invalidValues[i]).concat(")")); in GetInstance01()
202 String alg = validValues[i].concat(post); in GetInstance01()
235 .concat(invalidValues[i]).concat(")")); in GetInstance02()
241 String alg = validValues[i].concat(post); in GetInstance02()
245 .concat(alg).concat(")")); in GetInstance02()
250 String alg = validValues[i].concat(post); in GetInstance02()
255 .concat(alg).concat(" provider: ").concat( in GetInstance02()
[all …]
DAlgorithmParameterGenerator2Test.java66 … AlgorithmParameterGenerator1Test.srvAlgorithmParameterGenerator.concat(".").concat(defaultAlg), in setUp()
129 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
167 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
176 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
186 .concat(invalidValues[i]).concat(" provider: ") in testGetInstance02()
187 .concat(invalidValues[j]).concat(")")); in testGetInstance02()
226 .concat(invalidValues[i]).concat(")")); in testGetInstance03()
235 .concat(invalidValues[i]).concat(")")); in testGetInstance03()
DNoSuchAlgorithmExceptionTest.java62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchAlgorithmException02()
102 assertTrue("getMessage() should contain ".concat(toS), (getM in testNoSuchAlgorithmException05()
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testNoSuchAlgorithmException05()
130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testNoSuchAlgorithmException07()
146 assertTrue("getMessage() must should ".concat(toS), (getM in testNoSuchAlgorithmException08()
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testNoSuchAlgorithmException08()
166 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testNoSuchAlgorithmException09()
169 assertTrue("getMessage() should contain ".concat(toS), getM in testNoSuchAlgorithmException09()
174 assertEquals("getCause() must return ".concat(tCause.toString()), in testNoSuchAlgorithmException09()
DKeyManagementExceptionTest.java62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyManagementException02()
102 assertTrue("getMessage() should contain ".concat(toS), (getM in testKeyManagementException05()
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyManagementException05()
130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyManagementException07()
146 assertTrue("getMessage() must should ".concat(toS), (getM in testKeyManagementException08()
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyManagementException08()
166 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testKeyManagementException09()
169 assertTrue("getMessage() should contain ".concat(toS), getM in testKeyManagementException09()
174 assertEquals("getCause() must return ".concat(tCause.toString()), in testKeyManagementException09()
DInvalidAlgorithmParameterExceptionTest.java63 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException02()
106 assertTrue("getMessage() should contain ".concat(toS), (getM in testInvalidAlgorithmParameterException05()
110 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidAlgorithmParameterException05()
137 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidAlgorithmParameterException07()
155 assertTrue("getMessage() must should ".concat(toS), (getM in testInvalidAlgorithmParameterException08()
159 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidAlgorithmParameterException08()
176 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testInvalidAlgorithmParameterException09()
179 assertTrue("getMessage() should contain ".concat(toS), getM in testInvalidAlgorithmParameterException09()
184 assertEquals("getCause() must return ".concat(tCause.toString()), in testInvalidAlgorithmParameterException09()
DInvalidKeyExceptionTest.java61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeyException02()
100 assertTrue("getMessage() should contain ".concat(toS), (getM in testInvalidKeyException05()
104 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidKeyException05()
128 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeyException07()
144 assertTrue("getMessage() must should ".concat(toS), (getM in testInvalidKeyException08()
148 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidKeyException08()
164 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testInvalidKeyException09()
167 assertTrue("getMessage() should contain ".concat(toS), getM in testInvalidKeyException09()
172 assertEquals("getCause() must return ".concat(tCause.toString()), in testInvalidKeyException09()
DKeyStoreExceptionTest.java61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyStoreException02()
99 assertTrue("getMessage() should contain ".concat(toS), (getM in testKeyStoreException05()
103 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyStoreException05()
127 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyStoreException07()
143 assertTrue("getMessage() must should ".concat(toS), (getM in testKeyStoreException08()
147 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyStoreException08()
163 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testKeyStoreException09()
166 assertTrue("getMessage() should contain ".concat(toS), getM in testKeyStoreException09()
171 assertEquals("getCause() must return ".concat(tCause.toString()), in testKeyStoreException09()
DGeneralSecurityExceptionTest.java62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testGeneralSecurityException02()
102 assertTrue("getMessage() should contain ".concat(toS), (getM in testGeneralSecurityException05()
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testGeneralSecurityException05()
130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testGeneralSecurityException07()
146 assertTrue("getMessage() must should ".concat(toS), (getM in testGeneralSecurityException08()
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testGeneralSecurityException08()
166 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testGeneralSecurityException09()
169 assertTrue("getMessage() should contain ".concat(toS), getM in testGeneralSecurityException09()
174 assertEquals("getCause() must return ".concat(tCause.toString()), in testGeneralSecurityException09()
/libcore/luni/src/test/java/tests/security/spec/
DInvalidKeySpecExceptionTest.java62 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException02()
102 assertTrue("getMessage() should contain ".concat(toS), (getM in testInvalidKeySpecException05()
106 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidKeySpecException05()
130 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testInvalidKeySpecException07()
146 assertTrue("getMessage() must should ".concat(toS), (getM in testInvalidKeySpecException08()
150 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testInvalidKeySpecException08()
166 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testInvalidKeySpecException09()
169 assertTrue("getMessage() should contain ".concat(toS), getM in testInvalidKeySpecException09()
174 assertEquals("getCause() must return ".concat(tCause.toString()), in testInvalidKeySpecException09()

12345