james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject [imap] Unit test failure in my environment
Date Fri, 11 Jul 2008 14:19:18 GMT
Running org.apache.james.experimental.imapserver.ExperimentalRenameTest 
from my eclipse I have failures on the Rename tests:

RenameHierarchy.test

Here is the debug output after I activated continueAfterFailure:
-------------
Got <tag>: A6
Got <command>: LIST
Created command class 
org.apache.james.imapserver.codec.decode.imap4rev1.ListCommandParser

Location: 
/org/apache/james/test/functional/imap/scripts/RenameHierarchy.test:27
LastClientMsg: A6 LIST "" "*"
Expected: '\* LIST \(\) "\." "one"'
Actual   : '* LIST () "." "selected"'

Location: 
/org/apache/james/test/functional/imap/scripts/RenameHierarchy.test:28
LastClientMsg: A6 LIST "" "*"
Expected: '\* LIST \(\) "\." "one\.two"'
Actual   : '* LIST () "." "one"'

Location: 
/org/apache/james/test/functional/imap/scripts/RenameHierarchy.test:29
LastClientMsg: A6 LIST "" "*"
Expected: '\* LIST \(\) "\." "one\.two\.three"'
Actual   : '* LIST () "." "one.two"'

Location: 
/org/apache/james/test/functional/imap/scripts/RenameHierarchy.test:30
LastClientMsg: A6 LIST "" "*"
Expected: '\* LIST \(\) "\." "one\.two\.three\.four"'
Actual   : '* LIST () "." "one.two.three"'

Location: 
/org/apache/james/test/functional/imap/scripts/RenameHierarchy.test:31
LastClientMsg: A6 LIST "" "*"
Expected: '\* LIST \(\) "\." "selected"'
Actual   : '* LIST () "." "one.two.three.four"'
Got <tag>: A7
-----

It seems it expect:
one
one.two
one.two.three
one.two.three.four
selected
and instead it receive
selected
one
one.two
one.two.three
one.two.three.four

Is sorting something under control for the test?

Stefano

---------------------------------------------------------------------
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