Chromium Code Reviews
DescriptionAdd a feature to the MockSocket so that it can support simulation
of partial writes.
For example, suppose the application under test is doing a write
such as:
Write("foobar", 6); // 6 bytes
Normally you could test this with
MockWrite(true, "foobar", 6);
Now you can also test this with:
WriteList {
MockWrite(true, "foo", 3);
MockWrite(true, "bar", 3);
}
BUG=none
TEST=this is the test!
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32913
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||