You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ay...@apache.org on 2007/01/11 18:58:36 UTC
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/
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