/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactory2Test.java | 61 "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()
|
D | KeyManagerFactory2Test.java | 64 "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()
|
D | SSLContext2Test.java | 62 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()
|
D | SSLExceptionTest.java | 46 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/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismTest.java | 62 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 …]
|
D | ExemptionMechanismExceptionTest.java | 44 return "ExemptionMechanismException: ".concat(tE.toString()).concat( in createErr() 45 " is not equal to caught exception: ").concat(eE.toString()); in createErr() 72 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testExemptionMechanismException02()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertPathBuilder2Test.java | 110 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 …]
|
D | CertPathValidator2Test.java | 67 "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 …]
|
D | CertificateFactory2Test.java | 71 .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 …]
|
D | CertStoreExceptionTest.java | 61 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()
|
D | CertificateEncodingExceptionTest.java | 63 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()
|
D | CRLExceptionTest.java | 61 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()
|
D | CertPathValidatorExceptionTest.java | 74 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException02() 114 assertTrue("getMessage() should contain ".concat(toS), (getM in testCertPathValidatorException05() 118 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertPathValidatorException05() 143 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testCertPathValidatorException07() 160 assertTrue("getMessage() must should ".concat(toS), (getM in testCertPathValidatorException08() 164 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testCertPathValidatorException08() 180 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testCertPathValidatorException09() 183 assertTrue("getMessage() should contain ".concat(toS), getM in testCertPathValidatorException09() 188 assertEquals("getCause() must return ".concat(tCause.toString()), in testCertPathValidatorException09() 249 assertTrue("getMessage() must contain ".concat(msgs[i]), in testCertPathValidatorException12() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairGenerator2Test.java | 81 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 …]
|
D | DigestExceptionTest.java | 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testDigestException02() 98 assertTrue("getMessage() should contain ".concat(toS), (getM in testDigestException05() 102 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testDigestException05() 126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testDigestException07() 142 assertTrue("getMessage() must should ".concat(toS), (getM in testDigestException08() 146 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testDigestException08() 162 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testDigestException09() 165 assertTrue("getMessage() should contain ".concat(toS), getM in testDigestException09() 170 assertEquals("getCause() must return ".concat(tCause.toString()), in testDigestException09()
|
D | GeneralSecurityExceptionTest.java | 62 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()
|
D | KeyStoreExceptionTest.java | 61 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()
|
D | KeyManagementExceptionTest.java | 62 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()
|
D | InvalidKeyExceptionTest.java | 61 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()
|
D | ProviderExceptionTest.java | 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testProviderException02() 99 assertTrue("getMessage() should contain ".concat(toS), (getM in testProviderException05() 103 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testProviderException05() 127 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testProviderException07() 143 assertTrue("getMessage() must should ".concat(toS), (getM in testProviderException08() 147 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testProviderException08() 163 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testProviderException09() 166 assertTrue("getMessage() should contain ".concat(toS), getM in testProviderException09() 171 assertEquals("getCause() must return ".concat(tCause.toString()), in testProviderException09()
|
D | KeyExceptionTest.java | 61 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyException02() 98 assertTrue("getMessage() should contain ".concat(toS), (getM in testKeyException05() 102 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyException05() 126 assertEquals("getMessage() must return: ".concat(msgs[i]), tE in testKeyException07() 142 assertTrue("getMessage() must should ".concat(toS), (getM in testKeyException08() 146 assertEquals("getCause() must return ".concat(tCause.toString()), tE in testKeyException08() 162 assertTrue("getMessage() must contain ".concat(msgs[i]), getM in testKeyException09() 165 assertTrue("getMessage() should contain ".concat(toS), getM in testKeyException09() 170 assertEquals("getCause() must return ".concat(tCause.toString()), in testKeyException09()
|
D | InvalidAlgorithmParameterExceptionTest.java | 63 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()
|
D | NoSuchAlgorithmExceptionTest.java | 62 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()
|
D | KeyPairGenerator1Test.java | 110 .concat(invalidValues[i])); in testKeyPairGenerator01() 176 .concat(algs[i]).concat(" provider: ").concat( in testKeyPairGenerator04() 177 invalidValues[j]).concat(")")); in testKeyPairGenerator04() 209 .concat(algs[i]).concat(" provider: ").concat( in testKeyPairGenerator05() 210 validProviderName).concat(")")); in testKeyPairGenerator05() 279 .concat(algs[i]).concat(" provider: ").concat( in testKeyPairGenerator08() 280 validProviderName).concat(")")); in testKeyPairGenerator08()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | InvalidKeySpecExceptionTest.java | 62 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()
|