2011/8/16 Eric Charles <[email protected]>:
> Hi Ioan,
>
> I've run a few tests but didn't see the ClassCastException.

Thats because last night some gremlins worked on the code and
committed the fixes for that ;).

>
> e.g. Running from eclipse:
>
> NonAuthenticatedStateTest : 100% OK
>
> SelectTest :
> org.apache.james.imap.tester.base.ProtocolSession$InvalidServerResponseException:
> Location: /org/apache/james/imap/scripts/SelectUnseen.test:24
> LastClientMsg: 10 SELECT selectappend
> Expected: '\* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)'
> Actual   : '10 NO SELECT completed.'
>
> I don't think there is a dependency/class incompatibility.
> It's more on the scripts results.
>
> I would track them one by one, trying to understand what the scripts are
> doing (in src/main/resources/org/apache/james/imap/script) and correcting. A
> fix in your code could solve many integration tests...

I hope so. I'm planning to write some unit tests for message mapper to
see if I get fails on methods. It seems that one method fails, because
I get many errors with EXISTS. E.g. expected \* 2 EXISTS, actual \* 0
EXISTS.

> For the SelecTest for example, the stacktrace tells you there is an issue on
> SelectUnseen.test:24 (line 24)
>
> C: 10 SELECT selectappend
> S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
>
>
> The client send SELECT selctappend to the hbase mailbox, which answers 'NO
> SELECT completed', and it should be as stated in the script '\* FLAGS
> \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)'
>
> Hopes this help.

Thanks I will try to figure out what's wrong in my code and keep you up to date.

Bye,
-- 
Ioan Eugen Stan
http://ieugen.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to