Ok, how do I tell CVS to checkout against the latest 1.0 code (post-rc3) but before 1.1 code?

Gili

Juergen Donnerstag wrote:
that will be fixed by tomorrow. It is part of markup inheritance which
will be released with 1.1 and which is not part of the 1.0 source.
Whether to use it or not depends on you and your requirements.

Juergen

On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:

       I'm seeing the following failures with the latest anonymous CVS code
(attached).

       Should I try working with the rc3 tag instead?

Gili


Testsuite: wicket.markup.MarkupInheritanceTest
Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 2.39 sec

------------- Standard Output ---------------
=== wicket.markup.MarkupInheritanceExtension_1 ===
<wicket:extend>  base: before
 <wicket:child>
 extension: middle
</wicket:child>
 base: after
</wicket:extend>
=== wicket.markup.MarkupInheritanceExtension_2 ===
<wicket:extend>  base: before
 <!-- note: extension and base can not have equals ids like e.g. "label" -->
 extension: 1 <span wicket:id="label1">base label 1</span> extension: 2
 <wicket:child>
 <!-- note: extension and base can not have equals ids like e.g. "label" -->
 extension: 1 <span wicket:id="label3">extension label</span> extension: 2
</wicket:child>
 extension: 1 <span wicket:id="label2">base label 2</span> extension: 2
 base: after
</wicket:extend>
=== wicket.markup.MarkupInheritanceExtension_4 ===
<wicket:extend>  base: before
 <!-- note: extension and base can not have equals ids like e.g. "label" -->
 extension: 1 <span wicket:id="label1">0</span> extension: 2
 <wicket:child>
 <!-- note: extension and base can not have equals ids like e.g. "label" -->
 extension: 1 <span wicket:id="label3">extension label</span> extension: 2
</wicket:child>
 extension: 1 <a 
href="/MockWebApplication/MockWebApplication?component=0.link&amp;version=0&amp;interface=ILinkListener"
 wicket:id="link">increment</a> extension: 2
 base: after
</wicket:extend>
------------- ---------------- ---------------
------------- Standard Error -----------------
@@ -1,72 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

-        "http://www.w3.org/TR/html4/loose.dtd";>

-<html>

-<head>

-<title>Unexpected RuntimeException</title>

-<style type="text/css">

-body {margin-left : 2em;font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 
'sans';font-size: 9pt;line-height: 1.8em;}

-h1,h2,h3,h4,h5,h6,h7,h8 {color: #E9601A;}

-h1 {font-size : 1.5em;}

-h2 {font-size : 1.2em;}

-pre, table, td { font-family : 'MS Trebuchet', 'Verdana', Arial, Helvetica; 
font-size : 10pt; line-height:1.2em;}

-pre { border : 1px solid #ddd; margin-left : 2em; }

-.resource { color : blue; }

-.componenttree { margin-left : 2em; border : 1px solid #ddd; }

-.componenttree { padding : 10px; }

-.componenttree th { border-bottom : 1px solid #ddd; }

-td > pre { padding : 10px; }

-</style>

-</head>

-<body>

-       <h1>Unexpected RuntimeException</h1>

-       <table ><tr><td><pre><span wicket:id="exception">wicket.markup.MarkupException: Tag expected<br>[markup = 
file:/C:/Documents%20and%20Settings/Gili/My%20Documents/wicket/wicket/target/test-classes/wicket/markup/MarkupInheritanceBase_4.html, index = 11, current = [Raw markup]]<br>    at 
wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:256)<br>    at wicket.markup.MarkupStream.getTag(MarkupStream.java:169)<br>    at 
wicket.markup.DualMarkupStream.getTag(DualMarkupStream.java:163)<br>    at wicket.Component.renderComponent(Component.java:1586)<br>    at 
wicket.markup.html.WebMarkupContainer.onRender(WebMarkupContainer.java:63)<br>    at wicket.Component.render(Component.java:1018)<br>    at 
wicket.MarkupContainer.renderNext(MarkupContainer.java:868)<br>    at wicket.MarkupContainer.renderAll(MarkupContainer.java:772)<br>    at 
wicket.Page.onRender(Page.java:731)<br>    at wicket.Component.render(Component.java:1018)<br>    at wicket.Page.doRender(Page.
java:470)<br>    at wicket.RequestCycle.respond(RequestCycle.java:650)<br>    at wicket.RequestCycle.request(RequestCycle.java:375)<br>    at 
wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:205)<br>    at 
wicket.markup.MarkupInheritanceTest.testRenderHomePage_4(MarkupInheritanceTest.java:122)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>    at java.lang.reflect.Method.invoke(Method.java:585)<br>    
at junit.framework.TestCase.runTest(TestCase.java:154)<br>    at junit.framework.TestCase.runBare(TestCase.java:127)<br>    at 
junit.framework.TestResult$1.protect(TestResult.java:106)<br>    at junit.framework.TestResult.runProtected(TestResult.java:124)<br>    at 
junit.framework.TestResult.run(TestResult.java:109)<br>    at junit.framew
ork.TestCase.run(TestCase.java:118)<br>    at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>    at 
junit.framework.TestSuite.run(TestSuite.java:203)<br>    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)<br>    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)</span></pre></td></tr></table>

-

-       <span wicket:id="markupHighlight">

-               <h2>Markup</h2>

-               <p>

-               The problem is in "<span wicket:id="resource" 
class="resource">file:/C:/Documents%20and%20Settings/Gili/My%20Documents/wicket/wicket/target/test-classes/wicket/markup/MarkupInheritanceBase_4.html</span>":

-               </p>

-               <table><tr><td><pre><span wicket:id="markup" 
class="markup">&nbsp;&nbsp;base:&nbsp;before<br>&nbsp;&nbsp;&lt;!--&nbsp;note:&nbsp;extension&nbsp;and&nbsp;base&nbsp;can&nbsp;not&nbsp;have&nbsp;equals&nbsp;ids&nbsp;like&nbsp;e.g.&nbsp;&quot;label&quot;&nbsp;--&gt;<br>&nbsp;&nbsp;extension:&nbsp;1&nbsp;&lt;span&nbsp;wicket:id=&quot;label1&quot;&gt;Label&nbsp;1&lt;/span&gt;&nbsp;extension:&nbsp;2<br>&nbsp;&nbsp;&lt;wicket:child/&gt;<br>&nbsp;&nbsp;extension:&nbsp;1&nbsp;&lt;a&nbsp;href=&quot;#&quot;&nbsp;wicket:id=&quot;link&quot;&gt;increment&lt;/a&gt;&nbsp;extension:&nbsp;2<br>&nbsp;&nbsp;base:&nbsp;after</span></pre></td></tr></table>

-       </span>

-

-       <p>

-       <span wicket:id="componentTree"><wicket:panel>

-       <h2>Component Tree</h2>

-    <p>Component tree for <span wicket:id="page">[Page class = 
wicket.markup.MarkupInheritanceExtension_4, id = 0]</span>:</p>

-    <table class="componenttree">

-      <thead>

-        <tr>

-          <th align="left">#</th>

-          <th align="left">Path</th>

-          <th align="left">Type</th>

-          <th align="left">Model Object</th>

-        </tr>

-         </thead>

-      <tbody>

-               <tr wicket:id="components">

-                 <td valign="top" align="left"><span 
wicket:id="row">1</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="path">_autoadd_Extend</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="type">MarkupInheritanceContainer</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="model"></span>&nbsp;&nbsp;&nbsp;</td>

-               </tr><tr wicket:id="components">

-                 <td valign="top" align="left"><span 
wicket:id="row">2</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="path">label1</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="type">Label</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="model">1</span>&nbsp;&nbsp;&nbsp;</td>

-               </tr><tr wicket:id="components">

-                 <td valign="top" align="left"><span 
wicket:id="row">3</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="path">label3</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="type">Label</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span wicket:id="model">extension 
label</span>&nbsp;&nbsp;&nbsp;</td>

-               </tr><tr wicket:id="components">

-                 <td valign="top" align="left"><span 
wicket:id="row">4</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="path">link</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="type">Link</span>&nbsp;&nbsp;&nbsp;</td>

-                 <td valign="top" align="left"><span 
wicket:id="model"></span>&nbsp;&nbsp;&nbsp;</td>

-               </tr>

-      </tbody>

-       </table>

-  </wicket:panel></span>

-       </p>

-</body>

-</html>

+<wicket:extend>  base: before

+  <!-- note: extension and base can not have equals ids like e.g. "label" -->

+  extension: 1 <span wicket:id="label1">0</span> extension: 2

+  <wicket:child>

+  <!-- note: extension and base can not have equals ids like e.g. "label" -->

+  extension: 1 <span wicket:id="label3">extension label</span> extension: 2

+</wicket:child>

+  extension: 1 <a 
href="/MockWebApplication/MockWebApplication?component=0.link&amp;version=0&amp;interface=ILinkListener"
 wicket:id="link">increment</a> extension: 2

+  base: after

+</wicket:extend>
------------- ---------------- ---------------
Testcase: testRenderHomePage_4(wicket.markup.MarkupInheritanceTest):    FAILED
null
junit.framework.AssertionFailedError
       at 
wicket.markup.MarkupInheritanceTest.testRenderHomePage_4(MarkupInheritanceTest.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)




Testsuite: wicket.protocol.http.MockWebApplicationTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.469 sec

Testcase: testClickLink(wicket.protocol.http.MockWebApplicationTest):   FAILED
Response should be a redirect
junit.framework.AssertionFailedError: Response should be a redirect
       at 
wicket.protocol.http.MockWebApplicationTest.testClickLink(MockWebApplicationTest.java:86)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)








-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to