deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r927644 - in /websites/staging/deltaspike/trunk/content: ./ contributors.html documentation/staging/ documentation/test-control.html
Date Sat, 01 Nov 2014 19:00:54 GMT
Author: buildbot
Date: Sat Nov  1 19:00:53 2014
New Revision: 927644

Log:
Staging update by buildbot for deltaspike

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

Propchange: websites/staging/deltaspike/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Nov  1 19:00:53 2014
@@ -1 +1 @@
-1635797
+1636013

Modified: websites/staging/deltaspike/trunk/content/contributors.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/contributors.html (original)
+++ websites/staging/deltaspike/trunk/content/contributors.html Sat Nov  1 19:00:53 2014
@@ -92,14 +92,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>gpetracek</h3>
+        <h3>lincolnthree</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/6f3b4f34837a2289844caf64e9680bb8?s=140"/>
+                <img src="http://gravatar.com/avatar/?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -107,7 +107,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>david.blevins</h3>
+        <h3>gpetracek</h3>
         
     </li>
 
@@ -122,14 +122,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>jharting</h3>
+        <h3>marius</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/?s=140"/>
+                <img src="http://gravatar.com/avatar/47b1d3b06f04424bb396ad5b621ca51e?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -137,7 +137,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>bleathem</h3>
+        <h3>johndament</h3>
         
     </li>
 
@@ -152,7 +152,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>chkal</h3>
+        <h3>antoinesd</h3>
         
     </li>
 
@@ -167,14 +167,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>lincolnthree</h3>
+        <h3>kenfinnigan</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/47b1d3b06f04424bb396ad5b621ca51e?s=140"/>
+                <img src="http://gravatar.com/avatar/?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -182,7 +182,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>johndament</h3>
+        <h3>cmoulliard</h3>
         
     </li>
 
@@ -197,7 +197,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>lukaszlenart</h3>
+        <h3>jharting</h3>
         
     </li>
 
@@ -212,7 +212,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>marius</h3>
+        <h3>jakobk</h3>
         
     </li>
 
@@ -227,14 +227,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>cmoulliard</h3>
+        <h3>mojavelinux</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/fa74dd8256e4d02c6bb9a35c193f53bf?s=140"/>
+                <img src="http://gravatar.com/avatar/?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -242,7 +242,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>lightguardjp</h3>
+        <h3>jimjag</h3>
         
     </li>
 
@@ -257,7 +257,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>kenfinnigan</h3>
+        <h3>chkal</h3>
         
     </li>
 
@@ -272,7 +272,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>jakobk</h3>
+        <h3>gastaldi</h3>
         
     </li>
 
@@ -287,7 +287,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>antoinesd</h3>
+        <h3>bleathem</h3>
         
     </li>
 
@@ -302,14 +302,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>gastaldi</h3>
+        <h3>matzew</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/7bc530b3b080b9fd6a018db84bda9884?s=140"/>
+                <img src="http://gravatar.com/avatar/?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -317,14 +317,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>cody.lerum</h3>
+        <h3>lukaszlenart</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/fc0369fe2a90a65801ef65ac407f5c09?s=140"/>
+                <img src="http://gravatar.com/avatar/6f3b4f34837a2289844caf64e9680bb8?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -332,7 +332,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>arne.limburg</h3>
+        <h3>david.blevins</h3>
         
     </li>
 
@@ -347,7 +347,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>jimjag</h3>
+        <h3>sbryzak</h3>
         
     </li>
 
@@ -362,14 +362,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>matzew</h3>
+        <h3>pmuir</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/?s=140"/>
+                <img src="http://gravatar.com/avatar/7bc530b3b080b9fd6a018db84bda9884?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -377,7 +377,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>pmuir</h3>
+        <h3>cody.lerum</h3>
         
     </li>
 
@@ -392,14 +392,14 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>rafabene</h3>
+        <h3>rmannibucau</h3>
         
     </li>
 
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/?s=140"/>
+                <img src="http://gravatar.com/avatar/fc0369fe2a90a65801ef65ac407f5c09?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -407,7 +407,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>rmannibucau</h3>
+        <h3>arne.limburg</h3>
         
     </li>
 
@@ -429,7 +429,7 @@
     <li>
         <div class="photo">
             <a href="">
-                <img src="http://gravatar.com/avatar/?s=140"/>
+                <img src="http://gravatar.com/avatar/fa74dd8256e4d02c6bb9a35c193f53bf?s=140"/>
             </a>
             <ul>
                 <li><a href="#">Blog</a></li>
@@ -437,7 +437,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>sbryzak</h3>
+        <h3>lightguardjp</h3>
         
     </li>
 
@@ -452,7 +452,7 @@
                 <li><a href="#">GitHub</a></li>
             </ul>
         </div>
-        <h3>mojavelinux</h3>
+        <h3>rafabene</h3>
         
     </li>
 

Modified: websites/staging/deltaspike/trunk/content/documentation/test-control.html
==============================================================================
--- websites/staging/deltaspike/trunk/content/documentation/test-control.html (original)
+++ websites/staging/deltaspike/trunk/content/documentation/test-control.html Sat Nov  1 19:00:53
2014
@@ -394,12 +394,29 @@ org.apache.openejb:openejb-core (instead
 <div class="sect2">
 <h3 id="_mock_frameworks">Mock Frameworks</h3>
 <div class="paragraph">
-<p>With v0.8+ it&#8217;s possible to mock CDI-Beans. Usually @Exclude (+
+<p>Since v1 it&#8217;s possible to mock CDI-Beans. Usually @Exclude (+
 project-stage) is enough, however, for some cases mocked beans might be
 easier. Therefore it&#8217;s possible to create (mock-)instances manually or
 via a mocking framework and add them e.g. via <code>DynamicMockManager</code>.</p>
 </div>
 <div class="paragraph">
+<p><strong>Attention:</strong>
+Mocking CDI beans isn&#8217;t supported for every feature of CDI and/or
+every implementation version. E.g. we can&#8217;t mock intercepted CDI beans and
+with some implementations mocking specialized beans fails.
+Usually all features are active per default, however,
+due to those reasons we deactivated this feature per default.
+You can enable it by adding</p>
+</div>
+<div class="paragraph">
+<p><code>deltaspike.testcontrol.mock-support.allow_mocked_beans=true</code>
+and/or
+<code>deltaspike.testcontrol.mock-support.allow_mocked_producers=true</code></p>
+</div>
+<div class="paragraph">
+<p>to <code>/META-INF/apache-deltaspike.properties</code> in your test-folder.</p>
+</div>
+<div class="paragraph">
 <p>If you need dependency-injection in the mocked instances, you can use
 <code>BeanProvider.injectFields(myMockedBean);</code>.</p>
 </div>



Mime
View raw message