From: Manni H. <man...@us...> - 2007-12-02 09:41:06
|
Update of /cvsroot/popfile/engine/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25551/tests Modified Files: TestIMAP.tst Log Message: Add a test that checks whether we allow reclassification of magnetized messages. Index: TestIMAP.tst =================================================================== RCS file: /cvsroot/popfile/engine/tests/TestIMAP.tst,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TestIMAP.tst 1 Dec 2007 23:49:57 -0000 1.6 --- TestIMAP.tst 2 Dec 2007 09:41:10 -0000 1.7 *************** *** 189,193 **** # get the msgs hashes and ask the imap module whether those messages # can be reclassified. It should say 'no!' ! foreach ( 1 .. 5 ) { $hash = ($h->get_slot_fields( $_ ))[6]; test_assert_equal( $im->can_reclassify__( $hash, 'spam' ), undef ); --- 189,193 ---- # get the msgs hashes and ask the imap module whether those messages # can be reclassified. It should say 'no!' ! foreach ( 1 .. 6 ) { $hash = ($h->get_slot_fields( $_ ))[6]; test_assert_equal( $im->can_reclassify__( $hash, 'spam' ), undef ); |