Home
last modified time | relevance | path

Searched defs:try (Results 1 – 7 of 7) sorted by relevance

/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/test/voidmethexceptions/
DTestVoidMethExceptions.java124 try (TTransport clientTransport = in checkSyncClient() method
167 try (TNonblockingSocket clientTransportAsync = in checkAsyncClient() method
232 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnString() method
247 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidThrows() method
266 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidNoThrowsRuntimeException() method
285 try (AutoCloseable ignored = p.start()) { in testSyncClientMustReturnResultReturnVoidNoThrowsTApplicationException() method
303 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnString() method
318 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidThrows() method
337 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidNoThrowsRuntimeException() method
359 try (AutoCloseable ignored = p.start()) { in testSyncClientMustThrowExceptionReturnVoidNoThrowsTApplicationException() method
[all …]
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/transport/
DTestNonblockingServerSocket.java31 try (TNonblockingServerSocket nonblockingServer = new TNonblockingServerSocket(0)) { in testSocketChannelBlockingMode() method
DTestTSaslTransports.java133 try (TServerSocket serverSocket = in internalRun() method
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/server/
DTestThreadPoolServer.java42 try (TSocket client = new TSocket("localhost", serverSocket.getServerSocket().getLocalPort())) { in testStopServerWithOpenClient() method
DTestSaslNonblockingServer.java86 try (TSaslClientTransport client = in testBadPassword() method
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestStructOrder.java41 try (InputStream isA = TestStructOrder.class.getClassLoader().getResourceAsStream(fnA); in testStructOrder() method
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/transport/
DTHttpClient.java298 try (InputStream is = response.getEntity().getContent()) { in handleResponse() method