Chromium Code Reviews
DescriptionEnable SequencedSocketDataTest.SingleSyncWriteTooSmall test.
SequencedSocketDataTest.SingleSyncWriteTooSmall confirms that errors will be generated when the SequencedSocketData provider is set up with too large write expectations.
The test was previously disabled because it used EXPECT_NONFATAL_FAILURE to do the confirmation. EXPECT_NONFATAL_FAILURE can only handle one failure, and this error case generates three.
There is not a comparable macro for multiple failures in the gtest framework, but tests can directly access the failures using the TestPartResultArray data structure and the ScopedFakeTestPartResultReporter to capture the failures.
BUG=488072
Committed: https://crrev.com/2115662212f026c1710870dcc53906bea9e38814
Cr-Commit-Position: refs/heads/master@{#332420}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||