node/test/internet
Rich Trott 78520fa472 test,dgram: add tests for setBroadcast()
The only tests for `setBroadcast()` (from the `dgram` module) were in
`test/internet` which means they almost never get run. This adds a
minimal test that can check JS-land functionality in `test/parallel`.

I also expanded a comment and did some minor formatting on the existing
`test/internet` test. If there were an easy and reliable way to check
for the BROADCAST flag on an interface, it's possible that a version of
the test could be moved to `test/sequential` or `test/parallel` once it
was modified to only use internal networks.

PR-URL: https://github.com/nodejs/node/pull/6750
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-05-16 14:52:08 -07:00
..
test-dgram-broadcast-multi-process.js test,dgram: add tests for setBroadcast() 2016-05-16 14:52:08 -07:00
test-dgram-multicast-multi-process.js test: abstract skip functionality to common 2016-05-12 16:43:35 -04:00
test-dgram-send-cb-quelches-error.js buffer: add .from(), .alloc() and .allocUnsafe() 2016-03-16 08:34:02 -07:00
test-dns-cares-domains.js test: move dns test to test/internet 2016-03-25 21:26:57 -07:00
test-dns-ipv4.js test: remove common.getServiceName() 2016-05-13 22:33:56 -07:00
test-dns-ipv6.js test: remove common.getServiceName() 2016-05-13 22:33:56 -07:00
test-dns-txt-sigsegv.js test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
test-dns.js dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
test-http-dns-fail.js test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
test-http-https-default-ports.js test: abstract skip functionality to common 2016-05-12 16:43:35 -04:00
test-net-connect-timeout.js test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
test-net-connect-unref.js test: remove unnecessary assignments 2015-12-26 18:00:02 -08:00
test-tls-connnect-cnnic.js test: abstract skip functionality to common 2016-05-12 16:43:35 -04:00
test-tls-connnect-melissadata.js test: abstract skip functionality to common 2016-05-12 16:43:35 -04:00
test-tls-reuse-host-from-socket.js test: abstract skip functionality to common 2016-05-12 16:43:35 -04:00
testcfg.py test: refactor to use common testcfg 2014-01-20 09:00:13 -08:00