deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r909485 - in /websites/staging/deltaspike/trunk/content: ./ test-control.html
Date Wed, 21 May 2014 10:22:22 GMT
Author: buildbot
Date: Wed May 21 10:22:22 2014
New Revision: 909485

Log:
Staging update by buildbot for deltaspike

Modified:
    websites/staging/deltaspike/trunk/content/   (props changed)
    websites/staging/deltaspike/trunk/content/test-control.html

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May 21 10:22:22 2014
@@ -1 +1 @@
-1596203
+1596531

Modified: websites/staging/deltaspike/trunk/content/test-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/test-control.html (original)
+++ websites/staging/deltaspike/trunk/content/test-control.html Wed May 21 10:22:22 2014
@@ -371,11 +371,14 @@
 <p>In some cases it's needed to use <code>@javax.enterprise.inject.Typed</code>.
Mocking such typed beans can result in an <code>AmbiguousResolutionException</code>.
 Therefore it's needed to exclude the mocked implementation via <code>@Exclude</code>
or <code>@Typed()</code> (or a parametrized constructor) and specify the target-type
via <code>@TypedMock</code>.</p>
 <h2 id="jsf-via-myfaces-test">JSF (via MyFaces-Test)</h2>
-<p>add:</p>
-<p>org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer
-or
-org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter</p>
-<p>to</p>
+<p>add on of</p>
+<ul>
+<li>org.apache.deltaspike.testcontrol.impl.jsf.MockedJsf2TestContainer</li>
+<li>org.apache.deltaspike.testcontrol.impl.jsf.MockedJsfTestContainerAdapter</li>
+<li>org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerAdapter</li>
+<li>org.apache.deltaspike.testcontrol.impl.jsf.MyFacesContainerPerTestMethodAdapter</li>
+</ul>
+<p>as content to</p>
 <p>/META-INF/services/org.apache.deltaspike.testcontrol.spi.ExternalContainer</p>
 <p>(in your config-folder for tests e.g.: test/resources)</p>
 <h1 id="mixed-tests">Mixed Tests</h1>



Mime
View raw message