Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 67661 invoked from network); 2 Feb 2007 10:35:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 10:35:56 -0000 Received: (qmail 31444 invoked by uid 500); 2 Feb 2007 10:36:02 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 31345 invoked by uid 500); 2 Feb 2007 10:36:02 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 31336 invoked by uid 99); 2 Feb 2007 10:36:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 02:36:02 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 02:35:55 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id E95F91A981A; Fri, 2 Feb 2007 02:35:34 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r502568 - /harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java Date: Fri, 02 Feb 2007 10:35:34 -0000 To: commits@harmony.apache.org From: smishura@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070202103534.E95F91A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: smishura Date: Fri Feb 2 02:35:33 2007 New Revision: 502568 URL: http://svn.apache.org/viewvc?view=rev&rev=502568 Log: Remove VM testing Modified: harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java Modified: harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java?view=diff&rev=502568&r1=502567&r2=502568 ============================================================================== --- harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java (original) +++ harmony/enhanced/classlib/trunk/modules/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/SaslExceptionTest.java Fri Feb 2 02:35:33 2007 @@ -45,11 +45,6 @@ static Throwable tCause = new Throwable("Throwable for exception"); - static String createErr(Exception tE, Exception eE) { - return "SaslException: ".concat(tE.toString()).concat( - " is not equal to caught exception: ").concat(eE.toString()); - } - /** * Test for SaslException() constructor * Assertion: constructs SaslException with null message and @@ -75,11 +70,6 @@ assertEquals("getMessage() must return: ".concat(msgs[i]), tE .getMessage(), msgs[i]); assertNull("getCause() must return null", tE.getCause()); - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); - } } } @@ -92,11 +82,6 @@ SaslException tE = new SaslException(msg); assertNull("getMessage() must return null.", tE.getMessage()); assertNull("getCause() must return null", tE.getCause()); - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); - } } /** @@ -108,11 +93,6 @@ SaslException tE = new SaslException(null, null); assertNull("getMessage() must return null", tE.getMessage()); assertNull("getCause() must return null", tE.getCause()); - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); - } } /** @@ -127,11 +107,6 @@ assertEquals("getMessage() must return: ".concat(msgs[i]), tE .getMessage(), msgs[i]); assertNull("getCause() must return null", tE.getCause()); - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); - } } } @@ -155,11 +130,6 @@ assertEquals("getCause() must return ".concat(tCause.toString()), tE.getCause(), tCause); } - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); - } } /** @@ -188,11 +158,6 @@ // tE.getCause()); assertEquals("getCause() must return " .concat(tCause.toString()), tE.getCause(), tCause); - } - try { - throw tE; - } catch (Exception e) { - assertTrue(createErr(tE, e), tE.equals(e)); } } }