Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25184/tests
Modified Files:
Tag: b0_22_2
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.3.4.12
retrieving revision 1.3.4.13
diff -C2 -d -r1.3.4.12 -r1.3.4.13
*** TestIMAP.tst 1 Dec 2007 18:02:19 -0000 1.3.4.12
--- TestIMAP.tst 2 Dec 2007 09:40:19 -0000 1.3.4.13
***************
*** 197,201 ****
# 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 );
--- 197,201 ----
# 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 );
|