incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r423972 [2/2] - in /incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test: java/org/apache/myfaces/adfinternal/renderkit/ resources/org/apache/myfaces/adfinternal/renderkit/golden/ resources/org/apache/myfaces/adfinternal/renderkit/tes...
Date Thu, 20 Jul 2006 16:12:17 GMT
Added: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalPPC-golden.xml?rev=423972&view=auto
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalPPC-golden.xml
(added)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalPPC-golden.xml
Thu Jul 20 09:12:16 2006
@@ -0,0 +1,576 @@
+<results>
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[value,<p>paragraph</p>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <p
+              >
+            paragraph
+          </p>
+        </p>
+      </div>
+<!--AttributeTest[value,<b>bold</b>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <b
+              >
+            bold
+          </b>
+        </p>
+      </div>
+<!--AttributeTest[value,<i>italic</i>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <i
+              >
+            italic
+          </i>
+        </p>
+      </div>
+<!--AttributeTest[value,<tt>tt</tt>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <tt
+              >
+            tt
+          </tt>
+        </p>
+      </div>
+<!--AttributeTest[value,<big>big</big>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <big
+              >
+            big
+          </big>
+        </p>
+      </div>
+<!--AttributeTest[value,<small>small</small>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <small
+              >
+            small
+          </small>
+        </p>
+      </div>
+<!--AttributeTest[value,<pre>pre</pre>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <pre
+              >
+            pre
+          </pre>
+        </p>
+      </div>
+<!--AttributeTest[value,<span>span</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span
+        </p>
+      </div>
+<!--AttributeTest[value,<span class="foo">span with class</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <span
+               class="foo"
+              >
+            span with class
+          </span>
+        </p>
+      </div>
+<!--AttributeTest[value,<a href="foo">a with href</a>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <a
+               href="uri-attr:foo"
+              >
+            a with href
+          </a>
+        </p>
+      </div>
+<!--AttributeTest[value,<span bogus="foo">span with bogus attr</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span with bogus attr
+        </p>
+      </div>
+<!--AttributeTest[value,Text on<br>two lines]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text on
+          <br
+              >
+            
+          </br>two lines
+        </p>
+      </div>
+<!--AttributeTest[value,Separated<hr>text]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Separated
+          <hr
+              >
+            
+          </hr>text
+        </p>
+      </div>
+<!--AttributeTest[value,<ol><li>one<li>two</ol>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ol
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ol>
+        </p>
+      </div>
+<!--AttributeTest[value,<ul><li>one<li>two</ul>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ul
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ul>
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &lt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &lt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &gt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &gt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &amp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &amp;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &reg;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xae;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &copy;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa9;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &nbsp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa0;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &quot;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &quot;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with ignored entity &ignored;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with ignored entity 
+        </p>
+      </div>
+<!--AttributeTest[id,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="test-id"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[styleClass,null]-->
+
+      <div
+           class="test-styleClass af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[inlineStyle,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           style="test-inlineStyle"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[shortDesc,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           title="test-shortDesc"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onclick="test-onclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[ondblclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           ondblclick="test-ondblclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeydown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeydown="test-onkeydown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeypress,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeypress="test-onkeypress"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeyup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeyup="test-onkeyup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousedown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousedown="test-onmousedown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousemove,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousemove="test-onmousemove"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseout,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseout="test-onmouseout"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseover,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseover="test-onmouseover"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseup="test-onmouseup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+</results>

Added: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalSaf-golden.xml?rev=423972&view=auto
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalSaf-golden.xml
(added)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalSaf-golden.xml
Thu Jul 20 09:12:16 2006
@@ -0,0 +1,576 @@
+<results>
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[value,<p>paragraph</p>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <p
+              >
+            paragraph
+          </p>
+        </p>
+      </div>
+<!--AttributeTest[value,<b>bold</b>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <b
+              >
+            bold
+          </b>
+        </p>
+      </div>
+<!--AttributeTest[value,<i>italic</i>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <i
+              >
+            italic
+          </i>
+        </p>
+      </div>
+<!--AttributeTest[value,<tt>tt</tt>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <tt
+              >
+            tt
+          </tt>
+        </p>
+      </div>
+<!--AttributeTest[value,<big>big</big>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <big
+              >
+            big
+          </big>
+        </p>
+      </div>
+<!--AttributeTest[value,<small>small</small>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <small
+              >
+            small
+          </small>
+        </p>
+      </div>
+<!--AttributeTest[value,<pre>pre</pre>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <pre
+              >
+            pre
+          </pre>
+        </p>
+      </div>
+<!--AttributeTest[value,<span>span</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span
+        </p>
+      </div>
+<!--AttributeTest[value,<span class="foo">span with class</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <span
+               class="foo"
+              >
+            span with class
+          </span>
+        </p>
+      </div>
+<!--AttributeTest[value,<a href="foo">a with href</a>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <a
+               href="uri-attr:foo"
+              >
+            a with href
+          </a>
+        </p>
+      </div>
+<!--AttributeTest[value,<span bogus="foo">span with bogus attr</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span with bogus attr
+        </p>
+      </div>
+<!--AttributeTest[value,Text on<br>two lines]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text on
+          <br
+              >
+            
+          </br>two lines
+        </p>
+      </div>
+<!--AttributeTest[value,Separated<hr>text]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Separated
+          <hr
+              >
+            
+          </hr>text
+        </p>
+      </div>
+<!--AttributeTest[value,<ol><li>one<li>two</ol>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ol
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ol>
+        </p>
+      </div>
+<!--AttributeTest[value,<ul><li>one<li>two</ul>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ul
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ul>
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &lt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &lt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &gt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &gt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &amp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &amp;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &reg;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xae;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &copy;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa9;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &nbsp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa0;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &quot;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &quot;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with ignored entity &ignored;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with ignored entity 
+        </p>
+      </div>
+<!--AttributeTest[id,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="test-id"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[styleClass,null]-->
+
+      <div
+           class="test-styleClass af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[inlineStyle,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           style="test-inlineStyle"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[shortDesc,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           title="test-shortDesc"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onclick="test-onclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[ondblclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           ondblclick="test-ondblclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeydown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeydown="test-onkeydown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeypress,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeypress="test-onkeypress"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeyup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeyup="test-onkeyup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousedown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousedown="test-onmousedown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousemove,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousemove="test-onmousemove"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseout,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseout="test-onmouseout"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseover,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseover="test-onmouseover"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseup="test-onmouseup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+</results>

Added: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalScrRdr-golden.xml?rev=423972&view=auto
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalScrRdr-golden.xml
(added)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/golden/outputDocument-minimalScrRdr-golden.xml
Thu Jul 20 09:12:16 2006
@@ -0,0 +1,576 @@
+<results>
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[value,<p>paragraph</p>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <p
+              >
+            paragraph
+          </p>
+        </p>
+      </div>
+<!--AttributeTest[value,<b>bold</b>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <b
+              >
+            bold
+          </b>
+        </p>
+      </div>
+<!--AttributeTest[value,<i>italic</i>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <i
+              >
+            italic
+          </i>
+        </p>
+      </div>
+<!--AttributeTest[value,<tt>tt</tt>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <tt
+              >
+            tt
+          </tt>
+        </p>
+      </div>
+<!--AttributeTest[value,<big>big</big>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <big
+              >
+            big
+          </big>
+        </p>
+      </div>
+<!--AttributeTest[value,<small>small</small>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <small
+              >
+            small
+          </small>
+        </p>
+      </div>
+<!--AttributeTest[value,<pre>pre</pre>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <pre
+              >
+            pre
+          </pre>
+        </p>
+      </div>
+<!--AttributeTest[value,<span>span</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span
+        </p>
+      </div>
+<!--AttributeTest[value,<span class="foo">span with class</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <span
+               class="foo"
+              >
+            span with class
+          </span>
+        </p>
+      </div>
+<!--AttributeTest[value,<a href="foo">a with href</a>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <a
+               href="uri-attr:foo"
+              >
+            a with href
+          </a>
+        </p>
+      </div>
+<!--AttributeTest[value,<span bogus="foo">span with bogus attr</span>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          span with bogus attr
+        </p>
+      </div>
+<!--AttributeTest[value,Text on<br>two lines]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text on
+          <br
+              >
+            
+          </br>two lines
+        </p>
+      </div>
+<!--AttributeTest[value,Separated<hr>text]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Separated
+          <hr
+              >
+            
+          </hr>text
+        </p>
+      </div>
+<!--AttributeTest[value,<ol><li>one<li>two</ol>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ol
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ol>
+        </p>
+      </div>
+<!--AttributeTest[value,<ul><li>one<li>two</ul>]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          
+          <ul
+              >
+            
+            <li
+                >
+              one
+            </li>
+            <li
+                >
+              two
+            </li>
+          </ul>
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &lt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &lt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &gt;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &gt;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &amp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &amp;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &reg;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xae;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &copy;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa9;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &nbsp;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &#xa0;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with &quot;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with &quot;
+        </p>
+      </div>
+<!--AttributeTest[value,Text with ignored entity &ignored;]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text with ignored entity 
+        </p>
+      </div>
+<!--AttributeTest[id,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="test-id"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[styleClass,null]-->
+
+      <div
+           class="test-styleClass af_outputDocument"
+           id="mainId"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[inlineStyle,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           style="test-inlineStyle"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[shortDesc,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           title="test-shortDesc"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onclick="test-onclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[ondblclick,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           ondblclick="test-ondblclick"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeydown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeydown="test-onkeydown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeypress,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeypress="test-onkeypress"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onkeyup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onkeyup="test-onkeyup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousedown,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousedown="test-onmousedown"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmousemove,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmousemove="test-onmousemove"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseout,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseout="test-onmouseout"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseover,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseover="test-onmouseover"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+<!--AttributeTest[onmouseup,null]-->
+
+      <div
+           class="af_outputDocument"
+           id="mainId"
+           onmouseup="test-onmouseup"
+          >
+        
+        <p
+             class="af_outputDocument_paragraph"
+            >
+          Text
+        </p>
+      </div>
+</results>

Added: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument-facets.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument-facets.xml?rev=423972&view=auto
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument-facets.xml
(added)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument-facets.xml
Thu Jul 20 09:12:16 2006
@@ -0,0 +1,15 @@
+<test xmlns="http://myfaces.apache.org/adf/view/faces/test"
+       xmlns:af="http://myfaces.apache.org/adf/view/faces">
+  <base-component af:type="org.apache.myfaces.adf.CoreOutputDocument" 
+                  value="#{simpleDocument}"
+                  titleClass="titleClass"
+                  separatorClass="separatorClass">
+     <component af:type="org.apache.myfaces.adf.CoreOutputFormatted"
+                af:facet="title"
+                value="The title facet"/>
+     <component af:type="org.apache.myfaces.adf.CoreOutputFormatted"
+                af:facet="separator"
+                value="The paragraph separator"/>
+  </base-component>
+  <!-- test the facets seperately so output not too big - see outputDocument.xml for attribute
tests -->
+</test>

Added: incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument.xml?rev=423972&view=auto
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument.xml
(added)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-impl/src/test/resources/org/apache/myfaces/adfinternal/renderkit/testScripts/outputDocument.xml
Thu Jul 20 09:12:16 2006
@@ -0,0 +1,39 @@
+<test xmlns="http://myfaces.apache.org/adf/view/faces/test"
+       xmlns:af="http://myfaces.apache.org/adf/view/faces">
+  <base-component af:type="org.apache.myfaces.adf.CoreOutputDocument" value="Text"/>
+  
+  <!-- only test all the facets once in outputDocument-facets.xml, otherwise page test
is giant. -->  
+
+  <attribute-test name="value" value="&lt;p&gt;paragraph&lt;/p&gt;"/>
+  <attribute-test name="value" value="&lt;b&gt;bold&lt;/b&gt;"/>
+  <attribute-test name="value" value="&lt;i&gt;italic&lt;/i&gt;"/>
+  <attribute-test name="value" value="&lt;tt&gt;tt&lt;/tt&gt;"/>
+  <attribute-test name="value" value="&lt;big&gt;big&lt;/big&gt;"/>
+  <attribute-test name="value" value="&lt;small&gt;small&lt;/small&gt;"/>
+  <attribute-test name="value" value="&lt;pre&gt;pre&lt;/pre&gt;"/>
+  <attribute-test name="value" value="&lt;span&gt;span&lt;/span&gt;"/>
+  <attribute-test name="value" value="&lt;span class=&quot;foo&quot;&gt;span
with class&lt;/span&gt;"/>
+  <attribute-test name="value" value="&lt;a href=&quot;foo&quot;&gt;a
with href&lt;/a&gt;"/>
+
+  <attribute-test name="value" value="&lt;span bogus=&quot;foo&quot;&gt;span
with bogus attr&lt;/span&gt;"/>
+
+  <attribute-test name="value" value="Text on&lt;br&gt;two lines"/>
+  <attribute-test name="value" value="Separated&lt;hr&gt;text"/>
+  <attribute-test name="value" value="&lt;ol&gt;&lt;li&gt;one&lt;li&gt;two&lt;/ol&gt;"/>
+  <attribute-test name="value" value="&lt;ul&gt;&lt;li&gt;one&lt;li&gt;two&lt;/ul&gt;"/>
+
+  <attribute-test name="value" value="Text with &amp;lt;"/>
+  <attribute-test name="value" value="Text with &amp;gt;"/>
+  <attribute-test name="value" value="Text with &amp;amp;"/>
+  <attribute-test name="value" value="Text with &amp;reg;"/>
+  <attribute-test name="value" value="Text with &amp;copy;"/>
+  <attribute-test name="value" value="Text with &amp;nbsp;"/>
+  <attribute-test name="value" value="Text with &amp;quot;"/>
+  <attribute-test name="value" value="Text with ignored entity &amp;ignored;"/>
+  
+  <attribute-test name="id"/>
+  <attribute-test name="styleClass"/>
+  <attribute-test name="inlineStyle"/>
+  <attribute-test name="shortDesc"/>
+  <js-test/>
+</test>



Mime
View raw message