You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/06/21 07:05:05 UTC

svn commit: r415909 - /myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java

Author: matzew
Date: Tue Jun 20 22:05:04 2006
New Revision: 415909

URL: http://svn.apache.org/viewvc?rev=415909&view=rev
Log:
typos

Modified:
    myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java

Modified: myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java?rev=415909&r1=415908&r2=415909&view=diff
==============================================================================
--- myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java (original)
+++ myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java Tue Jun 20 22:05:04 2006
@@ -3,14 +3,13 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.myfaces.application.jsp.JspStateManagerImplTest;
 import org.apache.shale.test.base.AbstractJsfTestCase;
 
 public class NavigationHandlerImplTest extends AbstractJsfTestCase
 {
 
 	    public static void main(String[] args) {
-	        junit.textui.TestRunner.run(JspStateManagerImplTest.class);
+	        junit.textui.TestRunner.run(NavigationHandlerImplTest.class);
 	    }
 
 	    public NavigationHandlerImplTest(String name) {
@@ -19,12 +18,13 @@
 	    
 	    public void testNavigationRules() throws Exception
 	    {
-	    	//TODO
+	    	NavigationHandlerImpl nh = new NavigationHandlerImpl();
+	    	this.application.setNavigationHandler(nh);
 	    }
 
 	    // Return the tests included in this test case.
 	    public static Test suite()
 	    {
-	        return (new TestSuite(JspStateManagerImplTest.class));
+	        return (new TestSuite(NavigationHandlerImplTest.class));
 	    }
 }