Class NMapExecutorTest

java.lang.Object
org.nmap4j.core.nmap.NMapExecutorTest

public class NMapExecutorTest extends Object
  • 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()