You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by si...@apache.org on 2012/12/08 10:16:02 UTC
svn commit: r1418635 - in /incubator/onami/trunk/test/src/site/apt: core.apt
guice.apt mock.apt
Author: simonetripodi
Date: Sat Dec 8 09:16:01 2012
New Revision: 1418635
URL: http://svn.apache.org/viewvc?rev=1418635&view=rev
Log:
JUnice not longer exists
Modified:
incubator/onami/trunk/test/src/site/apt/core.apt
incubator/onami/trunk/test/src/site/apt/guice.apt
incubator/onami/trunk/test/src/site/apt/mock.apt
Modified: incubator/onami/trunk/test/src/site/apt/core.apt
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/site/apt/core.apt?rev=1418635&r1=1418634&r2=1418635&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/site/apt/core.apt (original)
+++ incubator/onami/trunk/test/src/site/apt/core.apt Sat Dec 8 09:16:01 2012
@@ -26,7 +26,7 @@
JUnice core - The JUniceRunner
- The core of <JUnice> is the <<<org.apache.onami.test.JUniceRunner>>> class, that's a
+ The core of <Apache Onami-Test> is the <<<org.apache.onami.test.JUniceRunner>>> class, that's a
<JUnit Runner> and extends <org.junit.internal.runners.BlockJUnit4ClassRunner>
For each test case the <JUniceRunner> initializes a google-guice <injector>
before that your test case class is instantiated.
@@ -35,7 +35,7 @@ JUnice core - The JUniceRunner
Getting Started
- To use <JUnice> users have to annotate the <junit> test class in the following
+ To use <Apache Onami-Test> users have to annotate the <junit> test class in the following
way:
+----------------------------------------+
@@ -56,7 +56,7 @@ public class SimpleTest
}
+----------------------------------------+
- The <JUnice> runner can be used also in a super class:
+ The <Apache Onami-Test> runner can be used also in a super class:
+----------------------------------------+
@com.google.inject.ImplementedBy( AcmeDatabasePoolImpl.class )
Modified: incubator/onami/trunk/test/src/site/apt/guice.apt
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/site/apt/guice.apt?rev=1418635&r1=1418634&r2=1418635&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/site/apt/guice.apt (original)
+++ incubator/onami/trunk/test/src/site/apt/guice.apt Sat Dec 8 09:16:01 2012
@@ -26,7 +26,7 @@
Guice integration!
- <JUnice> provides a couple of annotations to allow user reusing google-guice
+ <Apaceh Onami-Test> provides a couple of annotations to allow user reusing google-guice
modules in test classes.
<<<...@org.apache.onami.test.annotation.GuiceModule>>> is a class annotation useful to
Modified: incubator/onami/trunk/test/src/site/apt/mock.apt
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/site/apt/mock.apt?rev=1418635&r1=1418634&r2=1418635&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/site/apt/mock.apt (original)
+++ incubator/onami/trunk/test/src/site/apt/mock.apt Sat Dec 8 09:16:01 2012
@@ -26,7 +26,7 @@
Mock framework
- <JUnice> integrates two <Mock frameworks> integrated with <Google Guice>
+ <Apaceh Onami-Test> integrates two <Mock frameworks> integrated with <Google Guice>
to inject the mocked object into bussines logic classes, simply by annotating
a test fild with <<<...@org.apache.onami.test.mock.annotation.Mock>>> annotation.
All existing bindins will be replaced with mock object declared into your test class.
@@ -41,7 +41,7 @@ Mock framework
* Choose your favorite mock framework
- To choose a different mock framework that <JUnice> shuld be used to create your mock object,
+ To choose a different mock framework that <Apaceh Onami-Test> shuld be used to create your mock object,
you should annotate the test classes in this way:
+----------------------------------------+
@@ -214,7 +214,7 @@ public class SimpleTest
* Replace module
- <JUnice> core <Runner> will replace all existing bindings found into modules declared via
+ <Apaceh Onami-Test> core <Runner> will replace all existing bindings found into modules declared via
<<<...@org.apache.onami.test.annotation.GuiceModule>>> and <<<...@org.apache.onami.test.annotation.GuiceProvidedModules>>>
with mocked object annotated with <<<org.apache.onami.test.annotation.Mock>>>