tests,base: Added GTest for base/socket.cc
authorBobby R. Bruce <bbruce@ucdavis.edu>
Sat, 4 Jan 2020 01:47:35 +0000 (17:47 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 9 Jan 2020 22:02:43 +0000 (22:02 +0000)
commit1986b77d78e30684b1ca5ac9d9b1c75736f258d6
treeb800ac176777feb2b544f92c47f6606eb3aa928e
parentb97111fc2333672741cf578ee15c45ba3924b5cb
tests,base: Added GTest for base/socket.cc

It should be noted that some features of this class have not been fully
tested due to interaction with system-calls.

Change-Id: I8315188327e022ac4c98aa9ce4bd38243266ab17
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23984
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/SConscript
src/base/socket.cc
src/base/socket.hh
src/base/socket.test.cc [new file with mode: 0644]