You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by bu...@apache.org on 2015/05/08 02:20:13 UTC

svn commit: r950505 [5/5] - in /websites/staging/deltaspike/trunk/content: ./ documentation/

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 Fri May  8 00:20:12 2015
@@ -1,44 +1,66 @@
 <!DOCTYPE html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="description" content="deltaspike-generate-pages">
-<meta name="author" content="chm">
-<!-- No caching headers -->
-<meta http-equiv="cache-control" content="no-cache" />
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="expires" content="-1" />
-
-<title>Test-Control Module</title>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
--->
-
-<!-- Styles -->
-
-<link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
-<link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
-<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet" >
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="deltaspike-generate-pages">
+    <meta name="author" content="chm">
+    <!-- No caching headers -->
+    <meta http-equiv="cache-control" content="no-cache"/>
+    <meta http-equiv="pragma" content="no-cache"/>
+    <meta http-equiv="expires" content="-1"/>
+
+    <title>Test-Control Module</title>
+
+    <!--
+        Licensed to the Apache Software Foundation (ASF) under one
+        or more contributor license agreements.  See the NOTICE file
+        distributed with this work for additional information
+        regarding copyright ownership.  The ASF licenses this file
+        to you under the Apache License, Version 2.0 (the
+        "License"); you may not use this file except in compliance
+        with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+        Unless required by applicable law or agreed to in writing,
+        software distributed under the License is distributed on an
+        "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+        KIND, either express or implied.  See the License for the
+        specific language governing permissions and limitations
+        under the License.
+    -->
+
+    <!-- Styles -->
+    <link href="https://deltaspike.apache.org/resources/css/bootstrap.css" rel="stylesheet">
+    <link href="https://deltaspike.apache.org/resources/css/bootstrap-responsive.css" rel="stylesheet">
+    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.1.0/css/font-awesome.min.css" rel="stylesheet">
+
+    
+
+    
+        <!-- Tocify - nice dynamic autoscrolling TOC -->
+        <link href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/stylesheets/jquery.tocify.min.css" rel="stylesheet">
+        <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
+
+
+        <script type="text/javascript">
+            $(function () {
+                $("#toc").tocify({
+                    scrollTo: 50,
+                    extendPage: true,
+                    context: "#doc-content",
+                    selectors: "h2,h3,h4,h5"
+                });
+                $(".fallback-toc").hide();
+            });
+        </script>
+    
 
-<style type="text/css">
-/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
+    <style type="text/css">
+        /* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
 /*pre.CodeRay {background-color:#f7f7f8;}*/
 .CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
 .CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
@@ -128,130 +150,129 @@ table.CodeRay td.code>pre{padding:0}
 .CodeRay .change .change{color:#66f}
 .CodeRay .head .head{color:#f4f}
 
-body {
-  padding-top: 60px;
-  padding-bottom: 40px;
-}
-</style>
+        body {
+            padding-top: 60px;
+            padding-bottom: 40px;
+        }
+
+        .toc-like {
+            border-radius: 6px;
+            border: 1px solid #ccc;
+        }
+
+        .toc-like li {
+            line-height: 30px;
+            text-indent: 10px;
+        }
+
+        .toc-like li.custom-toc-header {
+            font-weight: bold;
+            background: #666;
+            color: white;
+            cursor: initial !important;
+            padding: 5px;
+        }
+
+        .toc-like li.custom-toc-header a {
+            color: white;
+            font-style: normal;
+            text-shadow: none;
+            padding: 0;
+        }
+
+        .toc-like li.custom-toc-header:hover a {
+            background: #666;
+        }
+
+        .page-title {
+            text-align: left;
+        }
+
+        #doc-content h2,
+        #doc-content h3,
+        #doc-content h4,
+        #doc-content h5,
+        #doc-content h6 {
+            padding-top: 0;
+            margin-top: 25px;
+            margin-bottom: 10px;
+            line-height: 1.4em;
+        }
+
+        #doc-content h2 {
+            border-bottom: 1px solid lightgrey;
+        }
 
-<script type="text/javascript">
 
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-36103647-1']);
-    _gaq.push(['_trackPageview']);
+    </style>
 
-    (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-    })();
+    <script type="text/javascript">
 
-  </script>
+        var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-36103647-1']);
+        _gaq.push(['_trackPageview']);
+
+        (function () {
+            var ga = document.createElement('script');
+            ga.type = 'text/javascript';
+            ga.async = true;
+            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+            var s = document.getElementsByTagName('script')[0];
+            s.parentNode.insertBefore(ga, s);
+        })();
+
+    </script>
 </head>
 
 <body>
 
-  <div class="navbar navbar-fixed-top">
+<div class="navbar navbar-fixed-top">
     <div class="navbar-inner">
-      <div class="container">
-        <a class="btn btn-navbar" data-toggle="collapse"
-          data-target=".nav-collapse"> <span class="icon-bar"></span> <span
-          class="icon-bar"></span> <span class="icon-bar"></span>
-        </a>
-        <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
-        <div class="nav-collapse">
-     
-          
-          <ul class="nav">
-            <li><a href="../index.html">Home</a></li>
-            <li class="active"><a href="../documentation">Documentation</a></li>
-            <li  ><a href="../javadoc.html">Javadoc</a></li>
-            <li ><a href="../source.html">Source</a></li>
-            <li ><a href="../download.html">Download</a></li>
-            <li ><a href="../community.html">Community</a></li>
-            <!-- <li><a href="./support.html">Support</a></li>  -->
-            <li ><a href="../news.html">News</a></li>
-            <li ><a href="../migration-guide.html">Migration</a></li>
-          </ul>
+        <div class="container">
+            <a class="btn btn-navbar" data-toggle="collapse"
+               data-target=".nav-collapse"> <span class="icon-bar"></span> <span
+            class="icon-bar"></span> <span class="icon-bar"></span>
+            </a>
+            <a class="brand logocolor" href="../index.html">Apache DeltaSpike</a>
+
+            <div class="nav-collapse">
+
+                
+                <ul class="nav">
+                    <li><a href="../index.html">Home</a></li>
+                    <li class="active"><a href="../documentation">Documentation</a></li>
+                    <li  ><a href="../javadoc.html">Javadoc</a></li>
+                    <li ><a href="../source.html">Source</a></li>
+                    <li ><a href="../download.html">Download</a></li>
+                    <li ><a href="../community.html">Community</a></li>
+                    <!-- <li><a href="./support.html">Support</a></li>  -->
+                    <li ><a href="../news.html">News</a></li>
+                    <li ><a href="../migration-guide.html">Migration</a></li>
+                </ul>
+            </div>
+            <!--/.nav-collapse -->
+            <form id="search-form" action="https://www.google.com/search"
+                  method="get" class="navbar-search pull-right">
+                <input value="deltaspike.apache.org" name="sitesearch"
+                       type="hidden"> <input class="search-query" name="q"
+                                             id="query" type="text">
+            </form>
         </div>
-        <!--/.nav-collapse -->
-        <form id="search-form" action="https://www.google.com/search"
-          method="get" class="navbar-search pull-right">
-          <input value="deltaspike.apache.org" name="sitesearch"
-            type="hidden"> <input class="search-query" name="q"
-            id="query" type="text">
-        </form>
-      </div>
     </div>
-  </div>
+</div>
 
-  <div class="container">
-    <div class="row">
-      <div class="span12">
-        <div class="page-title">
-          <h1>Test-Control Module</h1>
-        </div>
+<div class="container">
+    <div class="row-fluid">
 
-        <div id="toc" class="toc">
-            <ul class="sectlevel1">
-<li><a href="#_overview">Overview</a></li>
-<li><a href="#_configure_your_projects">Configure Your Projects</a>
-<ul class="sectlevel2">
-<li><a href="#_1_declare_test_control_module_dependencies">1. Declare Test-Control Module Dependencies</a></li>
-<li><a href="#_2_declare_cdi_implementation_specific_dependencies">2. Declare CDI-implementation-specific dependencies</a>
-<ul class="sectlevel3">
-<li><a href="#_openwebbeans">OpenWebBeans</a></li>
-<li><a href="#_weld">Weld</a></li>
-<li><a href="#_openejb">OpenEJB</a></li>
-</ul>
-</li>
-<li><a href="#_3_complete_additional_project_configuration">3. Complete Additional Project Configuration</a></li>
-</ul>
-</li>
-<li><a href="#_use_the_module_features">Use the Module Features</a>
-<ul class="sectlevel2">
-<li><a href="#_automated_container_booting_and_shutdown">Automated Container Booting and Shutdown</a>
-<ul class="sectlevel3">
-<li><a href="#_cditestrunner">CdiTestRunner</a></li>
-<li><a href="#_cditestsuiterunner">CdiTestSuiteRunner</a></li>
-<li><a href="#_optional_shutdown_configuration">Optional Shutdown Configuration</a></li>
-</ul>
-</li>
-<li><a href="#_test_customization">Test Customization</a>
-<ul class="sectlevel3">
-<li><a href="#__testcontrol">@TestControl</a></li>
-<li><a href="#_projectstage_control">ProjectStage Control</a></li>
-</ul>
-</li>
-<li><a href="#_optional_configuration">Optional Configuration</a>
-<ul class="sectlevel3">
-<li><a href="#_reconfigure_the_config_file_name_or_location">Reconfigure the config-file Name or Location</a></li>
-</ul>
-</li>
-<li><a href="#_optional_integrations">Optional Integrations</a>
-<ul class="sectlevel3">
-<li><a href="#_mock_frameworks">Mock Frameworks</a></li>
-<li><a href="#_jsf_via_myfaces_test">JSF (via MyFaces-Test)</a></li>
-</ul>
-</li>
-<li><a href="#_using_jersey_test_with_test_control">Using jersey-test with test-control</a></li>
-<li><a href="#_mixed_tests">Mixed Tests</a></li>
-<li><a href="#_known_restrictions">Known Restrictions</a>
-<ul class="sectlevel3">
-<li><a href="#_liquibase">Liquibase</a></li>
-<li><a href="#_gradle">Gradle</a></li>
-</ul>
-</li>
-<li><a href="#_spi">SPI</a>
-<ul class="sectlevel3">
-<li><a href="#_externalcontainer">ExternalContainer</a></li>
-</ul>
-</li>
-</ul>
-</li>
-</ul>
-            <hr>
-            <div class="sect1">
+        
+
+        <div class="span8">
+            <div class="page-title">
+                <h1>Test-Control Module</h1>
+            </div>
+
+            <div id="doc-content">
+                <div class="sect1">
 <h2 id="_overview">Overview</h2>
 <div class="sectionbody">
 <div class="paragraph">
@@ -928,17 +949,111 @@ Currently DeltaSpike provides:</p>
 </div>
 </div>
 </div>
+            </div>
         </div>
 
-        <hr>
+        
+            <div class="span4">
+                <div id="toc">
+                    <div class="moduledeps">
+                        <ul class="toc-like nav nav-list">
+                            
+                                <li class="custom-toc-header">Depends on</li>
+                                
+                                    <li><a href="core.html">Core</a></li>
+                                
+                                    <li><a href="container-control.html">Container control</a></li>
+                                
+                            
+                            
+                                <li class="custom-toc-header"><a href="core.html#_internal_configuration">Configuration</a></li>
+                                
+                                    <li><a href="https://github.com/apache/deltaspike/blob/master/deltaspike/modules/test-control/api/src/main/java/org/apache/deltaspike/testcontrol/api/junit/TestBaseConfig.java">TestBaseConfig</a></li>
+                                
+                                    <li><a href="https://github.com/apache/deltaspike/blob/master/deltaspike/modules/test-control/impl/src/main/java/org/apache/deltaspike/testcontrol/impl/jsf/MyFacesTestBaseConfig.java">MyFacesTestBaseConfig</a></li>
+                                
+                            
+                            
+                                <li class="custom-toc-header">Table of Contents</li>
+                            
+                        </ul>
+                    </div>
+                </div>
+                
+                    <div class="fallback-toc">
+                        <ul class="sectlevel1">
+<li><a href="#_overview">Overview</a></li>
+<li><a href="#_configure_your_projects">Configure Your Projects</a>
+<ul class="sectlevel2">
+<li><a href="#_1_declare_test_control_module_dependencies">1. Declare Test-Control Module Dependencies</a></li>
+<li><a href="#_2_declare_cdi_implementation_specific_dependencies">2. Declare CDI-implementation-specific dependencies</a>
+<ul class="sectlevel3">
+<li><a href="#_openwebbeans">OpenWebBeans</a></li>
+<li><a href="#_weld">Weld</a></li>
+<li><a href="#_openejb">OpenEJB</a></li>
+</ul>
+</li>
+<li><a href="#_3_complete_additional_project_configuration">3. Complete Additional Project Configuration</a></li>
+</ul>
+</li>
+<li><a href="#_use_the_module_features">Use the Module Features</a>
+<ul class="sectlevel2">
+<li><a href="#_automated_container_booting_and_shutdown">Automated Container Booting and Shutdown</a>
+<ul class="sectlevel3">
+<li><a href="#_cditestrunner">CdiTestRunner</a></li>
+<li><a href="#_cditestsuiterunner">CdiTestSuiteRunner</a></li>
+<li><a href="#_optional_shutdown_configuration">Optional Shutdown Configuration</a></li>
+</ul>
+</li>
+<li><a href="#_test_customization">Test Customization</a>
+<ul class="sectlevel3">
+<li><a href="#__testcontrol">@TestControl</a></li>
+<li><a href="#_projectstage_control">ProjectStage Control</a></li>
+</ul>
+</li>
+<li><a href="#_optional_configuration">Optional Configuration</a>
+<ul class="sectlevel3">
+<li><a href="#_reconfigure_the_config_file_name_or_location">Reconfigure the config-file Name or Location</a></li>
+</ul>
+</li>
+<li><a href="#_optional_integrations">Optional Integrations</a>
+<ul class="sectlevel3">
+<li><a href="#_mock_frameworks">Mock Frameworks</a></li>
+<li><a href="#_jsf_via_myfaces_test">JSF (via MyFaces-Test)</a></li>
+</ul>
+</li>
+<li><a href="#_using_jersey_test_with_test_control">Using jersey-test with test-control</a></li>
+<li><a href="#_mixed_tests">Mixed Tests</a></li>
+<li><a href="#_known_restrictions">Known Restrictions</a>
+<ul class="sectlevel3">
+<li><a href="#_liquibase">Liquibase</a></li>
+<li><a href="#_gradle">Gradle</a></li>
+</ul>
+</li>
+<li><a href="#_spi">SPI</a>
+<ul class="sectlevel3">
+<li><a href="#_externalcontainer">ExternalContainer</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+                    </div>
+                
+            </div>
+        
 
+    </div>
+    <div class="row">
+        <hr>
         <footer>
-          <p>Copyright © 2011-2014 The Apache Software Foundation,
-            Licensed under the Apache License, Version 2.0.</p>
-          <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+            <p>Copyright &copy; 2011-2014 The Apache Software Foundation,
+                Licensed under the Apache License, Version 2.0.</p>
+
+            <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
         </footer>
-      </div>
     </div>
-  </div>
+</div>
+
 </body>
 </html>
\ No newline at end of file