james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1146583 - /james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java
Date Thu, 14 Jul 2011 07:21:50 GMT
Author: norman
Date: Thu Jul 14 07:21:49 2011
New Revision: 1146583

URL: http://svn.apache.org/viewvc?rev=1146583&view=rev
Log:
Fix unit test

Modified:
    james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java

Modified: james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java?rev=1146583&r1=1146582&r2=1146583&view=diff
==============================================================================
--- james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java
(original)
+++ james/imap/trunk/processor/src/test/java/org/apache/james/imap/processor/SearchProcessorTest.java
Thu Jul 14 07:21:49 2011
@@ -486,6 +486,7 @@ public class SearchProcessorTest {
         mockery.checking(new Expectations() {{
             allowing(session).getAttribute(
                     with(equal(SearchProcessor.SEARCH_MODSEQ))); will(returnValue(null));
+            allowing(session).setAttribute(SearchProcessor.SEARCH_MODSEQ, null);
             allowing(session).getAttribute(
                     with(equal(ImapSessionUtils.MAILBOX_SESSION_ATTRIBUTE_SESSION_KEY)));
will(returnValue((MailboxSession) mailboxSession));
                     allowing(session).getLog(); will(returnValue(logger));



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message