jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1305095 - in /incubator/jspwiki: branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/ branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/ branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/ branches/JSPWIKI_2_8_BRAN...
Date Sun, 25 Mar 2012 19:11:22 GMT
Author: juanpablo
Date: Sun Mar 25 19:11:21 2012
New Revision: 1305095

URL: http://svn.apache.org/viewvc?rev=1305095&view=rev
Log:
Access to static methods through static calls.

Modified:
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java
    incubator/jspwiki/trunk/tests/org/apache/wiki/attachment/AttachmentManagerTest.java
    incubator/jspwiki/trunk/tests/org/apache/wiki/dav/AttachmentDavProviderTest.java
    incubator/jspwiki/trunk/tests/org/apache/wiki/parser/JSPWikiMarkupParserTest.java
    incubator/jspwiki/trunk/tests/org/apache/wiki/xmlrpc/RPCHandlerTest.java

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java
(original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/attachment/AttachmentManagerTest.java
Sun Mar 25 19:11:21 2012
@@ -64,8 +64,8 @@ public class AttachmentManagerTest exten
         TestEngine.deleteTestPage( NAME1 );
         TestEngine.deleteTestPage( NAMEU );
 
-        m_engine.deleteAttachments(NAME1);
-        m_engine.deleteAttachments(NAMEU);
+        TestEngine.deleteAttachments(NAME1);
+        TestEngine.deleteAttachments(NAMEU);
 
         TestEngine.emptyWorkDir();
     }

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
(original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/dav/AttachmentDavProviderTest.java
Sun Mar 25 19:11:21 2012
@@ -30,8 +30,8 @@ public class AttachmentDavProviderTest e
 
     protected void tearDown() throws Exception
     {
-        engine.deleteAttachments( "TestPage" );
-        TestEngine.deleteTestPage("TestPage");
+        TestEngine.deleteAttachments( "TestPage" );
+        TestEngine.deleteTestPage( "TestPage" );
     }
 
     public void testGetPageURL()

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java
(original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/parser/JSPWikiMarkupParserTest.java
Sun Mar 25 19:11:21 2012
@@ -60,12 +60,12 @@ public class JSPWikiMarkupParserTest ext
 
     private void deleteCreatedPages()
     {
-        for( Iterator i = created.iterator(); i.hasNext(); )
+        for( Iterator< String > i = created.iterator(); i.hasNext(); )
         {
-            String name = (String) i.next();
+            String name = i.next();
 
             TestEngine.deleteTestPage(name);
-            testEngine.deleteAttachments(name);
+            TestEngine.deleteAttachments(name);
         }
 
         created.clear();

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java
(original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/tests/com/ecyrd/jspwiki/xmlrpc/RPCHandlerTest.java
Sun Mar 25 19:11:21 2012
@@ -37,7 +37,7 @@ public class RPCHandlerTest extends Test
     public void tearDown()
     {
         TestEngine.deleteTestPage( NAME1 );
-        m_engine.deleteAttachments( NAME1 );
+        TestEngine.deleteAttachments( NAME1 );
         TestEngine.emptyWorkDir();
     }
 

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/attachment/AttachmentManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/attachment/AttachmentManagerTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/attachment/AttachmentManagerTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/attachment/AttachmentManagerTest.java Sun
Mar 25 19:11:21 2012
@@ -76,8 +76,8 @@ public class AttachmentManagerTest exten
         TestEngine.deleteTestPage( NAME1 );
         TestEngine.deleteTestPage( NAMEU );
 
-        m_engine.deleteAttachments(NAME1);
-        m_engine.deleteAttachments(NAMEU);
+        TestEngine.deleteAttachments(NAME1);
+        TestEngine.deleteAttachments(NAMEU);
 
         TestEngine.emptyWorkDir();
     }

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/dav/AttachmentDavProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/dav/AttachmentDavProviderTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/dav/AttachmentDavProviderTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/dav/AttachmentDavProviderTest.java Sun Mar
25 19:11:21 2012
@@ -50,7 +50,7 @@ public class AttachmentDavProviderTest e
 
     protected void tearDown() throws Exception
     {
-        engine.deleteAttachments( "TestPage" );
+        TestEngine.deleteAttachments( "TestPage" );
         TestEngine.deleteTestPage("TestPage");
     }
 

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/parser/JSPWikiMarkupParserTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/parser/JSPWikiMarkupParserTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/parser/JSPWikiMarkupParserTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/parser/JSPWikiMarkupParserTest.java Sun
Mar 25 19:11:21 2012
@@ -80,12 +80,12 @@ public class JSPWikiMarkupParserTest ext
 
     private void deleteCreatedPages()
     {
-        for( Iterator i = created.iterator(); i.hasNext(); )
+        for( Iterator< String > i = created.iterator(); i.hasNext(); )
         {
-            String name = (String) i.next();
+            String name = i.next();
 
             TestEngine.deleteTestPage(name);
-            testEngine.deleteAttachments(name);
+            TestEngine.deleteAttachments(name);
         }
 
         created.clear();

Modified: incubator/jspwiki/trunk/tests/org/apache/wiki/xmlrpc/RPCHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/org/apache/wiki/xmlrpc/RPCHandlerTest.java?rev=1305095&r1=1305094&r2=1305095&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/org/apache/wiki/xmlrpc/RPCHandlerTest.java (original)
+++ incubator/jspwiki/trunk/tests/org/apache/wiki/xmlrpc/RPCHandlerTest.java Sun Mar 25 19:11:21
2012
@@ -57,7 +57,7 @@ public class RPCHandlerTest extends Test
     public void tearDown()
     {
         TestEngine.deleteTestPage( NAME1 );
-        m_engine.deleteAttachments( NAME1 );
+        TestEngine.deleteAttachments( NAME1 );
         TestEngine.emptyWorkDir();
     }
 



Mime
View raw message