From log4j-dev-return-5478-apmail-jakarta-log4j-dev-archive=jakarta.apache.org@jakarta.apache.org Sun Sep 21 21:54:23 2003 Return-Path: Delivered-To: apmail-jakarta-log4j-dev-archive@www.apache.org Received: (qmail 49657 invoked from network); 21 Sep 2003 21:54:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Sep 2003 21:54:23 -0000 Received: (qmail 9394 invoked by uid 500); 21 Sep 2003 21:54:08 -0000 Delivered-To: apmail-jakarta-log4j-dev-archive@jakarta.apache.org Received: (qmail 9347 invoked by uid 500); 21 Sep 2003 21:54:07 -0000 Mailing-List: contact log4j-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@jakarta.apache.org Received: (qmail 9323 invoked by uid 500); 21 Sep 2003 21:54:07 -0000 Received: (qmail 9314 invoked from network); 21 Sep 2003 21:54:06 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 21 Sep 2003 21:54:06 -0000 Received: (qmail 49488 invoked by uid 1665); 21 Sep 2003 21:54:19 -0000 Date: 21 Sep 2003 21:54:19 -0000 Message-ID: <20030921215419.49487.qmail@minotaur.apache.org> From: psmith@apache.org To: jakarta-log4j-cvs@apache.org Subject: cvs commit: jakarta-log4j/tests/src/java/org/apache/log4j/plugins PluginTestCase.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N psmith 2003/09/21 14:54:19 Modified: tests/src/java/org/apache/log4j/plugins PluginTestCase.java Log: This test was not succeeding because I accidently removed a reset method which reset a latch listener to a known state. A problem with the test code, rather than the code it was testing. Apologise. Revision Changes Path 1.9 +1 -0 jakarta-log4j/tests/src/java/org/apache/log4j/plugins/PluginTestCase.java Index: PluginTestCase.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/plugins/PluginTestCase.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- PluginTestCase.java 18 Sep 2003 03:08:45 -0000 1.8 +++ PluginTestCase.java 21 Sep 2003 21:54:19 -0000 1.9 @@ -381,6 +381,7 @@ assertTrue("PluginListener stop latch should not be activated", !l.StopLatch); assertTrue("PluginListener should be given reference to Plugin", e.getPlugin() == p); + l.reset(); PluginRegistry.stopAllPlugins(); assertTrue("PluginListener should have been notified of stop", l.StopLatch); assertTrue("PluginListener should not have been notified of start", !l.StartLatch); --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-dev-help@jakarta.apache.org