Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 30749 invoked from network); 29 Aug 2006 05:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 05:42:23 -0000 Received: (qmail 68710 invoked by uid 500); 29 Aug 2006 05:42:23 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 68609 invoked by uid 500); 29 Aug 2006 05:42:22 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 68580 invoked by uid 99); 29 Aug 2006 05:42:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 22:42:22 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of smishura@apache.org designates 140.211.166.113 as permitted sender) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 22:42:20 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A884D1A982A; Mon, 28 Aug 2006 22:41:02 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r437974 [7/19] - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ Date: Tue, 29 Aug 2006 05:40:47 -0000 To: harmony-commits@incubator.apache.org From: smishura@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060829054102.A884D1A982A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalArgumentExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalArgumentExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalArgumentExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalArgumentExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,56 +1,56 @@ -/* Copyright 1998, 2006 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -import org.apache.harmony.testframework.serialization.SerializationTest; - -public class IllegalArgumentExceptionTest extends TestCase { - - /** - * @tests java.lang.IllegalArgumentException#IllegalArgumentException() - */ - public void test_Constructor() { - IllegalArgumentException e = new IllegalArgumentException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IllegalArgumentException#IllegalArgumentException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IllegalArgumentException e = new IllegalArgumentException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } - - /** - * @tests serialization/deserialization. - */ - public void testSerializationSelf() throws Exception { - SerializationTest.verifySelf(new IllegalArgumentException()); - } - - /** - * @tests serialization/deserialization compatibility with RI. - */ - public void testSerializationCompatibility() throws Exception { - SerializationTest.verifyGolden(this, new IllegalArgumentException()); - } -} +/* Copyright 1998, 2006 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +import org.apache.harmony.testframework.serialization.SerializationTest; + +public class IllegalArgumentExceptionTest extends TestCase { + + /** + * @tests java.lang.IllegalArgumentException#IllegalArgumentException() + */ + public void test_Constructor() { + IllegalArgumentException e = new IllegalArgumentException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IllegalArgumentException#IllegalArgumentException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IllegalArgumentException e = new IllegalArgumentException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } + + /** + * @tests serialization/deserialization. + */ + public void testSerializationSelf() throws Exception { + SerializationTest.verifySelf(new IllegalArgumentException()); + } + + /** + * @tests serialization/deserialization compatibility with RI. + */ + public void testSerializationCompatibility() throws Exception { + SerializationTest.verifyGolden(this, new IllegalArgumentException()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalArgumentExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalMonitorStateExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalMonitorStateExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalMonitorStateExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalMonitorStateExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class IllegalMonitorStateExceptionTest extends TestCase { - - /** - * @tests java.lang.IllegalMonitorStateException#IllegalMonitorStateException() - */ - public void test_Constructor() { - IllegalMonitorStateException e = new IllegalMonitorStateException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IllegalMonitorStateException#IllegalMonitorStateException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IllegalMonitorStateException e = new IllegalMonitorStateException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class IllegalMonitorStateExceptionTest extends TestCase { + + /** + * @tests java.lang.IllegalMonitorStateException#IllegalMonitorStateException() + */ + public void test_Constructor() { + IllegalMonitorStateException e = new IllegalMonitorStateException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IllegalMonitorStateException#IllegalMonitorStateException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IllegalMonitorStateException e = new IllegalMonitorStateException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalMonitorStateExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalStateExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalStateExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalStateExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalStateExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,63 +1,63 @@ -/* Copyright 1998, 2006 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; -import tests.util.SerializationTester; - -public class IllegalStateExceptionTest extends TestCase { - - private static final String SERIALIZATION_FILE_NAME = - "serialization/java/lang/IllegalStateException.ser"; //$NON-NLS-1$ - - /** - * @tests java.lang.IllegalStateException#IllegalStateException() - */ - public void test_Constructor() { - IllegalStateException e = new IllegalStateException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IllegalStateException#IllegalStateException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IllegalStateException e = new IllegalStateException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } - - /** - * @tests serialization/deserilazation. - */ - public void test_serialization() throws Exception { - IllegalStateException srcIllegalStateException = new IllegalStateException(); - IllegalStateException destIllegalStateException = (IllegalStateException) SerializationTester - .getDeserilizedObject(srcIllegalStateException); - } - - /** - * @tests serialization/deserilazation compatibility with RI. - */ - public void test_serializationCompatibility() throws Exception { - IllegalStateException srcIllegalStateException = new IllegalStateException(); - IllegalStateException destIllegalStateException = (IllegalStateException) SerializationTester - .readObject(srcIllegalStateException, - SERIALIZATION_FILE_NAME); - } -} +/* Copyright 1998, 2006 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; +import tests.util.SerializationTester; + +public class IllegalStateExceptionTest extends TestCase { + + private static final String SERIALIZATION_FILE_NAME = + "serialization/java/lang/IllegalStateException.ser"; //$NON-NLS-1$ + + /** + * @tests java.lang.IllegalStateException#IllegalStateException() + */ + public void test_Constructor() { + IllegalStateException e = new IllegalStateException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IllegalStateException#IllegalStateException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IllegalStateException e = new IllegalStateException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } + + /** + * @tests serialization/deserilazation. + */ + public void test_serialization() throws Exception { + IllegalStateException srcIllegalStateException = new IllegalStateException(); + IllegalStateException destIllegalStateException = (IllegalStateException) SerializationTester + .getDeserilizedObject(srcIllegalStateException); + } + + /** + * @tests serialization/deserilazation compatibility with RI. + */ + public void test_serializationCompatibility() throws Exception { + IllegalStateException srcIllegalStateException = new IllegalStateException(); + IllegalStateException destIllegalStateException = (IllegalStateException) SerializationTester + .readObject(srcIllegalStateException, + SERIALIZATION_FILE_NAME); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalStateExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalThreadStateExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalThreadStateExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalThreadStateExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalThreadStateExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class IllegalThreadStateExceptionTest extends TestCase { - - /** - * @tests java.lang.IllegalThreadStateException#IllegalThreadStateException() - */ - public void test_Constructor() { - IllegalThreadStateException e = new IllegalThreadStateException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IllegalThreadStateException#IllegalThreadStateException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IllegalThreadStateException e = new IllegalThreadStateException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class IllegalThreadStateExceptionTest extends TestCase { + + /** + * @tests java.lang.IllegalThreadStateException#IllegalThreadStateException() + */ + public void test_Constructor() { + IllegalThreadStateException e = new IllegalThreadStateException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IllegalThreadStateException#IllegalThreadStateException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IllegalThreadStateException e = new IllegalThreadStateException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IllegalThreadStateExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IncompatibleClassChangeErrorTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IncompatibleClassChangeErrorTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IncompatibleClassChangeErrorTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IncompatibleClassChangeErrorTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class IncompatibleClassChangeErrorTest extends TestCase { - - /** - * @tests java.lang.IncompatibleClassChangeError#IncompatibleClassChangeError() - */ - public void test_Constructor() { - IncompatibleClassChangeError e = new IncompatibleClassChangeError(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IncompatibleClassChangeError#IncompatibleClassChangeError(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IncompatibleClassChangeError e = new IncompatibleClassChangeError("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class IncompatibleClassChangeErrorTest extends TestCase { + + /** + * @tests java.lang.IncompatibleClassChangeError#IncompatibleClassChangeError() + */ + public void test_Constructor() { + IncompatibleClassChangeError e = new IncompatibleClassChangeError(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IncompatibleClassChangeError#IncompatibleClassChangeError(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IncompatibleClassChangeError e = new IncompatibleClassChangeError("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IncompatibleClassChangeErrorTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IndexOutOfBoundsExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IndexOutOfBoundsExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IndexOutOfBoundsExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IndexOutOfBoundsExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class IndexOutOfBoundsExceptionTest extends TestCase { - - /** - * @tests java.lang.IndexOutOfBoundsException#IndexOutOfBoundsException() - */ - public void test_Constructor() { - IndexOutOfBoundsException e = new IndexOutOfBoundsException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.IndexOutOfBoundsException#IndexOutOfBoundsException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - IndexOutOfBoundsException e = new IndexOutOfBoundsException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class IndexOutOfBoundsExceptionTest extends TestCase { + + /** + * @tests java.lang.IndexOutOfBoundsException#IndexOutOfBoundsException() + */ + public void test_Constructor() { + IndexOutOfBoundsException e = new IndexOutOfBoundsException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.IndexOutOfBoundsException#IndexOutOfBoundsException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + IndexOutOfBoundsException e = new IndexOutOfBoundsException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/IndexOutOfBoundsExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InheritableThreadLocalTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InheritableThreadLocalTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InheritableThreadLocalTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InheritableThreadLocalTest.java Mon Aug 28 22:40:44 2006 @@ -1,44 +1,44 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -public class InheritableThreadLocalTest extends junit.framework.TestCase { - - /** - * @tests java.lang.InheritableThreadLocal#InheritableThreadLocal() - */ - public void test_Constructor() { - // Test for method java.lang.InheritableThreadLocal() - - InheritableThreadLocal l = new InheritableThreadLocal(); - assertTrue("Failed to create InheritableThreadLocal", - l instanceof InheritableThreadLocal); - } - - /** - * Sets up the fixture, for example, open a network connection. This method - * is called before a test is executed. - */ - protected void setUp() { - } - - /** - * Tears down the fixture, for example, close a network connection. This - * method is called after a test is executed. - */ - protected void tearDown() { - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +public class InheritableThreadLocalTest extends junit.framework.TestCase { + + /** + * @tests java.lang.InheritableThreadLocal#InheritableThreadLocal() + */ + public void test_Constructor() { + // Test for method java.lang.InheritableThreadLocal() + + InheritableThreadLocal l = new InheritableThreadLocal(); + assertTrue("Failed to create InheritableThreadLocal", + l instanceof InheritableThreadLocal); + } + + /** + * Sets up the fixture, for example, open a network connection. This method + * is called before a test is executed. + */ + protected void setUp() { + } + + /** + * Tears down the fixture, for example, close a network connection. This + * method is called after a test is executed. + */ + protected void tearDown() { + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InheritableThreadLocalTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationErrorTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationErrorTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationErrorTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationErrorTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class InstantiationErrorTest extends TestCase { - - /** - * @tests java.lang.InstantiationError#InstantiationError() - */ - public void test_Constructor() { - InstantiationError e = new InstantiationError(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.InstantiationError#InstantiationError(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - InstantiationError e = new InstantiationError("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class InstantiationErrorTest extends TestCase { + + /** + * @tests java.lang.InstantiationError#InstantiationError() + */ + public void test_Constructor() { + InstantiationError e = new InstantiationError(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.InstantiationError#InstantiationError(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + InstantiationError e = new InstantiationError("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationErrorTest.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationExceptionTest.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationExceptionTest.java?rev=437974&r1=437973&r2=437974&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationExceptionTest.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationExceptionTest.java Mon Aug 28 22:40:44 2006 @@ -1,40 +1,40 @@ -/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.lang; - -import junit.framework.TestCase; - -public class InstantiationExceptionTest extends TestCase { - - /** - * @tests java.lang.InstantiationException#InstantiationException() - */ - public void test_Constructor() { - InstantiationException e = new InstantiationException(); - assertNull(e.getMessage()); - assertNull(e.getLocalizedMessage()); - assertNull(e.getCause()); - } - - /** - * @tests java.lang.InstantiationException#InstantiationException(java.lang.String) - */ - public void test_ConstructorLjava_lang_String() { - InstantiationException e = new InstantiationException("fixture"); - assertEquals("fixture", e.getMessage()); - assertNull(e.getCause()); - } -} +/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.harmony.luni.tests.java.lang; + +import junit.framework.TestCase; + +public class InstantiationExceptionTest extends TestCase { + + /** + * @tests java.lang.InstantiationException#InstantiationException() + */ + public void test_Constructor() { + InstantiationException e = new InstantiationException(); + assertNull(e.getMessage()); + assertNull(e.getLocalizedMessage()); + assertNull(e.getCause()); + } + + /** + * @tests java.lang.InstantiationException#InstantiationException(java.lang.String) + */ + public void test_ConstructorLjava_lang_String() { + InstantiationException e = new InstantiationException("fixture"); + assertEquals("fixture", e.getMessage()); + assertNull(e.getCause()); + } +} Propchange: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/InstantiationExceptionTest.java ------------------------------------------------------------------------------ svn:eol-style = native