public final class TestUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
compressHeapDumps() |
static void |
dump(String filenamePrefix) |
static int |
getFreePort()
Return a free port which can be used to bind to
|
static boolean |
isSctpSupported()
Return
true if SCTP is supported by the running os. |
static String |
testMethodName(org.junit.rules.TestName testName)
Returns the method name of the current test.
|
public static int getFreePort()
public static boolean isSctpSupported()
true
if SCTP is supported by the running os.public static String testMethodName(org.junit.rules.TestName testName)
public static void dump(String filenamePrefix) throws IOException
IOException
public static void compressHeapDumps() throws IOException
IOException
Copyright © 2008–2017 The Netty Project. All rights reserved.