Class StandaloneLauncher


  • public class StandaloneLauncher
    extends java.lang.Object
    Used for launching forked tests from the JUnitLauncherTask.

    Although this class is public, this isn't meant for external use. The contract of what program arguments the main method accepts and how it interprets it, is also an internal detail and can change across Ant releases.

    Since:
    Ant 1.10.6
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Entry point to launching the forked test.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandaloneLauncher

        public StandaloneLauncher()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Entry point to launching the forked test.
        Parameters:
        args - The arguments passed to this program for launching the tests
        Throws:
        java.lang.Exception - If any exception occurs during the execution