Lines Matching refs:expected
206 def PollRepairSocketInMultipleThreads(self, netid, version, expected): argument
212 thread = SocketExceptionThread(sock, lambda sk: self.fdSelect(sock, expected))
229 expected = select.POLLIN
230 sock, multiThreads = self.PollRepairSocketInMultipleThreads(netid, version, expected)
236 expected = None
237 sock, multiThreads = self.PollRepairSocketInMultipleThreads(netid, version, expected)
243 expected = select.POLLIN | select.POLLHUP
244 sock, multiThreads = self.PollRepairSocketInMultipleThreads(netid, version, expected)
252 expected = select.POLLIN
253 sock, multiThreads = self.PollRepairSocketInMultipleThreads(netid, version, expected)
311 def fdSelect(self, sock, expected): argument
318 self.assertEqual(event, expected)