Modified:
incubator/wicket/trunk/wicket/src/test/java/wicket/versioning/ReattachVersioningTest.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/test/java/wicket/versioning/ReattachVersioningTest.java?view=diff&rev=509972&r1=509971&r2=509972
==============================================================================
---
incubator/wicket/trunk/wicket/src/test/java/wicket/versioning/ReattachVersioningTest.java
(original)
+++
incubator/wicket/trunk/wicket/src/test/java/wicket/versioning/ReattachVersioningTest.java
Wed Feb 21 03:34:23 2007
@@ -1,41 +1,41 @@
-/*
- * 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 wicket.versioning;
-
-import wicket.WicketTestCase;
-
-/**
- * @author jcompagner
- */
-public class ReattachVersioningTest extends WicketTestCase
-{
- /**
- * @throws Exception
- */
- public void testReattach() throws Exception
- {
- executeTest(ReattachTestPage.class,
"ReattachTestPage_result.html");
- ReattachTestPage testPage =
(ReattachTestPage)tester.getLastRenderedPage();
- tester.createRequestCycle();
- testPage.attach();
- testPage.reattachLabel1();
- testPage.detach();
- assertEquals(testPage.getVersions(), 2);
- testPage = (ReattachTestPage)testPage.getVersion(0);
- assertNotNull(testPage.get("label"));
- }
-}
+/*
+ * 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 wicket.versioning;
+
+import wicket.WicketTestCase;
+
+/**
+ * @author jcompagner
+ */
+public class ReattachVersioningTest extends WicketTestCase
+{
+ /**
+ * @throws Exception
+ */
+ public void testReattach() throws Exception
+ {
+ executeTest(ReattachTestPage.class,
"ReattachTestPage_result.html");
+ ReattachTestPage testPage =
(ReattachTestPage)tester.getLastRenderedPage();
+ tester.createRequestCycle();
+ testPage.attach();
+ testPage.reattachLabel1();
+ testPage.detach();
+ assertEquals(testPage.getVersions(), 2);
+ testPage = (ReattachTestPage)testPage.getVersion(0);
+ assertNotNull(testPage.get("label"));
+ }
+}
Propchange:
incubator/wicket/trunk/wicket/src/test/java/wicket/versioning/ReattachVersioningTest.java
------------------------------------------------------------------------------
svn:eol-style = native