You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2013/01/09 21:49:48 UTC
svn commit: r1431053 -
/incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java
Author: juanpablo
Date: Wed Jan 9 20:49:48 2013
New Revision: 1431053
URL: http://svn.apache.org/viewvc?rev=1431053&view=rev
Log:
deleted failing test, turns out that WikiEngine only used *one* required property, FileSystemProvider.PROP_PAGEDIR, which is no longer mandatory (it defaults to ${user.home}/jspwiki-files).
Modified:
incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java
Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java?rev=1431053&r1=1431052&r2=1431053&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/WikiEngineTest.java Wed Jan 9 20:49:48 2013
@@ -38,6 +38,7 @@ import org.apache.wiki.providers.Caching
import org.apache.wiki.providers.FileSystemProvider;
import org.apache.wiki.providers.VerySimpleProvider;
import org.apache.wiki.util.FileUtil;
+import org.apache.wiki.TextUtil;
public class WikiEngineTest extends TestCase
{
@@ -115,23 +116,6 @@ public class WikiEngineTest extends Test
f.delete();
}
- public void testNonExistantDirProperty()
- throws Exception
- {
- props.remove( FileSystemProvider.PROP_PAGEDIR );
-
- try
- {
- new TestEngine( props );
-
- fail( "Wiki did not warn about missing property." );
- }
- catch( WikiException e )
- {
- // This is okay.
- }
- }
-
/**
* Check that calling pageExists( String ) works.
*/