mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 650429 - Enable TestProtocols with libxul
r=bz
This commit is contained in:
parent
3d424c6d15
commit
fc9ad38a0f
@ -68,6 +68,7 @@ SIMPLE_PROGRAMS = \
|
||||
TestCookie$(BIN_SUFFIX) \
|
||||
TestServ$(BIN_SUFFIX) \
|
||||
ReadNTLM$(BIN_SUFFIX) \
|
||||
TestProtocols$(BIN_SUFFIX) \
|
||||
$(NULL)
|
||||
|
||||
ifndef MOZ_ENABLE_LIBXUL
|
||||
@ -78,7 +79,6 @@ SIMPLE_PROGRAMS += \
|
||||
TestStreamTransport$(BIN_SUFFIX) \
|
||||
TestStreamChannel$(BIN_SUFFIX) \
|
||||
TestStreamPump$(BIN_SUFFIX) \
|
||||
TestProtocols$(BIN_SUFFIX) \
|
||||
TestIOThreads$(BIN_SUFFIX) \
|
||||
TestUDPSocketProvider$(BIN_SUFFIX) \
|
||||
$(NULL)
|
||||
|
@ -538,7 +538,7 @@ InputTestConsumer::OnStopRequest(nsIRequest *request, nsISupports* context,
|
||||
}
|
||||
LOG(("\tTime to connect: %.3f seconds\n", connectTime));
|
||||
LOG(("\tTime to read: %.3f seconds.\n", readTime));
|
||||
LOG(("\tRead: %lld bytes.\n", info->mBytesRead.mValue));
|
||||
LOG(("\tRead: %lld bytes.\n", info->mBytesRead));
|
||||
if (info->mBytesRead == PRInt64(0)) {
|
||||
} else if (readTime > 0.0) {
|
||||
LOG(("\tThroughput: %.0f bps.\n", (PRFloat64)(info->mBytesRead*PRInt64(8))/readTime));
|
||||
|
Loading…
Reference in New Issue
Block a user