Class StartupConfiguration


  • public class StartupConfiguration
    extends java.lang.Object
    Configuration that is used by the SurefireStarter but does not make it into the provider itself.
    • Field Detail

      • SUREFIRE_TEST_CLASSPATH

        private static final java.lang.String SUREFIRE_TEST_CLASSPATH
        See Also:
        Constant Field Values
      • providerClassName

        private final java.lang.String providerClassName
      • isForkRequested

        private final boolean isForkRequested
      • isInForkedVm

        private final boolean isInForkedVm
    • Method Detail

      • isProviderMainClass

        public boolean isProviderMainClass()
      • useSystemClassLoader

        @Deprecated
        public boolean useSystemClassLoader()
        Deprecated.
      • isManifestOnlyJarRequestedAndUsable

        public boolean isManifestOnlyJarRequestedAndUsable()
      • getProviderClassName

        public java.lang.String getProviderClassName()
      • getActualClassName

        public java.lang.String getActualClassName()
      • stripEnd

        private static java.lang.String stripEnd​(java.lang.String str,
                                                 java.lang.String strip)

        Strip any of a supplied String from the end of a String.


        If the strip String is null, whitespace is stripped.

        Parameters:
        str - the String to remove characters from
        strip - the String to remove
        Returns:
        the stripped String
      • isShadefire

        public boolean isShadefire()
      • writeSurefireTestClasspathProperty

        public void writeSurefireTestClasspathProperty()