Lines Matching defs:send
30 * @run main RMIDownloadTest send without
32 * @run main RMIDownloadTest send with
46 * We run the test four times, for each combination of (send, receive) x
120 Arrays.asList("send", "receive").indexOf(args[0]);
125 throw new Exception("Usage: RMIDownloadTest (send|receive) (with|without)");
126 final boolean send = (sendIndex == 0);
155 if (send)
156 System.out.println("Testing we can send an object from client to server");
167 test(send, true);
173 test(send, false);
178 private static void test(boolean send, boolean shouldWork) throws Exception {
180 testWithException(send);
191 private static void testWithException(boolean send)
206 if (send) {