DescriptionImprove unit testing of socket API.
Add socket_api_unittest.cc, which calls Socket API functions directly.
This skips the whole browser_tests setup that is relatively slow and
expensive. The current test merely validates the socket-type argument
handling, but the next phase will simulate blocking socket operations.
BUG=112902
TEST=see above
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148856 (then reverted)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149044
Patch Set 1 #
Total comments: 1
Patch Set 2 : asargent review changes & fix tricky IO thread issues. #Patch Set 3 : Fix tricky IO thread issues in a way that doesn't kill 50 other tests. #Patch Set 4 : Fixed build break on release builds. #
Messages
Total messages: 17 (0 generated)
|