[testng] 310/355: add doc for others guice Stage values
Eugene Zhukov
eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.
commit ee843e559ec6fe968d2eadcecacb66d37acb22cc
Author: cguillaume <cguillaume at hotpads.com>
Date: Sun May 10 07:01:44 2015 -0700
add doc for others guice Stage values
---
doc/documentation-main.html | 2 +-
src/main/resources/testng-1.0.dtd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/documentation-main.html b/doc/documentation-main.html
index 598f33d..bfd6561 100644
--- a/doc/documentation-main.html
+++ b/doc/documentation-main.html
@@ -2229,7 +2229,7 @@ Your factory will be passed an instance of the test context and the test class t
You will get even more flexibility and Guice power with <tt>parent-module</tt> and <tt>guice-stage</tt> suite parameters.
<tt>guice-stage</tt> allow you to chose the <a href="https://github.com/google/guice/wiki/Bootstrap"><tt>Stage</tt></a> used to create the parent injector.
-The default one is <tt>DEVELOPMENT</tt>.
+The default one is <tt>DEVELOPMENT</tt>. Other allowed values are <tt>PRODUCTION</tt> and <tt>TOOL</tt>.
Here is how you can define parent-module in your test.xml file:
<pre class="brush: xml">
diff --git a/src/main/resources/testng-1.0.dtd b/src/main/resources/testng-1.0.dtd
index ef435cc..cab3df5 100755
--- a/src/main/resources/testng-1.0.dtd
+++ b/src/main/resources/testng-1.0.dtd
@@ -65,7 +65,7 @@ Cedric Beust & Alexandru Popescu
verbose CDATA #IMPLIED
parallel (false | methods | tests | classes | instances) "false"
parent-module CDATA #IMPLIED
- guice-stage CDATA #IMPLIED
+ guice-stage (DEVELOPMENT | PRODUCTION | TOOL) #IMPLIED
configfailurepolicy (skip | continue) "skip"
thread-count CDATA "5"
annotations CDATA #IMPLIED
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git
More information about the pkg-java-commits
mailing list