[jboss-cvs] jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/documents ...
Christian Bauer
christian at hibernate.org
Tue Jun 12 08:30:01 EDT 2007
User: cbauer
Date: 07/06/12 08:30:01
Modified: examples/wiki/src/test/org/jboss/seam/wiki/test/documents
DocumentDisplay.java
Log:
Completed first iteration of search engine
Revision Changes Path
1.3 +7 -0 jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/documents/DocumentDisplay.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DocumentDisplay.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/test/org/jboss/seam/wiki/test/documents/DocumentDisplay.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DocumentDisplay.java 18 Apr 2007 15:34:30 -0000 1.2
+++ DocumentDisplay.java 12 Jun 2007 12:30:01 -0000 1.3
@@ -3,12 +3,19 @@
import org.testng.annotations.Test;
import org.jboss.seam.mock.SeamTest;
import org.jboss.seam.wiki.core.model.Document;
+import org.jboss.seam.Component;
public class DocumentDisplay extends SeamTest {
@Test
public void resolveNodeId() throws Exception {
+ new FacesRequest() {
+ protected void invokeApplication() throws Exception {
+ Component.getInstance("entityManager");
+ }
+ }.run();
+
new NonFacesRequest("/docDisplay.xhtml") {
protected void beforeRequest() {
More information about the jboss-cvs-commits
mailing list