java.lang.Object
com.cmiurca.saintseiyadeckbuilding.saintseiya.Test

public class Test extends Object
Test, a class to test the compilation of all java files in the current directory and some other stuff
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
    static final String
    Text color constants for the console output (ANSI escape codes)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
    Check for errors during the execution of compiled files
    static void
    Compile all java files in the path directory
    static void
    main(String[] args)
    Main method
    static void
    Remove all .class files in the specified directory and its subdirectories

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TEXT_RED

      public static final String TEXT_RED
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_BLACK

      public static final String TEXT_BLACK
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_GREEN

      public static final String TEXT_GREEN
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_BLUE

      public static final String TEXT_BLUE
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_RESET

      public static final String TEXT_RESET
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_PURPLE

      public static final String TEXT_PURPLE
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_CYAN

      public static final String TEXT_CYAN
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_YELLOW

      public static final String TEXT_YELLOW
      Text color constants for the console output (ANSI escape codes)
      See Also:
    • TEXT_WHITE

      public static final String TEXT_WHITE
      Text color constants for the console output (ANSI escape codes)
      See Also:
  • Constructor Details

    • Test

      public Test()
  • Method Details

    • main

      public static void main(String[] args)
      Main method
      Parameters:
      args - the command line arguments
    • compileAllFiles

      public static void compileAllFiles(String path)
      Compile all java files in the path directory
      Parameters:
      path - the path to the directory containing the java files
    • checkExecution

      public static void checkExecution(String path)
      Check for errors during the execution of compiled files
      Parameters:
      path - the path to the directory containing the java files
    • removeClassFiles

      public static void removeClassFiles(String path)
      Remove all .class files in the specified directory and its subdirectories
      Parameters:
      path - the path to the directory
    • CardTest

      public static void CardTest()