[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Thu Nov 1 09:58:43 EDT 2007
User: pmuir
Date: 07/11/01 09:58:43
Modified: doc/reference/en/modules testing.xml
Log:
Use @BeforeClass/@AfterClass rather than @Configuration
Revision Changes Path
1.22 +2 -2 jboss-seam/doc/reference/en/modules/testing.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: testing.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/testing.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testing.xml 17 Oct 2007 09:32:43 -0000 1.21
+++ testing.xml 1 Nov 2007 13:58:42 -0000 1.22
@@ -96,13 +96,13 @@
return emf;
}
- @Configuration(beforeTestClass=true)
+ @BeforeClass
public void init()
{
emf = Persistence.createEntityManagerFactory("myResourceLocalEntityManager");
}
- @Configuration(afterTestClass=true)
+ @AfterClass
public void destroy()
{
emf.close();
More information about the jboss-cvs-commits
mailing list