public abstract class ClientServerTestBase extends Object
Modifier and Type | Field and Description |
---|---|
protected static File |
dataDir |
protected static InetAddress |
host |
protected static int |
jobPort |
protected static UFTPServer |
server |
protected static int |
srvPort |
Constructor and Description |
---|
ClientServerTestBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkFile(File target,
String md5)
validates the MD5 checksum of the given file
|
static void |
initUFTPServer() |
protected static void |
makeTestFile(File file,
int chunkSize,
int chunks) |
static void |
stopUFTPServer() |
protected static int jobPort
protected static int srvPort
protected static InetAddress host
protected static File dataDir
protected static UFTPServer server
protected static void makeTestFile(File file, int chunkSize, int chunks) throws IOException
IOException
Copyright © 2010–2016 UNICORE. All rights reserved.