deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r908920 - in /websites/staging/deltaspike/trunk/content: ./ test-control.html
Date Thu, 15 May 2014 15:46:26 GMT
Author: buildbot
Date: Thu May 15 15:46:26 2014
New Revision: 908920

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 Thu May 15 15:46:26 2014
@@ -1 +1 @@
-1594951
+1594953

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 Thu May 15 15:46:26 2014
@@ -286,8 +286,7 @@
 </pre></div>
 
 
-<p>Since CDI implementations like OpenWebBeans use a lot of optimizations, it's required
to handle mocks for application-scoped beans differently - e.g.:
-However, <code>ApplicationMockManager</code> can be used for adding all mocks,
if they should be active for the lifetime of the CDI-container.</p>
+<p>Since CDI implementations like OpenWebBeans use a lot of optimizations, it's required
to handle mocks for application-scoped beans differently - e.g.:</p>
 <div class="codehilite"><pre><span class="nd">@RunWith</span><span
class="o">(</span><span class="n">CdiTestRunner</span><span class="o">.</span><span
class="na">class</span><span class="o">)</span>
 <span class="kd">public</span> <span class="kd">class</span> <span
class="nc">MockedApplicationScopedBeanTest</span>
 <span class="o">{</span>
@@ -328,6 +327,7 @@ However, <code>ApplicationMockManager</c
 </pre></div>
 
 
+<p>However, <code>ApplicationMockManager</code> can be used for adding
all mocks, if they should be active for the lifetime of the CDI-container.</p>
 <p>It's also possible to mock qualified beans. Just add the literal-instance(s) as
additional parameter(s) - e.g.:</p>
 <div class="codehilite"><pre><span class="nd">@RunWith</span><span
class="o">(</span><span class="n">CdiTestRunner</span><span class="o">.</span><span
class="na">class</span><span class="o">)</span>
 <span class="kd">public</span> <span class="kd">class</span> <span
class="nc">MockedQualifiedBeanTest</span>



Mime
View raw message