Home
last modified time | relevance | path

Searched refs:testServer (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_smtpnet.py25 testServer = 'smtp.gmail.com' variable in SmtpTest
33 with socket_helper.transient_internet(self.testServer):
34 server = smtplib.SMTP(self.testServer, self.remotePort)
47 testServer = 'smtp.gmail.com' variable in SmtpSSLTest
52 with socket_helper.transient_internet(self.testServer):
53 server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
59 with socket_helper.transient_internet(self.testServer):
60 server = smtplib.SMTP_SSL(self.testServer)
69 with socket_helper.transient_internet(self.testServer):
70 server = smtplib.SMTP_SSL(self.testServer, self.remotePort, context=context)
[all …]
/third_party/node/test/parallel/
Dtest-http-server-unconsume-consume.js5 const testServer = http.createServer(common.mustNotCall()); constant
6 testServer.on('connect', common.mustCall((req, socket, head) => {
11 testServer.emit('connection', socket);
12 testServer.close();
14 testServer.listen(0, common.mustCall(() => {
16 port: testServer.address().port,
Dtest-http-response-readable.js27 const testServer = new http.Server(function(req, res) { constant
32 testServer.listen(0, function() {
37 testServer.close();
Dtest-http-upgrade-server.js36 return new testServer();
39 function testServer() { function
71 Object.setPrototypeOf(testServer.prototype, http.Server.prototype);
72 Object.setPrototypeOf(testServer, http.Server);
Dtest-child-process-fork-net-server.js86 function testServer(callback) { function
154 testServer(common.mustCall());