jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r724262 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java
Date Mon, 08 Dec 2008 05:21:26 GMT
Author: ajaquith
Date: Sun Dec  7 21:21:26 2008
New Revision: 724262

URL: http://svn.apache.org/viewvc?rev=724262&view=rev
Log:
Fixed failing unit test.

Modified:
    incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java

Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java?rev=724262&r1=724261&r2=724262&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java (original)
+++ incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/action/WikiContextFactoryTest.java Sun
Dec  7 21:21:26 2008
@@ -160,14 +160,14 @@
     {
         RedirectResolution r;
         r = resolver.getSpecialPageResolution( "RecentChanges" );
-        assertEquals( "RecentChanges.jsp", r.getUrl( Locale.getDefault() ) );
+        assertEquals( "/RecentChanges.jsp", r.getUrl( Locale.getDefault() ) );
         
         r = resolver.getSpecialPageResolution( "FindPage" );
-        assertEquals( "Search.jsp", r.getUrl( Locale.getDefault() ) );
+        assertEquals( "/Search.jsp", r.getUrl( Locale.getDefault() ) );
         
         // UserPrefs doesn't exist in our test properties
         r = resolver.getSpecialPageResolution( "UserPrefs" );
-        assertNull( r.getUrl( Locale.getDefault() ) );
+        assertNull( r );
     }
 
     public static Test suite()



Mime
View raw message