Index: modules/security2/test/common/unit/java/security/KeyManagementExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/KeyManagementExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/KeyManagementExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs KeyManagementException with no detail message
*/
public void testKeyManagementException01() {
- logln("==test_01: KeyManagementException==");
-
KeyManagementException tE = new KeyManagementException();
assertTrue(errNotExc, tE instanceof KeyManagementException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testKeyManagementException02() {
- logln("==test_02: KeyManagementException==");
-
KeyManagementException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyManagementException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testKeyManagementException03() {
- logln("==test_03: KeyManagementException==");
-
String msg = null;
KeyManagementException tE = new KeyManagementException(msg);
assertTrue(errNotExc, tE instanceof KeyManagementException);
@@ -141,8 +135,6 @@
* null
*/
public void testKeyManagementException04() {
- logln("==test_04: KeyManagementException==");
-
Throwable cause = null;
KeyManagementException tE = new KeyManagementException(cause);
assertTrue(errNotExc, tE instanceof KeyManagementException);
@@ -161,8 +153,6 @@
* not null
*/
public void testKeyManagementException05() {
- logln("==test_05: KeyManagementException==");
-
KeyManagementException tE = new KeyManagementException(tCause);
assertTrue(errNotExc, tE instanceof KeyManagementException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testKeyManagementException06() {
- logln("==test_06: KeyManagementException==");
-
KeyManagementException tE = new KeyManagementException(null, null);
assertTrue(errNotExc, tE instanceof KeyManagementException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -206,8 +194,6 @@
* cause is null msg is not null
*/
public void testKeyManagementException07() {
- logln("==test_07: KeyManagementException==");
-
KeyManagementException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyManagementException(msgs[i], null);
@@ -230,8 +216,6 @@
* cause is not null msg is null
*/
public void testKeyManagementException08() {
- logln("==test_08: KeyManagementException==");
-
KeyManagementException tE = new KeyManagementException(null, tCause);
assertTrue(errNotExc, tE instanceof KeyManagementException);
if (tE.getMessage() != null) {
@@ -256,8 +240,6 @@
* cause is not null msg is not null
*/
public void testKeyManagementException09() {
- logln("==test_09: KeyManagementException==");
-
KeyManagementException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyManagementException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/KeyStoreExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/KeyStoreExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/KeyStoreExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs KeyStoreException with no detail message
*/
public void testKeyStoreException01() {
- logln("==test_01: KeyStoreException==");
-
KeyStoreException tE = new KeyStoreException();
assertTrue(errNotExc, tE instanceof KeyStoreException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testKeyStoreException02() {
- logln("==test_02: KeyStoreException==");
-
KeyStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyStoreException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs KeyStoreException when msg is null
*/
public void testKeyStoreException03() {
- logln("==test_03: KeyStoreException==");
-
String msg = null;
KeyStoreException tE = new KeyStoreException(msg);
assertTrue(errNotExc, tE instanceof KeyStoreException);
@@ -138,8 +132,6 @@
* Assertion: constructs KeyStoreException when cause is null
*/
public void testKeyStoreException04() {
- logln("==test_04: KeyStoreException==");
-
Throwable cause = null;
KeyStoreException tE = new KeyStoreException(cause);
assertTrue(errNotExc, tE instanceof KeyStoreException);
@@ -158,8 +150,6 @@
* null
*/
public void testKeyStoreException05() {
- logln("==test_05: KeyStoreException==");
-
KeyStoreException tE = new KeyStoreException(tCause);
assertTrue(errNotExc, tE instanceof KeyStoreException);
if (tE.getMessage() != null) {
@@ -184,8 +174,6 @@
* msg is null
*/
public void testKeyStoreException06() {
- logln("==test_06: KeyStoreException==");
-
KeyStoreException tE = new KeyStoreException(null, null);
assertTrue(errNotExc, tE instanceof KeyStoreException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -203,8 +191,6 @@
* msg is not null
*/
public void testKeyStoreException07() {
- logln("==test_07: KeyStoreException==");
-
KeyStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyStoreException(msgs[i], null);
@@ -227,8 +213,6 @@
* null msg is null
*/
public void testKeyStoreException08() {
- logln("==test_08: KeyStoreException==");
-
KeyStoreException tE = new KeyStoreException(null, tCause);
assertTrue(errNotExc, tE instanceof KeyStoreException);
if (tE.getMessage() != null) {
@@ -253,8 +237,6 @@
* null msg is not null
*/
public void testKeyStoreException09() {
- logln("==test_09: KeyStoreException==");
-
KeyStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyStoreException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/GeneralSecurityExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/GeneralSecurityExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/GeneralSecurityExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs GeneralSecurityException with no detail message
*/
public void testGeneralSecurityException01() {
- logln("==test_01: GeneralSecurityException==");
-
GeneralSecurityException tE = new GeneralSecurityException();
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testGeneralSecurityException02() {
- logln("==test_02: GeneralSecurityException==");
-
GeneralSecurityException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new GeneralSecurityException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testGeneralSecurityException03() {
- logln("==test_03: GeneralSecurityException==");
-
String msg = null;
GeneralSecurityException tE = new GeneralSecurityException(msg);
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
@@ -141,8 +135,6 @@
* is null
*/
public void testGeneralSecurityException04() {
- logln("==test_04: GeneralSecurityException==");
-
Throwable cause = null;
GeneralSecurityException tE = new GeneralSecurityException(cause);
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
@@ -161,8 +153,6 @@
* is not null
*/
public void testGeneralSecurityException05() {
- logln("==test_05: GeneralSecurityException==");
-
GeneralSecurityException tE = new GeneralSecurityException(tCause);
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testGeneralSecurityException06() {
- logln("==test_06: GeneralSecurityException==");
-
GeneralSecurityException tE = new GeneralSecurityException(null, null);
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -206,8 +194,6 @@
* cause is null msg is not null
*/
public void testGeneralSecurityException07() {
- logln("==test_07: GeneralSecurityException==");
-
GeneralSecurityException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new GeneralSecurityException(msgs[i], null);
@@ -230,8 +216,6 @@
* cause is not null msg is null
*/
public void testGeneralSecurityException08() {
- logln("==test_08: GeneralSecurityException==");
-
GeneralSecurityException tE = new GeneralSecurityException(null, tCause);
assertTrue(errNotExc, tE instanceof GeneralSecurityException);
if (tE.getMessage() != null) {
@@ -256,8 +240,6 @@
* cause is not null msg is not null
*/
public void testGeneralSecurityException09() {
- logln("==test_09: GeneralSecurityException==");
-
GeneralSecurityException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new GeneralSecurityException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/UnrecoverableKeyExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/UnrecoverableKeyExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/UnrecoverableKeyExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs UnrecoverableKeyException with no detail message
*/
public void testUnrecoverableKeyException01() {
- logln("==test_01: UnrecoverableKeyException==");
-
UnrecoverableKeyException tE = new UnrecoverableKeyException();
assertTrue(errNotExc, tE instanceof UnrecoverableKeyException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testUnrecoverableKeyException02() {
- logln("==test_02: UnrecoverableKeyException==");
-
UnrecoverableKeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new UnrecoverableKeyException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testUnrecoverableKeyException03() {
- logln("==test_03: UnrecoverableKeyException==");
-
String msg = null;
UnrecoverableKeyException tE = new UnrecoverableKeyException(msg);
assertTrue(errNotExc, tE instanceof UnrecoverableKeyException);
Index: modules/security2/test/common/unit/java/security/NoSuchAlgorithmExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/NoSuchAlgorithmExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/NoSuchAlgorithmExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs NoSuchAlgorithmException with no detail message
*/
public void testNoSuchAlgorithmException01() {
- logln("==test_01: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE = new NoSuchAlgorithmException();
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testNoSuchAlgorithmException02() {
- logln("==test_02: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new NoSuchAlgorithmException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testNoSuchAlgorithmException03() {
- logln("==test_03: NoSuchAlgorithmException==");
-
String msg = null;
NoSuchAlgorithmException tE = new NoSuchAlgorithmException(msg);
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
@@ -141,8 +135,6 @@
* is null
*/
public void testNoSuchAlgorithmException04() {
- logln("==test_04: NoSuchAlgorithmException==");
-
Throwable cause = null;
NoSuchAlgorithmException tE = new NoSuchAlgorithmException(cause);
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
@@ -161,8 +153,6 @@
* is not null
*/
public void testNoSuchAlgorithmException05() {
- logln("==test_05: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE = new NoSuchAlgorithmException(tCause);
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testNoSuchAlgorithmException06() {
- logln("==test_06: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE = new NoSuchAlgorithmException(null, null);
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -206,8 +194,6 @@
* cause is null msg is not null
*/
public void testNoSuchAlgorithmException07() {
- logln("==test_07: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new NoSuchAlgorithmException(msgs[i], null);
@@ -230,8 +216,6 @@
* cause is not null msg is null
*/
public void testNoSuchAlgorithmException08() {
- logln("==test_08: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE = new NoSuchAlgorithmException(null, tCause);
assertTrue(errNotExc, tE instanceof NoSuchAlgorithmException);
if (tE.getMessage() != null) {
@@ -256,8 +240,6 @@
* cause is not null msg is not null
*/
public void testNoSuchAlgorithmException09() {
- logln("==test_09: NoSuchAlgorithmException==");
-
NoSuchAlgorithmException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new NoSuchAlgorithmException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/NoSuchProviderExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/NoSuchProviderExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/NoSuchProviderExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs NoSuchProviderException with no detail message
*/
public void testNoSuchProviderException01() {
- logln("==test_01: NoSuchProviderException==");
-
NoSuchProviderException tE = new NoSuchProviderException();
assertTrue(errNotExc, tE instanceof NoSuchProviderException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testNoSuchProviderException02() {
- logln("==test_02: NoSuchProviderException==");
-
NoSuchProviderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new NoSuchProviderException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testNoSuchProviderException03() {
- logln("==test_03: NoSuchProviderException==");
-
String msg = null;
NoSuchProviderException tE = new NoSuchProviderException(msg);
assertTrue(errNotExc, tE instanceof NoSuchProviderException);
Index: modules/security2/test/common/unit/java/security/InvalidParameterExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/InvalidParameterExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/InvalidParameterExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs InvalidParameterException with no detail message
*/
public void testInvalidParameterException01() {
- logln("==test_01: InvalidParameterException==");
-
InvalidParameterException tE = new InvalidParameterException();
assertTrue(errNotExc, tE instanceof InvalidParameterException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testInvalidParameterException02() {
- logln("==test_02: InvalidParameterException==");
-
InvalidParameterException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidParameterException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testInvalidParameterException03() {
- logln("==test_03: InvalidParameterException==");
-
String msg = null;
InvalidParameterException tE = new InvalidParameterException(msg);
assertTrue(errNotExc, tE instanceof InvalidParameterException);
Index: modules/security2/test/common/unit/java/security/KeyExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/KeyExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/KeyExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* KeyException with no detail message
*/
public void testKeyException01() {
- logln("==test_01: KeyException==");
-
KeyException tE = new KeyException();
assertTrue(errNotExc, tE instanceof KeyException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testKeyException02() {
- logln("==test_02: KeyException==");
-
KeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs KeyException when msg is null
*/
public void testKeyException03() {
- logln("==test_03: KeyException==");
-
String msg = null;
KeyException tE = new KeyException(msg);
assertTrue(errNotExc, tE instanceof KeyException);
@@ -138,8 +132,6 @@
* constructs KeyException when cause is null
*/
public void testKeyException04() {
- logln("==test_04: KeyException==");
-
Throwable cause = null;
KeyException tE = new KeyException(cause);
assertTrue(errNotExc, tE instanceof KeyException);
@@ -157,8 +149,6 @@
* constructs KeyException when cause is not null
*/
public void testKeyException05() {
- logln("==test_05: KeyException==");
-
KeyException tE = new KeyException(tCause);
assertTrue(errNotExc, tE instanceof KeyException);
if (tE.getMessage() != null) {
@@ -183,8 +173,6 @@
* msg is null
*/
public void testKeyException06() {
- logln("==test_06: KeyException==");
-
KeyException tE = new KeyException(null, null);
assertTrue(errNotExc, tE instanceof KeyException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -202,8 +190,6 @@
* msg is not null
*/
public void testKeyException07() {
- logln("==test_07: KeyException==");
-
KeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyException(msgs[i], null);
@@ -226,8 +212,6 @@
* msg is null
*/
public void testKeyException08() {
- logln("==test_08: KeyException==");
-
KeyException tE = new KeyException(null, tCause);
assertTrue(errNotExc, tE instanceof KeyException);
if (tE.getMessage() != null) {
@@ -252,8 +236,6 @@
* msg is not null
*/
public void testKeyException09() {
- logln("==test_09: KeyException==");
-
KeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new KeyException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/ProviderExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/ProviderExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/ProviderExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs ProviderException with no detail message
*/
public void testProviderException01() {
- logln("==test_01: ProviderException==");
-
ProviderException tE = new ProviderException();
assertTrue(errNotExc, tE instanceof ProviderException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testProviderException02() {
- logln("==test_02: ProviderException==");
-
ProviderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new ProviderException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs ProviderException when msg is null
*/
public void testProviderException03() {
- logln("==test_03: ProviderException==");
-
String msg = null;
ProviderException tE = new ProviderException(msg);
assertTrue(errNotExc, tE instanceof ProviderException);
@@ -138,8 +132,6 @@
* Assertion: constructs ProviderException when cause is null
*/
public void testProviderException04() {
- logln("==test_04: ProviderException==");
-
Throwable cause = null;
ProviderException tE = new ProviderException(cause);
assertTrue(errNotExc, tE instanceof ProviderException);
@@ -158,8 +150,6 @@
* null
*/
public void testProviderException05() {
- logln("==test_05: ProviderException==");
-
ProviderException tE = new ProviderException(tCause);
assertTrue(errNotExc, tE instanceof ProviderException);
if (tE.getMessage() != null) {
@@ -184,8 +174,6 @@
* msg is null
*/
public void testProviderException06() {
- logln("==test_06: ProviderException==");
-
ProviderException tE = new ProviderException(null, null);
assertTrue(errNotExc, tE instanceof ProviderException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -203,8 +191,6 @@
* msg is not null
*/
public void testProviderException07() {
- logln("==test_07: ProviderException==");
-
ProviderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new ProviderException(msgs[i], null);
@@ -227,8 +213,6 @@
* null msg is null
*/
public void testProviderException08() {
- logln("==test_08: ProviderException==");
-
ProviderException tE = new ProviderException(null, tCause);
assertTrue(errNotExc, tE instanceof ProviderException);
if (tE.getMessage() != null) {
@@ -253,8 +237,6 @@
* null msg is not null
*/
public void testProviderException09() {
- logln("==test_09: ProviderException==");
-
ProviderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new ProviderException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/InvalidAlgorithmParameterExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/InvalidAlgorithmParameterExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/InvalidAlgorithmParameterExceptionTest.java (working copy)
@@ -80,8 +80,6 @@
* message
*/
public void testInvalidAlgorithmParameterException01() {
- logln("==test_01: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException();
assertTrue(errNotExc, tE instanceof InvalidAlgorithmParameterException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -99,8 +97,6 @@
* detail message msg. Parameter msg is not null.
*/
public void testInvalidAlgorithmParameterException02() {
- logln("==test_02: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidAlgorithmParameterException(msgs[i]);
@@ -123,8 +119,6 @@
* msg is null
*/
public void testInvalidAlgorithmParameterException03() {
- logln("==test_03: InvalidAlgorithmParameterException==");
-
String msg = null;
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
msg);
@@ -144,8 +138,6 @@
* cause is null
*/
public void testInvalidAlgorithmParameterException04() {
- logln("==test_04: InvalidAlgorithmParameterException==");
-
Throwable cause = null;
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
cause);
@@ -165,8 +157,6 @@
* cause is not null
*/
public void testInvalidAlgorithmParameterException05() {
- logln("==test_05: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
tCause);
assertTrue(errNotExc, tE instanceof InvalidAlgorithmParameterException);
@@ -193,8 +183,6 @@
* cause is null msg is null
*/
public void testInvalidAlgorithmParameterException06() {
- logln("==test_06: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
null, null);
assertTrue(errNotExc, tE instanceof InvalidAlgorithmParameterException);
@@ -214,8 +202,6 @@
* cause is null msg is not null
*/
public void testInvalidAlgorithmParameterException07() {
- logln("==test_07: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidAlgorithmParameterException(msgs[i], null);
@@ -239,8 +225,6 @@
* cause is not null msg is null
*/
public void testInvalidAlgorithmParameterException08() {
- logln("==test_08: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE = new InvalidAlgorithmParameterException(
null, tCause);
assertTrue(errNotExc, tE instanceof InvalidAlgorithmParameterException);
@@ -267,8 +251,6 @@
* cause is not null msg is not null
*/
public void testInvalidAlgorithmParameterException09() {
- logln("==test_09: InvalidAlgorithmParameterException==");
-
InvalidAlgorithmParameterException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidAlgorithmParameterException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CRLExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CRLExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CRLExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* CRLException with no detail message
*/
public void testCRLException01() {
- logln("==test_01: CRLException==");
-
CRLException tE = new CRLException();
assertTrue(errNotExc, tE instanceof CRLException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testCRLException02() {
- logln("==test_02: CRLException==");
-
CRLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CRLException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs CRLException when msg is null
*/
public void testCRLException03() {
- logln("==test_03: CRLException==");
-
String msg = null;
CRLException tE = new CRLException(msg);
assertTrue(errNotExc, tE instanceof CRLException);
@@ -138,8 +132,6 @@
* constructs CRLException when cause is null
*/
public void testCRLException04() {
- logln("==test_04: CRLException==");
-
Throwable cause = null;
CRLException tE = new CRLException(cause);
assertTrue(errNotExc, tE instanceof CRLException);
@@ -157,8 +149,6 @@
* constructs CRLException when cause is not null
*/
public void testCRLException05() {
- logln("==test_05: CRLException==");
-
CRLException tE = new CRLException(tCause);
assertTrue(errNotExc, tE instanceof CRLException);
if (tE.getMessage() != null) {
@@ -183,8 +173,6 @@
* msg is null
*/
public void testCRLException06() {
- logln("==test_06: CRLException==");
-
CRLException tE = new CRLException(null, null);
assertTrue(errNotExc, tE instanceof CRLException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -202,8 +190,6 @@
* msg is not null
*/
public void testCRLException07() {
- logln("==test_07: CRLException==");
-
CRLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CRLException(msgs[i], null);
@@ -226,8 +212,6 @@
* msg is null
*/
public void testCRLException08() {
- logln("==test_08: CRLException==");
-
CRLException tE = new CRLException(null, tCause);
assertTrue(errNotExc, tE instanceof CRLException);
if (tE.getMessage() != null) {
@@ -252,8 +236,6 @@
* msg is not null
*/
public void testCRLException09() {
- logln("==test_09: CRLException==");
-
CRLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CRLException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CertPathBuilderExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertPathBuilderExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertPathBuilderExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs CertPathBuilderException with no detail message
*/
public void testCertPathBuilderException01() {
- logln("==test_01: CertPathBuilderException==");
-
CertPathBuilderException tE = new CertPathBuilderException();
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testCertPathBuilderException02() {
- logln("==test_02: CertPathBuilderException==");
-
CertPathBuilderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathBuilderException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testCertPathBuilderException03() {
- logln("==test_03: CertPathBuilderException==");
-
String msg = null;
CertPathBuilderException tE = new CertPathBuilderException(msg);
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
@@ -141,8 +135,6 @@
* is null
*/
public void testCertPathBuilderException04() {
- logln("==test_04: CertPathBuilderException==");
-
Throwable cause = null;
CertPathBuilderException tE = new CertPathBuilderException(cause);
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
@@ -161,8 +153,6 @@
* is not null
*/
public void testCertPathBuilderException05() {
- logln("==test_05: CertPathBuilderException==");
-
CertPathBuilderException tE = new CertPathBuilderException(tCause);
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testCertPathBuilderException06() {
- logln("==test_06: CertPathBuilderException==");
-
CertPathBuilderException tE = new CertPathBuilderException(null, null);
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -206,8 +194,6 @@
* cause is null msg is not null
*/
public void testCertPathBuilderException07() {
- logln("==test_07: CertPathBuilderException==");
-
CertPathBuilderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathBuilderException(msgs[i], null);
@@ -230,8 +216,6 @@
* cause is not null msg is null
*/
public void testCertPathBuilderException08() {
- logln("==test_08: CertPathBuilderException==");
-
CertPathBuilderException tE = new CertPathBuilderException(null, tCause);
assertTrue(errNotExc, tE instanceof CertPathBuilderException);
if (tE.getMessage() != null) {
@@ -256,8 +240,6 @@
* cause is not null msg is not null
*/
public void testCertPathBuilderException09() {
- logln("==test_09: CertPathBuilderException==");
-
CertPathBuilderException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathBuilderException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CertificateExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertificateExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertificateExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs CertificateException with no detail message
*/
public void testCertificateException01() {
- logln("==test_01: CertificateException==");
-
CertificateException tE = new CertificateException();
assertTrue(errNotExc, tE instanceof CertificateException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* Parameter msg is not null.
*/
public void testCertificateException02() {
- logln("==test_02: CertificateException==");
-
CertificateException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateException(msgs[i]);
@@ -120,8 +116,6 @@
* null
*/
public void testCertificateException03() {
- logln("==test_03: CertificateException==");
-
String msg = null;
CertificateException tE = new CertificateException(msg);
assertTrue(errNotExc, tE instanceof CertificateException);
@@ -140,8 +134,6 @@
* null
*/
public void testCertificateException04() {
- logln("==test_04: CertificateException==");
-
Throwable cause = null;
CertificateException tE = new CertificateException(cause);
assertTrue(errNotExc, tE instanceof CertificateException);
@@ -160,8 +152,6 @@
* not null
*/
public void testCertificateException05() {
- logln("==test_05: CertificateException==");
-
CertificateException tE = new CertificateException(tCause);
assertTrue(errNotExc, tE instanceof CertificateException);
if (tE.getMessage() != null) {
@@ -186,8 +176,6 @@
* cause is null msg is null
*/
public void testCertificateException06() {
- logln("==test_06: CertificateException==");
-
CertificateException tE = new CertificateException(null, null);
assertTrue(errNotExc, tE instanceof CertificateException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -205,8 +193,6 @@
* cause is null msg is not null
*/
public void testCertificateException07() {
- logln("==test_07: CertificateException==");
-
CertificateException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateException(msgs[i], null);
@@ -229,8 +215,6 @@
* cause is not null msg is null
*/
public void testCertificateException08() {
- logln("==test_08: CertificateException==");
-
CertificateException tE = new CertificateException(null, tCause);
assertTrue(errNotExc, tE instanceof CertificateException);
if (tE.getMessage() != null) {
@@ -255,8 +239,6 @@
* cause is not null msg is not null
*/
public void testCertificateException09() {
- logln("==test_09: CertificateException==");
-
CertificateException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CertStoreExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertStoreExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertStoreExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs CertStoreException with no detail message
*/
public void testCertStoreException01() {
- logln("==test_01: CertStoreException==");
-
CertStoreException tE = new CertStoreException();
assertTrue(errNotExc, tE instanceof CertStoreException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testCertStoreException02() {
- logln("==test_02: CertStoreException==");
-
CertStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertStoreException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs CertStoreException when msg is null
*/
public void testCertStoreException03() {
- logln("==test_03: CertStoreException==");
-
String msg = null;
CertStoreException tE = new CertStoreException(msg);
assertTrue(errNotExc, tE instanceof CertStoreException);
@@ -139,8 +133,6 @@
* null
*/
public void testCertStoreException04() {
- logln("==test_04: CertStoreException==");
-
Throwable cause = null;
CertStoreException tE = new CertStoreException(cause);
assertTrue(errNotExc, tE instanceof CertStoreException);
@@ -159,8 +151,6 @@
* null
*/
public void testCertStoreException05() {
- logln("==test_05: CertStoreException==");
-
CertStoreException tE = new CertStoreException(tCause);
assertTrue(errNotExc, tE instanceof CertStoreException);
if (tE.getMessage() != null) {
@@ -185,8 +175,6 @@
* null msg is null
*/
public void testCertStoreException06() {
- logln("==test_06: CertStoreException==");
-
CertStoreException tE = new CertStoreException(null, null);
assertTrue(errNotExc, tE instanceof CertStoreException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -204,8 +192,6 @@
* null msg is not null
*/
public void testCertStoreException07() {
- logln("==test_07: CertStoreException==");
-
CertStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertStoreException(msgs[i], null);
@@ -228,8 +214,6 @@
* null msg is null
*/
public void testCertStoreException08() {
- logln("==test_08: CertStoreException==");
-
CertStoreException tE = new CertStoreException(null, tCause);
assertTrue(errNotExc, tE instanceof CertStoreException);
if (tE.getMessage() != null) {
@@ -254,8 +238,6 @@
* null msg is not null
*/
public void testCertStoreException09() {
- logln("==test_09: CertStoreException==");
-
CertStoreException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertStoreException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CertPathValidatorExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertPathValidatorExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertPathValidatorExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* Assertion: constructs CertPathValidatorException with no detail message
*/
public void testCertPathValidatorException01() {
- logln("==test_01: CertPathValidatorException==");
-
CertPathValidatorException tE = new CertPathValidatorException();
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -98,8 +96,6 @@
* Parameter msg is not null.
*/
public void testCertPathValidatorException02() {
- logln("==test_02: CertPathValidatorException==");
-
CertPathValidatorException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathValidatorException(msgs[i]);
@@ -122,8 +118,6 @@
* is null
*/
public void testCertPathValidatorException03() {
- logln("==test_03: CertPathValidatorException==");
-
String msg = null;
CertPathValidatorException tE = new CertPathValidatorException(msg);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
@@ -142,8 +136,6 @@
* is null
*/
public void testCertPathValidatorException04() {
- logln("==test_04: CertPathValidatorException==");
-
Throwable cause = null;
CertPathValidatorException tE = new CertPathValidatorException(cause);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
@@ -162,8 +154,6 @@
* is not null
*/
public void testCertPathValidatorException05() {
- logln("==test_05: CertPathValidatorException==");
-
CertPathValidatorException tE = new CertPathValidatorException(tCause);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
if (tE.getMessage() != null) {
@@ -188,8 +178,6 @@
* cause is null msg is null
*/
public void testCertPathValidatorException06() {
- logln("==test_06: CertPathValidatorException==");
-
CertPathValidatorException tE = new CertPathValidatorException(null,
null);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
@@ -208,8 +196,6 @@
* cause is null msg is not null
*/
public void testCertPathValidatorException07() {
- logln("==test_07: CertPathValidatorException==");
-
CertPathValidatorException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathValidatorException(msgs[i], null);
@@ -232,8 +218,6 @@
* cause is not null msg is null
*/
public void testCertPathValidatorException08() {
- logln("==test_08: CertPathValidatorException==");
-
CertPathValidatorException tE = new CertPathValidatorException(null,
tCause);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
@@ -259,8 +243,6 @@
* cause is not null msg is not null
*/
public void testCertPathValidatorException09() {
- logln("==test_09: CertPathValidatorException==");
-
CertPathValidatorException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertPathValidatorException(msgs[i], tCause);
@@ -296,8 +278,6 @@
* certPath is null index is -1
*/
public void testCertPathValidatorException10() {
- logln("==test_10: CertPathValidatorException==");
-
CertPathValidatorException tE = new CertPathValidatorException(null,
null, null, -1);
assertTrue(errNotExc, tE instanceof CertPathValidatorException);
@@ -321,8 +301,6 @@
* IllegalArgumentException
*/
public void testCertPathValidatorException11() {
- logln("==test_11: CertPathValidatorException==");
-
CertPathValidatorException tE;
int[] indx = { 0, 1, 100, Integer.MAX_VALUE, Integer.MIN_VALUE };
for (int j = 0; j < indx.length; j++) {
@@ -348,8 +326,6 @@
* certPath is null index is -1
*/
public void testCertPathValidatorException12() {
- logln("==test_12: CertPathValidatorException==");
-
CertPathValidatorException tE;
for (int i = 0; i < msgs.length; i++) {
@@ -394,8 +370,6 @@
* certPath.getCertificates().size() throws: IndexOutOfBoundsException
*/
public void testCertPathValidatorException13() {
- logln("==test_13: CertPathValidatorException==");
-
CertPathValidatorException tE;
myCertPath mcp = new myCertPath("X.509", "");
CertPath cp = mcp.get("X.509");
@@ -425,8 +399,6 @@
* certPath.getCertificates().size()
*/
public void testCertPathValidatorException14() {
- logln("==test_14: CertPathValidatorException==");
-
CertPathValidatorException tE;
myCertPath mcp = new myCertPath("X.509", "");
CertPath cp = mcp.get("X.509");
Index: modules/security2/test/common/unit/java/security/cert/CertificateEncodingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertificateEncodingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertificateEncodingExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs CertificateEncodingException with no detail message
*/
public void testCertificateEncodingException01() {
- logln("==test_01: CertificateEncodingException==");
-
CertificateEncodingException tE = new CertificateEncodingException();
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateEncodingException02() {
- logln("==test_02: CertificateEncodingException==");
-
CertificateEncodingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateEncodingException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testCertificateEncodingException03() {
- logln("==test_03: CertificateEncodingException==");
-
String msg = null;
CertificateEncodingException tE = new CertificateEncodingException(msg);
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
@@ -141,8 +135,6 @@
* cause is null
*/
public void testCertificateEncodingException04() {
- logln("==test_04: CertificateEncodingException==");
-
Throwable cause = null;
CertificateEncodingException tE = new CertificateEncodingException(
cause);
@@ -162,8 +154,6 @@
* cause is not null
*/
public void testCertificateEncodingException05() {
- logln("==test_05: CertificateEncodingException==");
-
CertificateEncodingException tE = new CertificateEncodingException(
tCause);
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
@@ -189,8 +179,6 @@
* cause is null msg is null
*/
public void testCertificateEncodingException06() {
- logln("==test_06: CertificateEncodingException==");
-
CertificateEncodingException tE = new CertificateEncodingException(
null, null);
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
@@ -209,8 +197,6 @@
* cause is null msg is not null
*/
public void testCertificateEncodingException07() {
- logln("==test_07: CertificateEncodingException==");
-
CertificateEncodingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateEncodingException(msgs[i], null);
@@ -233,8 +219,6 @@
* cause is not null msg is null
*/
public void testCertificateEncodingException08() {
- logln("==test_08: CertificateEncodingException==");
-
CertificateEncodingException tE = new CertificateEncodingException(
null, tCause);
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
@@ -260,8 +244,6 @@
* cause is not null msg is not null
*/
public void testCertificateEncodingException09() {
- logln("==test_09: CertificateEncodingException==");
-
CertificateEncodingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateEncodingException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/cert/CertificateExpiredExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertificateExpiredExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertificateExpiredExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* Assertion: constructs CertificateExpiredException with no detail message
*/
public void testCertificateExpiredException01() {
- logln("==test_01: CertificateExpiredException==");
-
CertificateExpiredException tE = new CertificateExpiredException();
assertTrue(errNotExc, tE instanceof CertificateExpiredException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateExpiredException02() {
- logln("==test_02: CertificateExpiredException==");
-
CertificateExpiredException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateExpiredException(msgs[i]);
@@ -120,8 +116,6 @@
* is null
*/
public void testCertificateExpiredException03() {
- logln("==test_03: CertificateExpiredException==");
-
String msg = null;
CertificateExpiredException tE = new CertificateExpiredException(msg);
assertTrue(errNotExc, tE instanceof CertificateExpiredException);
Index: modules/security2/test/common/unit/java/security/cert/CertificateNotYetValidExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertificateNotYetValidExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertificateNotYetValidExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* message
*/
public void testCertificateNotYetValidException01() {
- logln("==test_01: CertificateNotYetValidException==");
-
CertificateNotYetValidException tE = new CertificateNotYetValidException();
assertTrue(errNotExc, tE instanceof CertificateNotYetValidException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -98,8 +96,6 @@
* detail message msg. Parameter msg is not null.
*/
public void testCertificateNotYetValidException02() {
- logln("==test_02: CertificateNotYetValidException==");
-
CertificateNotYetValidException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateNotYetValidException(msgs[i]);
@@ -122,8 +118,6 @@
* msg is null
*/
public void testCertificateNotYetValidException03() {
- logln("==test_03: CertificateNotYetValidException==");
-
String msg = null;
CertificateNotYetValidException tE = new CertificateNotYetValidException(
msg);
Index: modules/security2/test/common/unit/java/security/cert/CertificateParsingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/cert/CertificateParsingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/cert/CertificateParsingExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs CertificateParsingException with no detail message
*/
public void testCertificateParsingException01() {
- logln("==test_01: CertificateParsingException==");
-
CertificateParsingException tE = new CertificateParsingException();
assertTrue(errNotExc, tE instanceof CertificateParsingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateParsingException02() {
- logln("==test_02: CertificateParsingException==");
-
CertificateParsingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateParsingException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testCertificateParsingException03() {
- logln("==test_03: CertificateParsingException==");
-
String msg = null;
CertificateParsingException tE = new CertificateParsingException(msg);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
@@ -141,8 +135,6 @@
* cause is null
*/
public void testCertificateParsingException04() {
- logln("==test_04: CertificateParsingException==");
-
Throwable cause = null;
CertificateParsingException tE = new CertificateParsingException(cause);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
@@ -161,8 +153,6 @@
* cause is not null
*/
public void testCertificateParsingException05() {
- logln("==test_05: CertificateParsingException==");
-
CertificateParsingException tE = new CertificateParsingException(tCause);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testCertificateParsingException06() {
- logln("==test_06: CertificateParsingException==");
-
CertificateParsingException tE = new CertificateParsingException(null,
null);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
@@ -207,8 +195,6 @@
* cause is null msg is not null
*/
public void testCertificateParsingException07() {
- logln("==test_07: CertificateParsingException==");
-
CertificateParsingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateParsingException(msgs[i], null);
@@ -231,8 +217,6 @@
* cause is not null msg is null
*/
public void testCertificateParsingException08() {
- logln("==test_08: CertificateParsingException==");
-
CertificateParsingException tE = new CertificateParsingException(null,
tCause);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
@@ -258,8 +242,6 @@
* cause is not null msg is not null
*/
public void testCertificateParsingException09() {
- logln("==test_09: CertificateParsingException==");
-
CertificateParsingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateParsingException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/InvalidKeyExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/InvalidKeyExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/InvalidKeyExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs InvalidKeyException with no detail message
*/
public void testInvalidKeyException01() {
- logln("==test_01: InvalidKeyException==");
-
InvalidKeyException tE = new InvalidKeyException();
assertTrue(errNotExc, tE instanceof InvalidKeyException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* Parameter msg is not null.
*/
public void testInvalidKeyException02() {
- logln("==test_02: InvalidKeyException==");
-
InvalidKeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeyException(msgs[i]);
@@ -119,8 +115,6 @@
* Assertion: constructs InvalidKeyException when msg is null
*/
public void testInvalidKeyException03() {
- logln("==test_03: InvalidKeyException==");
-
String msg = null;
InvalidKeyException tE = new InvalidKeyException(msg);
assertTrue(errNotExc, tE instanceof InvalidKeyException);
@@ -139,8 +133,6 @@
* null
*/
public void testInvalidKeyException04() {
- logln("==test_04: InvalidKeyException==");
-
Throwable cause = null;
InvalidKeyException tE = new InvalidKeyException(cause);
assertTrue(errNotExc, tE instanceof InvalidKeyException);
@@ -159,8 +151,6 @@
* not null
*/
public void testInvalidKeyException05() {
- logln("==test_05: InvalidKeyException==");
-
InvalidKeyException tE = new InvalidKeyException(tCause);
assertTrue(errNotExc, tE instanceof InvalidKeyException);
if (tE.getMessage() != null) {
@@ -185,8 +175,6 @@
* cause is null msg is null
*/
public void testInvalidKeyException06() {
- logln("==test_06: InvalidKeyException==");
-
InvalidKeyException tE = new InvalidKeyException(null, null);
assertTrue(errNotExc, tE instanceof InvalidKeyException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -204,8 +192,6 @@
* cause is null msg is not null
*/
public void testInvalidKeyException07() {
- logln("==test_07: InvalidKeyException==");
-
InvalidKeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeyException(msgs[i], null);
@@ -228,8 +214,6 @@
* cause is not null msg is null
*/
public void testInvalidKeyException08() {
- logln("==test_08: InvalidKeyException==");
-
InvalidKeyException tE = new InvalidKeyException(null, tCause);
assertTrue(errNotExc, tE instanceof InvalidKeyException);
if (tE.getMessage() != null) {
@@ -254,8 +238,6 @@
* cause is not null msg is not null
*/
public void testInvalidKeyException09() {
- logln("==test_09: InvalidKeyException==");
-
InvalidKeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeyException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/spec/InvalidParameterSpecExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/spec/InvalidParameterSpecExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/spec/InvalidParameterSpecExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* message
*/
public void testInvalidParameterSpecException01() {
- logln("==test_01: InvalidParameterSpecException==");
-
InvalidParameterSpecException tE = new InvalidParameterSpecException();
assertTrue(errNotExc, tE instanceof InvalidParameterSpecException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -98,8 +96,6 @@
* msg. Parameter msg is not null.
*/
public void testInvalidParameterSpecException02() {
- logln("==test_02: InvalidParameterSpecException==");
-
InvalidParameterSpecException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidParameterSpecException(msgs[i]);
@@ -122,8 +118,6 @@
* is null
*/
public void testInvalidParameterSpecException03() {
- logln("==test_03: InvalidParameterSpecException==");
-
String msg = null;
InvalidParameterSpecException tE = new InvalidParameterSpecException(
msg);
Index: modules/security2/test/common/unit/java/security/spec/InvalidKeySpecExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/spec/InvalidKeySpecExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/spec/InvalidKeySpecExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs InvalidKeySpecException with no detail message
*/
public void testInvalidKeySpecException01() {
- logln("==test_01: InvalidKeySpecException==");
-
InvalidKeySpecException tE = new InvalidKeySpecException();
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testInvalidKeySpecException02() {
- logln("==test_02: InvalidKeySpecException==");
-
InvalidKeySpecException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeySpecException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testInvalidKeySpecException03() {
- logln("==test_03: InvalidKeySpecException==");
-
String msg = null;
InvalidKeySpecException tE = new InvalidKeySpecException(msg);
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
@@ -141,8 +135,6 @@
* is null
*/
public void testInvalidKeySpecException04() {
- logln("==test_04: InvalidKeySpecException==");
-
Throwable cause = null;
InvalidKeySpecException tE = new InvalidKeySpecException(cause);
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
@@ -161,8 +153,6 @@
* is not null
*/
public void testInvalidKeySpecException05() {
- logln("==test_05: InvalidKeySpecException==");
-
InvalidKeySpecException tE = new InvalidKeySpecException(tCause);
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
if (tE.getMessage() != null) {
@@ -187,8 +177,6 @@
* cause is null msg is null
*/
public void testInvalidKeySpecException06() {
- logln("==test_06: InvalidKeySpecException==");
-
InvalidKeySpecException tE = new InvalidKeySpecException(null, null);
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -206,8 +194,6 @@
* cause is null msg is not null
*/
public void testInvalidKeySpecException07() {
- logln("==test_07: InvalidKeySpecException==");
-
InvalidKeySpecException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeySpecException(msgs[i], null);
@@ -230,8 +216,6 @@
* cause is not null msg is null
*/
public void testInvalidKeySpecException08() {
- logln("==test_08: InvalidKeySpecException==");
-
InvalidKeySpecException tE = new InvalidKeySpecException(null, tCause);
assertTrue(errNotExc, tE instanceof InvalidKeySpecException);
if (tE.getMessage() != null) {
@@ -256,8 +240,6 @@
* cause is not null msg is not null
*/
public void testInvalidKeySpecException09() {
- logln("==test_09: InvalidKeySpecException==");
-
InvalidKeySpecException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new InvalidKeySpecException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/SignatureExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/SignatureExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/SignatureExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs SignatureException with no detail message
*/
public void testSignatureException01() {
- logln("==test_01: SignatureException==");
-
SignatureException tE = new SignatureException();
assertTrue(errNotExc, tE instanceof SignatureException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testSignatureException02() {
- logln("==test_02: SignatureException==");
-
SignatureException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SignatureException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs SignatureException when msg is null
*/
public void testSignatureException03() {
- logln("==test_03: SignatureException==");
-
String msg = null;
SignatureException tE = new SignatureException(msg);
assertTrue(errNotExc, tE instanceof SignatureException);
@@ -139,8 +133,6 @@
* null
*/
public void testSignatureException04() {
- logln("==test_04: SignatureException==");
-
Throwable cause = null;
SignatureException tE = new SignatureException(cause);
assertTrue(errNotExc, tE instanceof SignatureException);
@@ -159,8 +151,6 @@
* null
*/
public void testSignatureException05() {
- logln("==test_05: SignatureException==");
-
SignatureException tE = new SignatureException(tCause);
assertTrue(errNotExc, tE instanceof SignatureException);
if (tE.getMessage() != null) {
@@ -185,8 +175,6 @@
* null msg is null
*/
public void testSignatureException06() {
- logln("==test_06: SignatureException==");
-
SignatureException tE = new SignatureException(null, null);
assertTrue(errNotExc, tE instanceof SignatureException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -204,8 +192,6 @@
* null msg is not null
*/
public void testSignatureException07() {
- logln("==test_07: SignatureException==");
-
SignatureException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SignatureException(msgs[i], null);
@@ -228,8 +214,6 @@
* null msg is null
*/
public void testSignatureException08() {
- logln("==test_08: SignatureException==");
-
SignatureException tE = new SignatureException(null, tCause);
assertTrue(errNotExc, tE instanceof SignatureException);
if (tE.getMessage() != null) {
@@ -254,8 +238,6 @@
* null msg is not null
*/
public void testSignatureException09() {
- logln("==test_09: SignatureException==");
-
SignatureException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SignatureException(msgs[i], tCause);
Index: modules/security2/test/common/unit/java/security/DigestExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/java/security/DigestExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/java/security/DigestExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs DigestException with no detail message
*/
public void testDigestException01() {
- logln("==test_01: DigestException==");
-
DigestException tE = new DigestException();
assertTrue(errNotExc, tE instanceof DigestException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg is not null.
*/
public void testDigestException02() {
- logln("==test_02: DigestException==");
-
DigestException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new DigestException(msgs[i]);
@@ -119,8 +115,6 @@
* constructs DigestException when msg is null
*/
public void testDigestException03() {
- logln("==test_03: DigestException==");
-
String msg = null;
DigestException tE = new DigestException(msg);
assertTrue(errNotExc, tE instanceof DigestException);
@@ -138,8 +132,6 @@
* constructs DigestException when cause is null
*/
public void testDigestException04() {
- logln("==test_04: DigestException==");
-
Throwable cause = null;
DigestException tE = new DigestException(cause);
assertTrue(errNotExc, tE instanceof DigestException);
@@ -157,8 +149,6 @@
* constructs DigestException when cause is not null
*/
public void testDigestException05() {
- logln("==test_05: DigestException==");
-
DigestException tE = new DigestException(tCause);
assertTrue(errNotExc, tE instanceof DigestException);
if (tE.getMessage() != null) {
@@ -183,8 +173,6 @@
* msg is null
*/
public void testDigestException06() {
- logln("==test_06: DigestException==");
-
DigestException tE = new DigestException(null, null);
assertTrue(errNotExc, tE instanceof DigestException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -202,8 +190,6 @@
* msg is not null
*/
public void testDigestException07() {
- logln("==test_07: DigestException==");
-
DigestException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new DigestException(msgs[i], null);
@@ -226,8 +212,6 @@
* null msg is null
*/
public void testDigestException08() {
- logln("==test_08: DigestException==");
-
DigestException tE = new DigestException(null, tCause);
assertTrue(errNotExc, tE instanceof DigestException);
if (tE.getMessage() != null) {
@@ -252,8 +236,6 @@
* null msg is not null
*/
public void testDigestException09() {
- logln("==test_09: DigestException==");
-
DigestException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new DigestException(msgs[i], tCause);
Index: modules/security2/test/common/unit/javax/crypto/NoSuchPaddingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/crypto/NoSuchPaddingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/crypto/NoSuchPaddingExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* constructs NoSuchPaddingException with no detail message
*/
public void testNoSuchPaddingException01() {
- logln("==test_01: NoSuchPaddingException==");
-
NoSuchPaddingException tE = new NoSuchPaddingException();
assertTrue(errNotExc, tE instanceof NoSuchPaddingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testNoSuchPaddingException02() {
- logln("==test_02: NoSuchPaddingException==");
-
NoSuchPaddingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new NoSuchPaddingException(msgs[i]);
@@ -121,8 +117,6 @@
* null
*/
public void testNoSuchPaddingException03() {
- logln("==test_03: NoSuchPaddingException==");
-
String msg = null;
NoSuchPaddingException tE = new NoSuchPaddingException(msg);
assertTrue(errNotExc, tE instanceof NoSuchPaddingException);
Index: modules/security2/test/common/unit/javax/crypto/ExemptionMechanismExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/crypto/ExemptionMechanismExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/crypto/ExemptionMechanismExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs ExemptionMechanismException with no detail message
*/
public void testExemptionMechanismException01() {
- logln("==test_01: ExemptionMechanismException==");
-
ExemptionMechanismException tE = new ExemptionMechanismException();
assertTrue(errNotExc, tE instanceof ExemptionMechanismException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* msg. Parameter msg is not null.
*/
public void testExemptionMechanismException02() {
- logln("==test_02: ExemptionMechanismException==");
-
ExemptionMechanismException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new ExemptionMechanismException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testExemptionMechanismException03() {
- logln("==test_03: ExemptionMechanismException==");
-
String msg = null;
ExemptionMechanismException tE = new ExemptionMechanismException(msg);
assertTrue(errNotExc, tE instanceof ExemptionMechanismException);
Index: modules/security2/test/common/unit/javax/crypto/IllegalBlockSizeExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/crypto/IllegalBlockSizeExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/crypto/IllegalBlockSizeExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Assertion: constructs IllegalBlockSizeException with no detail message
*/
public void testIllegalBlockSizeException01() {
- logln("==test_01: IllegalBlockSizeException==");
-
IllegalBlockSizeException tE = new IllegalBlockSizeException();
assertTrue(errNotExc, tE instanceof IllegalBlockSizeException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -97,8 +95,6 @@
* Parameter msg is not null.
*/
public void testIllegalBlockSizeException02() {
- logln("==test_02: IllegalBlockSizeException==");
-
IllegalBlockSizeException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new IllegalBlockSizeException(msgs[i]);
@@ -121,8 +117,6 @@
* is null
*/
public void testIllegalBlockSizeException03() {
- logln("==test_03: IllegalBlockSizeException==");
-
String msg = null;
IllegalBlockSizeException tE = new IllegalBlockSizeException(msg);
assertTrue(errNotExc, tE instanceof IllegalBlockSizeException);
Index: modules/security2/test/common/unit/javax/crypto/ShortBufferExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/crypto/ShortBufferExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/crypto/ShortBufferExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs ShortBufferException with no detail message
*/
public void testShortBufferException01() {
- logln("==test_01: ShortBufferException==");
-
ShortBufferException tE = new ShortBufferException();
assertTrue(errNotExc, tE instanceof ShortBufferException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* Parameter msg is not null.
*/
public void testShortBufferException02() {
- logln("==test_02: ShortBufferException==");
-
ShortBufferException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new ShortBufferException(msgs[i]);
@@ -120,8 +116,6 @@
* null
*/
public void testShortBufferException03() {
- logln("==test_03: ShortBufferException==");
-
String msg = null;
ShortBufferException tE = new ShortBufferException(msg);
assertTrue(errNotExc, tE instanceof ShortBufferException);
Index: modules/security2/test/common/unit/javax/crypto/BadPaddingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/crypto/BadPaddingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/crypto/BadPaddingExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs BadPaddingException with no detail message
*/
public void testBadPaddingException01() {
- logln("==test_01: BadPaddingException==");
-
BadPaddingException tE = new BadPaddingException();
assertTrue(errNotExc, tE instanceof BadPaddingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* Parameter msg is not null.
*/
public void testBadPaddingException02() {
- logln("==test_02: BadPaddingException==");
-
BadPaddingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new BadPaddingException(msgs[i]);
@@ -119,8 +115,6 @@
* Assertion: constructs BadPaddingException when msg is null
*/
public void testBadPaddingException03() {
- logln("==test_03: BadPaddingException==");
-
String msg = null;
BadPaddingException tE = new BadPaddingException(msg);
assertTrue(errNotExc, tE instanceof BadPaddingException);
Index: modules/security2/test/common/unit/javax/net/ssl/SSLProtocolExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/net/ssl/SSLProtocolExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/net/ssl/SSLProtocolExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* Parameter msg is not null.
*/
public void testSSLProtocolException01() {
- logln("==test_01: SSLProtocolException==");
-
SSLProtocolException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLProtocolException(msgs[i]);
@@ -102,8 +100,6 @@
* null
*/
public void testSSLProtocolException02() {
- logln("==test_02: SSLProtocolException==");
-
String msg = null;
SSLProtocolException tE = new SSLProtocolException(msg);
assertTrue(errNotExc, tE instanceof SSLProtocolException);
Index: modules/security2/test/common/unit/javax/net/ssl/SSLPeerUnverifiedExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/net/ssl/SSLPeerUnverifiedExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/net/ssl/SSLPeerUnverifiedExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* Parameter msg is not null.
*/
public void testSSLPeerUnverifiedException01() {
- logln("==test_01: SSLPeerUnverifiedException==");
-
SSLPeerUnverifiedException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLPeerUnverifiedException(msgs[i]);
@@ -103,8 +101,6 @@
* is null
*/
public void testSSLPeerUnverifiedException02() {
- logln("==test_02: SSLPeerUnverifiedException==");
-
String msg = null;
SSLPeerUnverifiedException tE = new SSLPeerUnverifiedException(msg);
assertTrue(errNotExc, tE instanceof SSLPeerUnverifiedException);
Index: modules/security2/test/common/unit/javax/net/ssl/SSLExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/net/ssl/SSLExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/net/ssl/SSLExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* msg is not null.
*/
public void testSSLException01() {
- logln("==test_01: SSLException==");
-
SSLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLException(msgs[i]);
@@ -101,8 +99,6 @@
* constructs SSLException when msg is null
*/
public void testSSLException02() {
- logln("==test_02: SSLException==");
-
String msg = null;
SSLException tE = new SSLException(msg);
assertTrue(errNotExc, tE instanceof SSLException);
@@ -120,8 +116,6 @@
* constructs DigestException when cause is null
*/
public void testSSLException03() {
- logln("==test_03: SSLException==");
-
Throwable cause = null;
SSLException tE = new SSLException(cause);
assertTrue(errNotExc, tE instanceof SSLException);
@@ -139,8 +133,6 @@
* constructs SSLException when cause is not null
*/
public void testSSLException04() {
- logln("==test_04: SSLException==");
-
SSLException tE = new SSLException(tCause);
assertTrue(errNotExc, tE instanceof SSLException);
if (tE.getMessage() != null) {
@@ -169,8 +161,6 @@
* msg is null
*/
public void testSSLException05() {
- logln("==test_05: SSLException==");
-
SSLException tE = new SSLException(null, null);
assertTrue(errNotExc, tE instanceof SSLException);
assertNull("getMessage() must return null", tE.getMessage());
@@ -188,8 +178,6 @@
* msg is not null
*/
public void testSSLException06() {
- logln("==test_06: SSLException==");
-
SSLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLException(msgs[i], null);
@@ -212,8 +200,6 @@
* msg is null
*/
public void testSSLException07() {
- logln("==test_07: SSLException==");
-
SSLException tE = new SSLException(null, tCause);
assertTrue(errNotExc, tE instanceof SSLException);
if (tE.getMessage() != null) {
@@ -242,8 +228,6 @@
* msg is not null
*/
public void testSSLException08() {
- logln("==test_08: SSLException==");
-
SSLException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLException(msgs[i], tCause);
Index: modules/security2/test/common/unit/javax/net/ssl/SSLHandshakeExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/net/ssl/SSLHandshakeExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/net/ssl/SSLHandshakeExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* Parameter msg is not null.
*/
public void testSSLHandshakeException01() {
- logln("==test_01: SSLHandshakeException==");
-
SSLHandshakeException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLHandshakeException(msgs[i]);
@@ -103,8 +101,6 @@
* null
*/
public void testSSLHandshakeException02() {
- logln("==test_02: SSLHandshakeException==");
-
String msg = null;
SSLHandshakeException tE = new SSLHandshakeException(msg);
assertTrue(errNotExc, tE instanceof SSLHandshakeException);
Index: modules/security2/test/common/unit/javax/net/ssl/SSLKeyExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/net/ssl/SSLKeyExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/net/ssl/SSLKeyExceptionTest.java (working copy)
@@ -78,8 +78,6 @@
* msg is not null.
*/
public void testSSLKeyException01() {
- logln("==test_01: SSLKeyException==");
-
SSLKeyException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new SSLKeyException(msgs[i]);
@@ -101,8 +99,6 @@
* constructs SSLKeyException when msg is null
*/
public void testSSLKeyException02() {
- logln("==test_02: SSLKeyException==");
-
String msg = null;
SSLKeyException tE = new SSLKeyException(msg);
assertTrue(errNotExc, tE instanceof SSLKeyException);
Index: modules/security2/test/common/unit/javax/security/cert/CertificateExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/security/cert/CertificateExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/security/cert/CertificateExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* constructs CertificateException with no detail message
*/
public void testCertificateException01() {
- logln("==test_01: CertificateException==");
-
CertificateException tE = new CertificateException();
assertTrue(errNotExc, tE instanceof CertificateException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* Parameter msg is not null.
*/
public void testCertificateException02() {
- logln("==test_02: CertificateException==");
-
CertificateException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateException(msgs[i]);
@@ -120,8 +116,6 @@
* null
*/
public void testCertificateException03() {
- logln("==test_03: CertificateException==");
-
String msg = null;
CertificateException tE = new CertificateException(msg);
assertTrue(errNotExc, tE instanceof CertificateException);
Index: modules/security2/test/common/unit/javax/security/cert/CertificateExpiredExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/security/cert/CertificateExpiredExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/security/cert/CertificateExpiredExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* Assertion: constructs CertificateExpiredException with no detail message
*/
public void testCertificateExpiredException01() {
- logln("==test_01: CertificateExpiredException==");
-
CertificateExpiredException tE = new CertificateExpiredException();
assertTrue(errNotExc, tE instanceof CertificateExpiredException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateExpiredException02() {
- logln("==test_02: CertificateExpiredException==");
-
CertificateExpiredException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateExpiredException(msgs[i]);
@@ -120,8 +116,6 @@
* is null
*/
public void testCertificateExpiredException03() {
- logln("==test_03: CertificateExpiredException==");
-
String msg = null;
CertificateExpiredException tE = new CertificateExpiredException(msg);
assertTrue(errNotExc, tE instanceof CertificateExpiredException);
Index: modules/security2/test/common/unit/javax/security/cert/CertificateNotYetValidExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/security/cert/CertificateNotYetValidExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/security/cert/CertificateNotYetValidExceptionTest.java (working copy)
@@ -79,8 +79,6 @@
* message
*/
public void testCertificateNotYetValidException01() {
- logln("==test_01: CertificateNotYetValidException==");
-
CertificateNotYetValidException tE = new CertificateNotYetValidException();
assertTrue(errNotExc, tE instanceof CertificateNotYetValidException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -98,8 +96,6 @@
* detail message msg. Parameter msg is not null.
*/
public void testCertificateNotYetValidException02() {
- logln("==test_02: CertificateNotYetValidException==");
-
CertificateNotYetValidException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateNotYetValidException(msgs[i]);
@@ -122,8 +118,6 @@
* msg is null
*/
public void testCertificateNotYetValidException03() {
- logln("==test_03: CertificateNotYetValidException==");
-
String msg = null;
CertificateNotYetValidException tE = new CertificateNotYetValidException(
msg);
Index: modules/security2/test/common/unit/javax/security/cert/CertificateParsingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/security/cert/CertificateParsingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/security/cert/CertificateParsingExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* Assertion: constructs CertificateParsingException with no detail message
*/
public void testCertificateParsingException01() {
- logln("==test_01: CertificateParsingException==");
-
CertificateParsingException tE = new CertificateParsingException();
assertTrue(errNotExc, tE instanceof CertificateParsingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateParsingException02() {
- logln("==test_02: CertificateParsingException==");
-
CertificateParsingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateParsingException(msgs[i]);
@@ -120,8 +116,6 @@
* is null
*/
public void testCertificateParsingException03() {
- logln("==test_03: CertificateParsingException==");
-
String msg = null;
CertificateParsingException tE = new CertificateParsingException(msg);
assertTrue(errNotExc, tE instanceof CertificateParsingException);
Index: modules/security2/test/common/unit/javax/security/cert/CertificateEncodingExceptionTest.java
===================================================================
--- modules/security2/test/common/unit/javax/security/cert/CertificateEncodingExceptionTest.java (revision 372141)
+++ modules/security2/test/common/unit/javax/security/cert/CertificateEncodingExceptionTest.java (working copy)
@@ -77,8 +77,6 @@
* Assertion: constructs CertificateEncodingException with no detail message
*/
public void testCertificateEncodingException01() {
- logln("==test_01: CertificateEncodingException==");
-
CertificateEncodingException tE = new CertificateEncodingException();
assertTrue(errNotExc, tE instanceof CertificateEncodingException);
assertNull("getMessage() must return null.", tE.getMessage());
@@ -96,8 +94,6 @@
* msg. Parameter msg is not null.
*/
public void testCertificateEncodingException02() {
- logln("==test_02: CertificateEncodingException==");
-
CertificateEncodingException tE;
for (int i = 0; i < msgs.length; i++) {
tE = new CertificateEncodingException(msgs[i]);
@@ -120,8 +116,6 @@
* is null
*/
public void testCertificateEncodingException03() {
- logln("==test_03: CertificateEncodingException==");
-
String msg = null;
CertificateEncodingException tE = new CertificateEncodingException(msg);
assertTrue(errNotExc, tE instanceof CertificateEncodingException);