commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1778933 - /commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
Date Sun, 15 Jan 2017 18:03:11 GMT
Author: tv
Date: Sun Jan 15 18:03:11 2017
New Revision: 1778933

URL: http://svn.apache.org/viewvc?rev=1778933&view=rev
Log:
stopProcessing doesn't make sense anymore

Modified:
    commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java?rev=1778933&r1=1778932&r2=1778933&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/EventQueueConcurrentLoadTest.java
Sun Jan 15 18:03:11 2017
@@ -21,13 +21,13 @@ package org.apache.commons.jcs.engine;
 
 import java.io.IOException;
 
+import org.apache.commons.jcs.engine.behavior.ICacheElement;
+import org.apache.commons.jcs.engine.behavior.ICacheListener;
+
 import junit.extensions.ActiveTestSuite;
 import junit.framework.Test;
 import junit.framework.TestCase;
 
-import org.apache.commons.jcs.engine.behavior.ICacheElement;
-import org.apache.commons.jcs.engine.behavior.ICacheListener;
-
 /**
  * This test case is designed to makes sure there are no deadlocks in the event queue. The
time to
  * live should be set to a very short interval to make a deadlock more likely.
@@ -109,16 +109,6 @@ public class EventQueueConcurrentLoadTes
             }
         } );
 
-        suite.addTest( new EventQueueConcurrentLoadTest( "testStopProcessing1" )
-        {
-            @Override
-            public void runTest()
-                throws Exception
-            {
-                this.runStopProcessingTest();
-            }
-        } );
-
         suite.addTest( new EventQueueConcurrentLoadTest( "testRunPutTest4" )
         {
             @Override
@@ -139,16 +129,6 @@ public class EventQueueConcurrentLoadTes
             }
         } );
 
-        suite.addTest( new EventQueueConcurrentLoadTest( "testStopProcessing2" )
-        {
-            @Override
-            public void runTest()
-                throws Exception
-            {
-                this.runStopProcessingTest();
-            }
-        } );
-
         suite.addTest( new EventQueueConcurrentLoadTest( "testRunPutDelayTest" )
         {
             @Override
@@ -222,16 +202,6 @@ public class EventQueueConcurrentLoadTes
     }
 
     /**
-     * Add remove events to the event queue.
-     * @throws Exception
-     */
-    public void runStopProcessingTest()
-        throws Exception
-    {
-        queue.stopProcessing();
-    }
-
-    /**
      * Test putting and a delay. Waits until queue is empty to start.
      * @param end
      * @param expectedPutCount



Mime
View raw message