[parchive2-cvs] library/src/tests/packet test_input_file_slice_checksum_packet.cc,1.15,1.16 test_mai
Status: Pre-Alpha
Brought to you by:
coppit
|
From: <el...@us...> - 2003-05-07 03:23:04
|
Update of /cvsroot/parchive2/library/src/tests/packet
In directory sc8-pr-cvs1:/tmp/cvs-serv32018/src/tests/packet
Modified Files:
test_input_file_slice_checksum_packet.cc test_main_packet.cc
Log Message:
Polished off a few bugs in tests, stoped core dumps, fixed output bug in test_main_packet.cc
Index: test_input_file_slice_checksum_packet.cc
===================================================================
RCS file: /cvsroot/parchive2/library/src/tests/packet/test_input_file_slice_checksum_packet.cc,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** test_input_file_slice_checksum_packet.cc 7 May 2003 02:54:32 -0000 1.15
--- test_input_file_slice_checksum_packet.cc 7 May 2003 03:23:00 -0000 1.16
***************
*** 248,253 ****
md5 expected_packet_hash;
! expected_packet_hash.Set_MD5_Hex("11108ab5a6007164D110626bbcc5888D");
!
compare(ifscp1.Get_Packet_Hash(),expected_packet_hash);
--- 248,254 ----
md5 expected_packet_hash;
! //expected_packet_hash.Set_MD5_Hex("11108ab5a6007164D110626bbcc5888D");
! expected_packet_hash.Set_MD5_Hex("77982fb0e971d3ec99fa7bb5bb14e8f2");
!
compare(ifscp1.Get_Packet_Hash(),expected_packet_hash);
Index: test_main_packet.cc
===================================================================
RCS file: /cvsroot/parchive2/library/src/tests/packet/test_main_packet.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** test_main_packet.cc 6 May 2003 05:44:57 -0000 1.18
--- test_main_packet.cc 7 May 2003 03:23:00 -0000 1.19
***************
*** 212,216 ****
compare((mp1.Get_Packet_Length()>64),true);
! cout << "PASS: File description packet: Get_Packet_Length" << endl;
}
--- 212,216 ----
compare((mp1.Get_Packet_Length()>64),true);
! cout << "PASS: Main packet: Get_Packet_Length" << endl;
}
|