roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghu...@apache.org
Subject svn commit: r1590358 - /roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
Date Sun, 27 Apr 2014 08:31:20 GMT
Author: ghuber
Date: Sun Apr 27 08:31:20 2014
New Revision: 1590358

URL: http://svn.apache.org/r1590358
Log:
Test to see if method execution order makes any difference to Jenkins build failures.

Modified:
    roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java

Modified: roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java?rev=1590358&r1=1590357&r2=1590358&view=diff
==============================================================================
--- roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
(original)
+++ roller/trunk/app/src/test/java/org/apache/roller/weblogger/business/MediaFileTest.java
Sun Apr 27 08:31:20 2014
@@ -43,11 +43,14 @@ import org.apache.roller.weblogger.pojos
 import org.apache.roller.weblogger.pojos.User;
 import org.apache.roller.weblogger.pojos.Weblog;
 import org.apache.roller.weblogger.util.RollerMessages;
+import org.junit.FixMethodOrder;
 import org.junit.Test;
+import org.junit.runners.MethodSorters;
 
 /**
  * Test media file related business operations.
  */
+@FixMethodOrder(MethodSorters.NAME_ASCENDING)
 public class MediaFileTest extends TestCase {
 
     public static Log log = LogFactory.getLog(MediaFileTest.class);



Mime
View raw message