/third_party/node/test/parallel/ |
D | test-net-server-listen-handle.js | 67 net.createServer() 71 net.createServer() 87 net.createServer() 91 net.createServer() 97 net.createServer() 100 net.createServer() 104 net.createServer() 107 net.createServer() 114 net.createServer() 117 net.createServer() [all …]
|
D | test-net-server-listen-path.js | 27 net.createServer() 35 net.createServer() 43 net.createServer() 50 net.createServer() 58 const server = net.createServer() 76 const server1 = net.createServer().listen({ path: handlePath }, () => { 79 const server2 = net.createServer()
|
D | test-net-server-listen-options.js | 10 net.createServer().listen().on('listening', common.mustCall(close)); 12 net.createServer().listen(common.mustCall(close)); 14 net.createServer().listen(0).on('listening', common.mustCall(close)); 16 net.createServer().listen({ port: 0 }) 22 (port, cb) => net.createServer().listen({ port }, cb), 23 (port, cb) => net.createServer().listen(port, cb), 50 net.createServer().listen({ port: -1, path: common.PIPE }, 58 net.createServer().listen(options, common.mustNotCall());
|
D | test-http-default-port.js | 38 for (const { mod, createServer } of [ field 39 { mod: http, createServer: http.createServer }, property 40 { mod: https, createServer: https.createServer.bind(null, options) }, property 42 const server = createServer(common.mustCall((req, res) => {
|
D | test-https-agent-create-connection.js | 38 function createServer() { function 39 return https.createServer(options, (req, res) => { 46 const server = createServer(); 64 const server = createServer(); 79 const server = createServer(); 94 const server = createServer(); 108 const server = createServer(); 123 const server = createServer(); 138 const server = createServer();
|
D | test-tls-basic-validations.js | 20 () => tls.createServer({ ciphers: 1 }), 37 () => tls.createServer({ key: 'dummykey', passphrase: 1 }), 45 () => tls.createServer({ ecdhCurve: 1 }), 53 () => tls.createServer({ handshakeTimeout: 'abcd' }), 63 () => tls.createServer({ sessionTimeout: 'abcd' }), 71 () => tls.createServer({ ticketKeys: 'abcd' }), 78 assert.throws(() => tls.createServer({ ticketKeys: Buffer.alloc(0) }),
|
D | test-tls-no-cert-required.js | 33 tls.createServer({ ciphers: 'AECDH-NULL-SHA' }) 36 tls.createServer(assert.fail) 39 tls.createServer({}) 43 () => tls.createServer('this is not valid'), 52 tls.createServer()
|
D | test-http2-compat-serverresponse-end.js | 14 createServer, 26 const server = createServer(mustCall((request, response) => { 65 const server = createServer(mustCall((request, response) => { 93 const server = createServer(mustCall((request, response) => { 124 const server = createServer(mustCall((request, response) => { 151 const server = createServer(mustCall((request, response) => { 190 const server = createServer(mustCall((request, response) => { 219 const server = createServer(mustCall((request, response) => { 254 const server = createServer(mustCall((request, response) => { 289 const server = createServer(mustCall((request, response) => { [all …]
|
D | test-tls-ticket.js | 40 function createServer() { function 46 const server = tls.createServer({ 93 const naturalServers = [ createServer(), createServer(), createServer() ]; 99 const shared = net.createServer(function(c) {
|
D | test-http2-connect.js | 14 const { createServer, createSecureServer, connect } = require('http2'); 20 const server = createServer(); 47 const server = createServer(); 108 createServer(function() { 133 const server = createServer(); 156 const server = createServer();
|
D | test-http-set-timeout-server.js | 45 const server = http.createServer(); 60 const server = http.createServer(common.mustCall((req, res) => { 81 const server = http.createServer(common.mustCall((req, res) => { 98 const server = http.createServer(common.mustCall((req, res) => { 122 const server = http.createServer((req, res) => { 156 const server = http.createServer(); 193 const server = http.createServer(common.mustCall((req, res) => {
|
D | test-https-set-timeout-server.js | 55 const server = https.createServer(serverOptions); 71 const server = https.createServer( 95 const server = https.createServer( 115 const server = https.createServer( 142 const server = https.createServer(serverOptions, (req, res) => { 177 const server = https.createServer(serverOptions); 216 const server = https.createServer(serverOptions, common.mustCall(
|
D | test-http2-capture-rejection.js | 9 const { createServer, connect } = require('http2'); 17 const server = createServer(); 50 const server = createServer(); 78 const server = createServer(common.mustCall(async (req, res) => { 108 const server = createServer();
|
D | test-http-agent-scheduling.js | 7 function createServer(count) { function 8 return http.createServer(common.mustCallAtLeast((req, res) => { 47 const server = createServer(8); 74 const server = createServer(8); 102 const server = createServer(8);
|
D | test-http2-client-destroy.js | 15 const server = h2.createServer(); 55 const server = h2.createServer(); 108 const server = h2.createServer(); 128 const server = h2.createServer(); 146 const server = h2.createServer(); 174 const server = h2.createServer(); 211 const server = h2.createServer();
|
D | test-tls-set-ciphers-error.js | 17 assert.throws(() => tls.createServer(options, common.mustNotCall()), 20 assert.throws(() => tls.createServer(options, common.mustNotCall()), 23 assert.throws(() => tls.createServer(options, common.mustNotCall()),
|
D | test-http-writable-true-after-close.js | 5 const { get, createServer } = require('http'); 14 const server = createServer(common.mustCall((req, res) => { 29 internal = createServer((req, res) => {
|
D | test-http-server-capture-rejections.js | 5 const { createServer, request } = require('http'); 11 const server = createServer(common.mustCall(async (req, res) => { 47 const server = createServer(common.mustCall(async (req, res) => { 89 const server = createServer(common.mustCall(async (req, res) => {
|
D | test-https-options-boolean-check.js | 66 https.createServer({ key, cert }); 87 https.createServer({ key, cert }); 113 https.createServer({ key, cert }); 134 https.createServer({ key, cert, ca }); 148 https.createServer({ key, cert, ca });
|
D | test-tls-options-boolean-check.js | 66 tls.createServer({ key, cert }); 86 tls.createServer({ key, cert }); 112 tls.createServer({ key, cert }); 133 tls.createServer({ key, cert, ca }); 147 tls.createServer({ key, cert, ca });
|
D | test-http-generic-streams.js | 10 const server = http.createServer(common.mustCall((req, res) => { 34 const server = http.createServer(common.mustCall((req, res) => { 66 const server = http.createServer(common.mustCall((req, res) => { 104 const server = http.createServer(common.mustCall((req, res) => { 144 const server = http.createServer(common.mustNotCall());
|
D | test-cluster-eaddrinuse.js | 36 const server = net.createServer(common.mustNotCall()); 47 let server = net.createServer(common.mustNotCall()); 54 server = net.createServer(common.mustNotCall());
|
/third_party/node/test/sequential/ |
D | test-net-server-bind.js | 9 const server = net.createServer(common.mustNotCall()); 19 const server = net.createServer(common.mustNotCall()); 38 const server = net.createServer(common.mustNotCall()); 48 const server = net.createServer(common.mustNotCall()); 58 const server = net.createServer(common.mustNotCall());
|
D | test-net-server-address.js | 30 const server = net.createServer(); 56 const server = net.createServer(); 71 const server = net.createServer(); 87 const server = net.createServer(); 102 const server = net.createServer();
|
/third_party/node/deps/npm/test/tap/ |
D | referer.js | 6 http.createServer(function (q, s) { 26 http.createServer(function (q, s) { 46 http.createServer(function (q, s) { 66 http.createServer(function (q, s) {
|