harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r463313 - in /incubator/harmony/enhanced/classlib/trunk/modules: awt/src/test/api/java/common/java/awt/ beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
Date Thu, 12 Oct 2006 16:41:55 GMT
Author: hindessm
Date: Thu Oct 12 09:41:53 2006
New Revision: 463313

URL: http://svn.apache.org/viewvc?view=rev&rev=463313
Log:
Fixing typos: expection => exception.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/PolygonTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/BeanDescriptorTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/MethodDescriptorTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyDescriptorTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/PolygonTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/PolygonTest.java?view=diff&rev=463313&r1=463312&r2=463313
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/PolygonTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/PolygonTest.java
Thu Oct 12 09:41:53 2006
@@ -77,31 +77,31 @@
     public void testCreate3() {
         try {
             new Polygon(null, new int[]{1, 2}, 2);
-            fail("Expected expection NullPointerException");
+            fail("Expected exception NullPointerException");
         } catch(NullPointerException e) {
         }
 
         try {
             new Polygon(new int[]{1, 2}, null, 2);
-            fail("Expected expection NullPointerException");
+            fail("Expected exception NullPointerException");
         } catch(NullPointerException e) {
         }
 
         try {
             new Polygon(new int[]{1, 2}, new int[]{1, 2, 4, 5}, 3);
-            fail("Expected expection IndexOutOfBoundsException");
+            fail("Expected exception IndexOutOfBoundsException");
         } catch(IndexOutOfBoundsException e) {
         }
 
         try {
             new Polygon(new int[]{1, 2}, new int[]{1, 2, 4, 5}, 5);
-            fail("Expected expection IndexOutOfBoundsException");
+            fail("Expected exception IndexOutOfBoundsException");
         } catch(IndexOutOfBoundsException e) {
         }
 
         try {
             new Polygon(new int[]{1, 2}, new int[]{1, 2, 4, 5}, -1);
-            fail("Expected expection NegativeArraySizeException");
+            fail("Expected exception NegativeArraySizeException");
         } catch(NegativeArraySizeException e) {
         }
     }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/BeanDescriptorTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/BeanDescriptorTest.java?view=diff&rev=463313&r1=463312&r2=463313
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/BeanDescriptorTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/BeanDescriptorTest.java
Thu Oct 12 09:41:53 2006
@@ -177,7 +177,7 @@
     /**
      * @tests java.beans.BeanDescriptor#BeanDescriptor( java.lang.Class)
      */
-    public void test_Ctor1_NullPointerExpection() {
+    public void test_Ctor1_NullPointerException() {
         try {
             // Regression for HARMONY-225
             new BeanDescriptor(null);
@@ -190,7 +190,7 @@
      * @tests java.beans.BeanDescriptor#BeanDescriptor( java.lang.Class,
      *        java.lang.Class)
      */
-    public void test_Ctor2_NullPointerExpection() {
+    public void test_Ctor2_NullPointerException() {
         try {
             // Regression for HARMONY-225
             new BeanDescriptor(null, String.class);

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/MethodDescriptorTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/MethodDescriptorTest.java?view=diff&rev=463313&r1=463312&r2=463313
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/MethodDescriptorTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/MethodDescriptorTest.java
Thu Oct 12 09:41:53 2006
@@ -148,7 +148,7 @@
      * @tests java.beans.MethodDescriptor#MethodDescriptor(
      *        java.lang.reflect.Method)
      */
-    public void test_Ctor1_NullPointerExpection() {
+    public void test_Ctor1_NullPointerException() {
         try {
             // Regression for HARMONY-226
             new MethodDescriptor(null);
@@ -161,7 +161,7 @@
      * @tests java.beans.MethodDescriptor#MethodDescriptor(
      *        java.lang.reflect.Method, java.beans.ParameterDescriptor[])
      */
-    public void test_Ctor2_NullPointerExpection() {
+    public void test_Ctor2_NullPointerException() {
         try {
             // Regression for HARMONY-226
             new MethodDescriptor(null, new ParameterDescriptor[0]);

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyDescriptorTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyDescriptorTest.java?view=diff&rev=463313&r1=463312&r2=463313
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyDescriptorTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/PropertyDescriptorTest.java
Thu Oct 12 09:41:53 2006
@@ -950,7 +950,7 @@
     }
 
     // Regression test for HARMONY-237
-    public void testIntrospectionExpections() {
+    public void testIntrospectionExceptions() {
         try {
             new PropertyDescriptor(null, null);
             fail("Constructor PropertyDescriptor(null,null) should "



Mime
View raw message