Author: apetrelli
Date: Fri Oct 26 11:54:42 2007
New Revision: 588747
URL: http://svn.apache.org/viewvc?rev=588747&view=rev
Log:
Fixed SVN properties.
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
(contents, props changed)
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/java/org/apache/tiles/test/filter/SecurityWrappingFilter.java
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
(contents, props changed)
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
(contents, props changed)
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
(contents, props changed)
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java?rev=588747&r1=588746&r2=588747&view=diff
==============================================================================
---
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
(original)
+++
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
Fri Oct 26 11:54:42 2007
@@ -1,84 +1,84 @@
-/*
- * $Id: TestDefinition.java 537191 2007-05-11 13:46:06Z apetrelli $
- *
- * 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.tiles;
-
-
-import org.apache.tiles.Attribute.AttributeType;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Tests the Definition class.
- *
- * @version $Rev: 537191 $ $Date: 2007-05-11 15:46:06 +0200 (ven, 11 mag 2007)
$
- */
-public class TestDefinition extends TestCase {
-
- /**
- * Creates a new instance of TestDefinition.
- *
- * @param name The name of the test.
- */
- public TestDefinition(String name) {
- super(name);
- }
-
- /**
- * Start the tests.
- *
- * @param theArgs the arguments. Not used
- */
- public static void main(String[] theArgs) {
- junit.textui.TestRunner.main(
- new String[] { TestDefinition.class.getName()});
- }
-
- /**
- * @return a test suite (<code>TestSuite</code>) that includes all methods
- * starting with "test"
- */
- public static Test suite() {
- return new TestSuite(TestDefinition.class);
- }
-
- /**
- * Verifies the put Attribute functionality.
- *
- * Attributes are added or replaced in the definition.
- */
- public void testPutAttribute() {
- Definition def = new Definition();
- def.setName("test1");
- def.setTemplate("/page1.jsp");
- def.put("attr1", "test.definition.name", AttributeType.DEFINITION,
- null);
-
- Attribute attr1 = def.getAttribute("attr1");
- assertNotNull("Null attribute.", attr1);
- assertTrue("Wrong attribute type",
- attr1.getType() == AttributeType.DEFINITION);
- }
-
-
-}
+/*
+ * $Id$
+ *
+ * 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.tiles;
+
+
+import org.apache.tiles.Attribute.AttributeType;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Tests the Definition class.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TestDefinition extends TestCase {
+
+ /**
+ * Creates a new instance of TestDefinition.
+ *
+ * @param name The name of the test.
+ */
+ public TestDefinition(String name) {
+ super(name);
+ }
+
+ /**
+ * Start the tests.
+ *
+ * @param theArgs the arguments. Not used
+ */
+ public static void main(String[] theArgs) {
+ junit.textui.TestRunner.main(
+ new String[] { TestDefinition.class.getName()});
+ }
+
+ /**
+ * @return a test suite (<code>TestSuite</code>) that includes all methods
+ * starting with "test"
+ */
+ public static Test suite() {
+ return new TestSuite(TestDefinition.class);
+ }
+
+ /**
+ * Verifies the put Attribute functionality.
+ *
+ * Attributes are added or replaced in the definition.
+ */
+ public void testPutAttribute() {
+ Definition def = new Definition();
+ def.setName("test1");
+ def.setTemplate("/page1.jsp");
+ def.put("attr1", "test.definition.name", AttributeType.DEFINITION,
+ null);
+
+ Attribute attr1 = def.getAttribute("attr1");
+ assertNotNull("Null attribute.", attr1);
+ assertTrue("Wrong attribute type",
+ attr1.getType() == AttributeType.DEFINITION);
+ }
+
+
+}
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-api/src/test/java/org/apache/tiles/TestDefinition.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/java/org/apache/tiles/test/filter/SecurityWrappingFilter.java
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/java/org/apache/tiles/test/filter/SecurityWrappingFilter.java?rev=588747&r1=588746&r2=588747&view=diff
==============================================================================
---
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/java/org/apache/tiles/test/filter/SecurityWrappingFilter.java
(original)
+++
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/java/org/apache/tiles/test/filter/SecurityWrappingFilter.java
Fri Oct 26 11:54:42 2007
@@ -1,5 +1,5 @@
/*
- * $Id$
+ * $Id:SecurityWrappingFilter.java 586909 2007-10-21 15:13:47Z apetrelli $
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -33,7 +33,7 @@
/**
* Filter that wraps an HttpServletRequest to override "isUserInRole".
*
- * @version $Rev$ $Date$
+ * @version $Rev:586909 $ $Date:2007-10-21 17:13:47 +0200 (dom, 21 ott 2007) $
*/
public class SecurityWrappingFilter implements Filter {
@@ -64,7 +64,7 @@
/**
* Request wrapper that overrides "isUserInRole" method.
*
- * @version $Rev$ $Date$
+ * @version $Rev:586909 $ $Date:2007-10-21 17:13:47 +0200 (dom, 21 ott
2007) $
*/
private static class SecurityWrapperHttpServletRequest extends
HttpServletRequestWrapper {
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp?rev=588747&r1=588746&r2=588747&view=diff
==============================================================================
---
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
(original)
+++
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
Fri Oct 26 11:54:42 2007
@@ -1,7 +1,7 @@
<%@ page session="false" %>
<%--
/*
- * $Id: testinsertdefinition.jsp 573035 2007-09-05 19:27:22Z apetrelli $
+ * $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_attribute_roles.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp?rev=588747&r1=588746&r2=588747&view=diff
==============================================================================
---
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
(original)
+++
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
Fri Oct 26 11:54:42 2007
@@ -1,7 +1,7 @@
<%@ page session="false" %>
<%--
/*
- * $Id: testinsertdefinition.jsp 573035 2007-09-05 19:27:22Z apetrelli $
+ * $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp?rev=588747&r1=588746&r2=588747&view=diff
==============================================================================
---
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
(original)
+++
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
Fri Oct 26 11:54:42 2007
@@ -1,7 +1,7 @@
<%@ page session="false" %>
<%--
/*
- * $Id: testinsertdefinition.jsp 573035 2007-09-05 19:27:22Z apetrelli $
+ * $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/branches/TILES_2_0_X/tiles-test/src/main/webapp/testinsertdefinition_role_tag.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL