Package org.nmap4j.core.nmap
Class NMapExecutorTest
java.lang.Object
org.nmap4j.core.nmap.NMapExecutorTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setup()
void
teardown()
void
This test verifies that the initialization fails due to there being no path to nmap.void
This tests whether or not we fail with an exception when we try to instantiate the object with nulls which isn't a valide use case.void
void
-
Constructor Details
-
NMapExecutorTest
public NMapExecutorTest()
-
-
Method Details
-
setup
public void setup() -
teardown
public void teardown() -
testConstructionWithNulls
public void testConstructionWithNulls()This tests whether or not we fail with an exception when we try to instantiate the object with nulls which isn't a valide use case. -
testConstructionWithNoPath
public void testConstructionWithNoPath()This test verifies that the initialization fails due to there being no path to nmap. -
testZeroLengthNMapPath
public void testZeroLengthNMapPath() -
testExecuteMethodWithoutSudo
public void testExecuteMethodWithoutSudo()
-