# NgtorApplicationMainTest

3 tests | 0 failures | 0 ignored | 19.709s duration
| 100% successful

- Tests
- Standard output

## Tests

Test | Duration | Result
--- | --- | ---
executeCommandCheck() | 9.321s | passed
executeCommandHelp() | 0.412s | passed
withoutArgs() | 9.976s | passed

## Standard output

    2024-01-25T18:54:28.703-05:00  INFO 4967 --- [    Test worker] org.tbk.ngtor.NgtorApplication           : Starting..
    Usage: ./ngtor.jar COMMAND [OPTION...]

      Command
          http                serve the specified port
          demo                spin up a webserver and serve a demo page via tor
          check               perform system health checks (e.g. tor connection)
          version             print application version
          help                print this help text

      Examples
          ./ngtor.jar http             # onion url for port 8080 (default) web server
          ./ngtor.jar http --port=80   # onion url for port 80 web server

      Version
          unspecified

    2024-01-25T18:54:30.356-05:00  INFO 4967 --- [    Test worker] org.tbk.ngtor.NgtorApplication           : Starting..
    2024-01-25T18:54:32.887-05:00  INFO 4967 --- [    Test worker] org.berndpruenster.netlayer.tor.Tor      : Starting Tor
    Check started..
    ?[32m✔?[0m Tor ?[1mis working?[0m.
    Check finished after 2.187 s
    2024-01-25T18:54:39.409-05:00  INFO 4967 --- [    Test worker] org.tbk.ngtor.NgtorApplication           : Starting..
    Usage: ./ngtor.jar COMMAND [OPTION...]

      Command
          http                serve the specified port
          demo                spin up a webserver and serve a demo page via tor
          check               perform system health checks (e.g. tor connection)
          version             print application version
          help                print this help text

      Examples
          ./ngtor.jar http             # onion url for port 8080 (default) web server
          ./ngtor.jar http --port=80   # onion url for port 80 web server

      Version
          unspecified