[parchive2-cvs] library/src/tests/packet test_input_file_slice_checksum_packet.cc,1.14,1.15 test_rec
Status: Pre-Alpha
Brought to you by:
coppit
|
From: <co...@us...> - 2003-05-07 02:54:36
|
Update of /cvsroot/parchive2/library/src/tests/packet
In directory sc8-pr-cvs1:/tmp/cvs-serv23700/src/tests/packet
Modified Files:
test_input_file_slice_checksum_packet.cc
test_recovery_slice_packet.cc
Log Message:
- Fixed bugs in recovery_slice_packet. Basically, we shouldn't trust
recovery_slice not to be NULL. I checked everywhere else and it looks okay.
- Uncommented test cases in test_input_file_slice_checksum_packet. The first
one passes on my system, and the second is supposed to fail until task 77151
is done.
- Uncommented test case in test_recovery_slice_packet since I fixed the bug.
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.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** test_input_file_slice_checksum_packet.cc 7 May 2003 02:25:14 -0000 1.14
--- test_input_file_slice_checksum_packet.cc 7 May 2003 02:54:32 -0000 1.15
***************
*** 201,205 ****
}
- /*
// Serialize and unserialize
{
--- 201,204 ----
***************
*** 238,245 ****
cout << "PASS: Input file slice checksum packet: Serialize and UnSerialize" << endl;
! }*/
! cerr << "NOTE: Input file slice checksum packet: Serialize and Unserialize: See task #77348" << endl;
- /*
// Get_Packet_Hash
{
--- 237,242 ----
cout << "PASS: Input file slice checksum packet: Serialize and UnSerialize" << endl;
! }
// Get_Packet_Hash
{
***************
*** 256,262 ****
cout << "PASS: Input file slice checksum packet: Get_Packet_Hash" << endl;
! }*/
! cerr << "NOTE: Input file slice checksum packet: Get_Packet_Hash(): See task #77348" << endl;
!
return 0;
} // main
--- 253,258 ----
cout << "PASS: Input file slice checksum packet: Get_Packet_Hash" << endl;
! }
!
return 0;
} // main
Index: test_recovery_slice_packet.cc
===================================================================
RCS file: /cvsroot/parchive2/library/src/tests/packet/test_recovery_slice_packet.cc,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** test_recovery_slice_packet.cc 7 May 2003 02:25:14 -0000 1.20
--- test_recovery_slice_packet.cc 7 May 2003 02:54:33 -0000 1.21
***************
*** 37,41 ****
}
- /*
//copy constructor
{
--- 37,40 ----
***************
*** 51,55 ****
cout<<"PASS: Recovery copy constructor"<<endl;
! }*/
cout << "NOTE: Recovery copy constructor: See task #77348" << endl;
--- 50,54 ----
cout<<"PASS: Recovery copy constructor"<<endl;
! }
cout << "NOTE: Recovery copy constructor: See task #77348" << endl;
|