Author: niallp
Date: Wed May 21 00:23:24 2008
New Revision: 658574

URL: http://svn.apache.org/viewvc?rev=658574&view=rev
Log:
Fix svn properties - thanks to Sebb

Modified:
    commons/proper/chain/trunk/build.properties.sample   (props changed)
    commons/proper/chain/trunk/build.xml   (props changed)
    
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
   (contents, props changed)

Propchange: commons/proper/chain/trunk/build.properties.sample
            ('svn:executable' removed)

Propchange: commons/proper/chain/trunk/build.xml
            ('svn:executable' removed)

Modified: 
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
URL: 
http://svn.apache.org/viewvc/commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java?rev=658574&r1=658573&r2=658574&view=diff
==============================================================================
--- 
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
 (original)
+++ 
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
 Wed May 21 00:23:24 2008
@@ -1,97 +1,97 @@
-/*
- * 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.commons.chain.web;
-
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-
-// Test case for org.apache.commons.chain.web.ChainResources
-
-public class ChainResourcesTestCase extends TestCase {
-
-
-    // ---------------------------------------------------------- Constructors
-
-    /**
-     * Construct a new instance of this test case.
-     *
-     * @param name Name of the test case
-     */
-    public ChainResourcesTestCase(String name) {
-        super(name);
-    }
-
-
-    // ----------------------------------------------------- Instance Variables
-
-
-    protected TestData[] data = new TestData[]
-        {
-            new TestData("a,b,c",            new String[] {"a", "b", "c"}),
-            new TestData("a , b , c ",       new String[] {"a", "b", "c"}),
-            new TestData("a,\tb,\tc ",       new String[] {"a", "b", "c"}),
-            new TestData("\na,\nb,\nc\n",    new String[] {"a", "b", "c"}),
-            new TestData("a,,b,c ",          new String[] {"a", "b", "c"}),
-            new TestData(",a,b,,c,,",        new String[] {"a", "b", "c"}),
-            new TestData(null,               new String[] {}),
-            new TestData("",                 new String[] {}),
-            new TestData(",",                new String[] {}),
-            new TestData(",,",               new String[] {})
-        };
-
-
-    // ------------------------------------------------ Individual Test Methods
-
-
-    public void testGetPaths() throws Exception {
-        for (int i = 0; i < data.length; i++) {
-            TestData datum = data[i];
-            String[] expected = datum.getExpected();
-            String[] actual = 
ChainResources.getResourcePaths(datum.getInput());
-
-            assertNotNull(actual);
-            assertEquals(expected.length, actual.length);
-            for (int j = 0; j < actual.length; j++) {
-                assertEquals(expected[j], actual[j]);
-            }
-        }
-    }
-
-
-    // ---------------------------------------------------------- Inner classes
-
-
-    // Container for test data for one test
-    public static final class TestData {
-        private String input;
-        private String[] expected;
-        public TestData(String input, String[] expected) {
-            this.input = input;
-            this.expected = expected;
-        }
-        public String getInput() {
-            return input;
-        }
-        public String[] getExpected() {
-            return 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.commons.chain.web;
+
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+
+// Test case for org.apache.commons.chain.web.ChainResources
+
+public class ChainResourcesTestCase extends TestCase {
+
+
+    // ---------------------------------------------------------- Constructors
+
+    /**
+     * Construct a new instance of this test case.
+     *
+     * @param name Name of the test case
+     */
+    public ChainResourcesTestCase(String name) {
+        super(name);
+    }
+
+
+    // ----------------------------------------------------- Instance Variables
+
+
+    protected TestData[] data = new TestData[]
+        {
+            new TestData("a,b,c",            new String[] {"a", "b", "c"}),
+            new TestData("a , b , c ",       new String[] {"a", "b", "c"}),
+            new TestData("a,\tb,\tc ",       new String[] {"a", "b", "c"}),
+            new TestData("\na,\nb,\nc\n",    new String[] {"a", "b", "c"}),
+            new TestData("a,,b,c ",          new String[] {"a", "b", "c"}),
+            new TestData(",a,b,,c,,",        new String[] {"a", "b", "c"}),
+            new TestData(null,               new String[] {}),
+            new TestData("",                 new String[] {}),
+            new TestData(",",                new String[] {}),
+            new TestData(",,",               new String[] {})
+        };
+
+
+    // ------------------------------------------------ Individual Test Methods
+
+
+    public void testGetPaths() throws Exception {
+        for (int i = 0; i < data.length; i++) {
+            TestData datum = data[i];
+            String[] expected = datum.getExpected();
+            String[] actual = 
ChainResources.getResourcePaths(datum.getInput());
+
+            assertNotNull(actual);
+            assertEquals(expected.length, actual.length);
+            for (int j = 0; j < actual.length; j++) {
+                assertEquals(expected[j], actual[j]);
+            }
+        }
+    }
+
+
+    // ---------------------------------------------------------- Inner classes
+
+
+    // Container for test data for one test
+    public static final class TestData {
+        private String input;
+        private String[] expected;
+        public TestData(String input, String[] expected) {
+            this.input = input;
+            this.expected = expected;
+        }
+        public String getInput() {
+            return input;
+        }
+        public String[] getExpected() {
+            return expected;
+        }
+    }
+
+}

Propchange: 
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
commons/proper/chain/trunk/src/test/org/apache/commons/chain/web/ChainResourcesTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL


Reply via email to