harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r495313 - in /harmony/enhanced/classlib/trunk/modules: annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ awt/src/test/api/java/common/java/awt/image/
Date Thu, 11 Jan 2007 17:58:36 GMT
Author: ayza
Date: Thu Jan 11 09:58:35 2007
New Revision: 495313

URL: http://svn.apache.org/viewvc?view=rev&rev=495313
Log:
Setting valid value for the "svn:eol-style" property

Modified:
    harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java
  (contents, props changed)
    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java
  (contents, props changed)

Modified: harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java?view=diff&rev=495313&r1=495312&r2=495313
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java
Thu Jan 11 09:58:35 2007
@@ -1,40 +1,40 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You 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.annotation.tests.java.lang.annotation;
-
-import java.lang.annotation.IncompleteAnnotationException;
-
-import junit.framework.TestCase;
-
-/**
- * 
- */
-public class IncompleteAnnotationExceptionTest extends TestCase {
-
-    /*
-     * Class under test for void IncompleteAnnotationException(String)
-     * Regression for HARMONY-2477
-     */
-    public void testNullType() {
-        try {
-            new IncompleteAnnotationException(null, "str");
-            fail("NullPointerException must be thrown");
-        } catch (NullPointerException e) {
-            // Expected
-        }
-    }
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You 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.annotation.tests.java.lang.annotation;
+
+import java.lang.annotation.IncompleteAnnotationException;
+
+import junit.framework.TestCase;
+
+/**
+ * 
+ */
+public class IncompleteAnnotationExceptionTest extends TestCase {
+
+    /*
+     * Class under test for void IncompleteAnnotationException(String)
+     * Regression for HARMONY-2477
+     */
+    public void testNullType() {
+        try {
+            new IncompleteAnnotationException(null, "str");
+            fail("NullPointerException must be thrown");
+        } catch (NullPointerException e) {
+            // Expected
+        }
+    }
+}

Propchange: harmony/enhanced/classlib/trunk/modules/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/IncompleteAnnotationExceptionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java?view=diff&rev=495313&r1=495312&r2=495313
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java
Thu Jan 11 09:58:35 2007
@@ -1,36 +1,36 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you 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 java.awt.image;
-
-import junit.framework.TestCase;
-
-public class ComponentSampleModelTest extends TestCase {
-  
-    public void testGetPixelsMaxValue()  throws Exception {
-        ComponentSampleModel csm = new ComponentSampleModel(0, 10, 10, 1, 10, new int[]{0});

-        DataBufferInt dbi = new DataBufferInt(100); 
-
-        try { 
-            csm.getPixels(8, Integer.MAX_VALUE, 1, 1, (int[]) null, dbi);
-            fail("Exception expected");
-        } catch(ArrayIndexOutOfBoundsException expectedException) { 
-            // expected
-        } 
-    }
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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 java.awt.image;
+
+import junit.framework.TestCase;
+
+public class ComponentSampleModelTest extends TestCase {
+  
+    public void testGetPixelsMaxValue()  throws Exception {
+        ComponentSampleModel csm = new ComponentSampleModel(0, 10, 10, 1, 10, new int[]{0});

+        DataBufferInt dbi = new DataBufferInt(100); 
+
+        try { 
+            csm.getPixels(8, Integer.MAX_VALUE, 1, 1, (int[]) null, dbi);
+            fail("Exception expected");
+        } catch(ArrayIndexOutOfBoundsException expectedException) { 
+            // expected
+        } 
+    }
+}

Propchange: harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/ComponentSampleModelTest.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message