Bug 457046 - Decide what to do with <TestPipes.cpp> |#if 0|'ed code; Av1; r=benjamin

This commit is contained in:
Serge Gautherie 2008-10-08 02:24:31 +02:00
parent 6e9aa30334
commit 73fa1c244f

View File

@ -534,21 +534,6 @@ main(int argc, char* argv[])
TestSegmentedBuffer();
#endif
#if 0 // obsolete old implementation
nsCOMPtr<nsIInputStream> in;
nsCOMPtr<nsIOutputStream> out;
rv = TP_NewPipe(getter_AddRefs(in), getter_AddRefs(out), 4096 * 4);
if (NS_FAILED(rv)) {
printf("TP_NewPipe failed\n");
return -1;
}
rv = TestPipe(in, out);
if (NS_FAILED(rv)) {
printf("TestPipe failed\n");
return -1;
}
#endif
#if 0
TestSearch("foo", 8);
TestSearch("bar", 6);