public class FileBasedClusterNodeFirewallTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TemporaryFolder |
temp |
Constructor and Description |
---|
FileBasedClusterNodeFirewallTest() |
Modifier and Type | Method and Description |
---|---|
void |
ensureBadDataWasIgnored()
We have two garbage lines in our test config file, ensure they didn't get turned into hosts.
|
static void |
ensureBadHostsDoNotWork()
We have tests that rely on known bad host/ip parameters; make sure DNS doesn't resolve them.
|
void |
setup() |
void |
testIsPermissibleWithEmptyConfig() |
void |
testIsPermissibleWithEmptyConfigWithMalformedData() |
void |
testIsPermissibleWithExactMatch() |
void |
testIsPermissibleWithMalformedData() |
void |
testIsPermissibleWithNoMatch() |
void |
testIsPermissibleWithSubnetMatch() |
void |
testSyncWithRestore() |
public static void ensureBadHostsDoNotWork()
public void setup() throws java.lang.Exception
java.lang.Exception
public void ensureBadDataWasIgnored()
public void testSyncWithRestore()
public void testIsPermissibleWithExactMatch()
public void testIsPermissibleWithSubnetMatch()
public void testIsPermissibleWithNoMatch()
public void testIsPermissibleWithMalformedData()
public void testIsPermissibleWithEmptyConfig()
public void testIsPermissibleWithEmptyConfigWithMalformedData()