Class JUnitLauncher

    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
      • junit4Main

        boolean junit4Main
      • timeout

        private long timeout
      • fqns

        private java.util.List<java.lang.String> fqns
    • Constructor Detail

      • JUnitLauncher

        public JUnitLauncher​(Project project)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • prepare

        public void prepare()
                     throws java.lang.Exception
        Description copied from class: ProjectLauncher
        Should be called when all the changes to the launchers are set. Will calculate whatever is necessary for the launcher.
        Specified by:
        prepare in class ProjectLauncher
        Throws:
        java.lang.Exception
      • launch

        public int launch()
                   throws java.lang.Exception
        Overrides:
        launch in class ProjectLauncher
        Throws:
        java.lang.Exception
      • traverse

        private boolean traverse​(java.util.List<java.lang.String> fqns,
                                 java.io.File testSrc,
                                 java.lang.String prefix,
                                 java.util.regex.Pattern filter)
      • update

        public void update()
                    throws java.lang.Exception
        Specified by:
        update in class ProjectLauncher
        Throws:
        java.lang.Exception