jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1422020 [2/2] - in /incubator/jspwiki/trunk: ./ etc/ini/ src/org/apache/wiki/ src/org/apache/wiki/forms/ src/org/apache/wiki/parser/ src/org/apache/wiki/plugin/ src/org/apache/wiki/tags/ src/org/apache/wiki/ui/ src/org/apache/wiki/ui/admin...
Date Fri, 14 Dec 2012 18:13:52 GMT
Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/PageViewPluginTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/PageViewPluginTest.java?rev=1422020&r1=1422019&r2=1422020&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/PageViewPluginTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/PageViewPluginTest.java Fri Dec 14
18:13:37 2012
@@ -20,13 +20,14 @@ package org.apache.wiki.plugin;
 
 import java.util.Properties;
 
+import junit.framework.Test;
 import junit.framework.TestCase;
 import junit.framework.TestSuite;
-import junit.framework.Test;
 
 import org.apache.wiki.TestEngine;
 import org.apache.wiki.WikiContext;
 import org.apache.wiki.WikiPage;
+import org.apache.wiki.api.PluginManager;
 
 public class PageViewPluginTest extends TestCase
 
@@ -54,7 +55,7 @@ public class PageViewPluginTest extends 
         testEngine.saveText( "TestPage01", "this is test page 01 [{PageViewPlugin}]" );
         testEngine.saveText( "TestPage02", "this is test page 02 [{PageViewPlugin}]" );
 
-        manager = new PluginManager( testEngine, props );
+        manager = new DefaultPluginManager( testEngine, props );
     }
 
     public void tearDown()

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/ReferringPagesPluginTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/ReferringPagesPluginTest.java?rev=1422020&r1=1422019&r2=1422020&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/ReferringPagesPluginTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/ReferringPagesPluginTest.java Fri
Dec 14 18:13:37 2012
@@ -29,6 +29,8 @@ import junit.framework.TestSuite;
 import org.apache.wiki.TestEngine;
 import org.apache.wiki.WikiContext;
 import org.apache.wiki.WikiPage;
+import org.apache.wiki.api.PluginManager;
+import org.apache.wiki.api.exceptions.PluginException;
 
 public class ReferringPagesPluginTest extends TestCase
 {
@@ -60,7 +62,7 @@ public class ReferringPagesPluginTest ex
         engine.saveText( "Foobar7", "Reference to [TestPage]." );
 
         context = new WikiContext( engine, engine.newHttpRequest(), new WikiPage(engine,"TestPage")
);
-        manager = new PluginManager( engine, props );
+        manager = new DefaultPluginManager( engine, props );
     }
 
     public void tearDown()

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/UndefinedPagesPluginTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/UndefinedPagesPluginTest.java?rev=1422020&r1=1422019&r2=1422020&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/UndefinedPagesPluginTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/plugin/UndefinedPagesPluginTest.java Fri
Dec 14 18:13:37 2012
@@ -28,6 +28,8 @@ import junit.framework.Test;
 import org.apache.wiki.TestEngine;
 import org.apache.wiki.WikiContext;
 import org.apache.wiki.WikiPage;
+import org.apache.wiki.api.PluginManager;
+import org.apache.wiki.api.exceptions.PluginException;
 
 public class UndefinedPagesPluginTest extends TestCase
 {
@@ -52,7 +54,7 @@ public class UndefinedPagesPluginTest ex
         testEngine.saveText( "Foobar", "Reference to [Foobar 2], [Foobars]" );
 
         context = new WikiContext( testEngine, new WikiPage(testEngine, "TestPage") );
-        manager = new PluginManager( testEngine, props );
+        manager = new DefaultPluginManager( testEngine, props );
     }
 
     public void tearDown()



Mime
View raw message