Searched defs:try (Results 1 – 7 of 7) sorted by relevance
124 try (TTransport clientTransport = in checkSyncClient() method167 try (TNonblockingSocket clientTransportAsync = in checkAsyncClient() method232 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnString() method247 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidThrows() method266 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidNoThrowsRuntimeException() method285 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidNoThrowsTApplicationException() method303 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnString() method318 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidThrows() method337 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidNoThrowsRuntimeException() method359 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidNoThrowsTApplicationException() method[all …]
31 try (TNonblockingServerSocket nonblockingServer = new TNonblockingServerSocket(0)) { in testSocketChannelBlockingMode() method
133 try (TServerSocket serverSocket = in internalRun() method
42 try (TSocket client = new TSocket("localhost", serverSocket.getServerSocket().getLocalPort())) { in testStopServerWithOpenClient() method
86 try (TSaslClientTransport client = in testBadPassword() method
41 try (InputStream isA = TestStructOrder.class.getClassLoader().getResourceAsStream(fnA); in testStructOrder() method
298 try (InputStream is = response.getEntity().getContent()) { in handleResponse() method