From: Sebastian B. <sb...@us...> - 2014-01-19 18:54:11
|
Update of /cvsroot/simplemail/simplemail/tests In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25379/tests Modified Files: index_external_unittest.c Log Message: Use function calls instead of direct peeks to get the document id. Index: index_external_unittest.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/tests/index_external_unittest.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index_external_unittest.c 19 Jan 2014 18:53:49 -0000 1.8 +++ index_external_unittest.c 19 Jan 2014 18:54:09 -0000 1.9 @@ -114,7 +114,7 @@ printf("For \"%s\" iter is NULL!\n", buf); } else { - CU_ASSERT(iter->did == i); + CU_ASSERT(bnode_string_iter_data_get_did(iter) == i); iter = bnode_find_string_iter(idx, buf, iter); CU_ASSERT(iter != NULL); @@ -124,7 +124,7 @@ printf("For \"%s\" 2nd iter is NULL!\n", buf); } else { - CU_ASSERT(iter->did == i); + CU_ASSERT(bnode_string_iter_data_get_did(iter) == i); } } } |