You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2008/02/18 18:17:19 UTC

svn commit: r628822 - /incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java

Author: cziegeler
Date: Mon Feb 18 09:17:18 2008
New Revision: 628822

URL: http://svn.apache.org/viewvc?rev=628822&view=rev
Log:
Improve test case.

Modified:
    incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java

Modified: incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java?rev=628822&r1=628821&r2=628822&view=diff
==============================================================================
--- incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java (original)
+++ incubator/sling/trunk/sling/event/src/test/java/org/apache/sling/event/impl/AbstractRepositoryEventHandlerTest.java Mon Feb 18 09:17:18 2008
@@ -92,7 +92,7 @@
         this.getMockery().checking(new Expectations() {{
             allowing(handler.threadPoolManager).get(EventHelper.THREAD_POOL_NAME);
             will(returnValue(pool));
-            allowing(handler.threadPoolManager).create(with(any(String.class)), with(any(ThreadPoolConfig.class)));
+            allowing(handler.threadPoolManager).create(with(equal(EventHelper.THREAD_POOL_NAME)), with(any(ThreadPoolConfig.class)));
             will(returnValue(null));
         }});