Class RuntimeUtils

java.lang.Object
org.junit.platform.commons.util.RuntimeUtils

@API(status=INTERNAL,
     since="1.6")
public final class RuntimeUtils
extends java.lang.Object
Collection of utilities for working with Runtime, RuntimeMXBean, etc.

DISCLAIMER

These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!

Since:
1.6
  • Method Summary

    Modifier and Type Method Description
    static boolean isDebugMode()
    Try to determine whether the VM was started in debug mode or not.

    Methods inherited from class java.lang.Object

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

    • isDebugMode

      public static boolean isDebugMode()
      Try to determine whether the VM was started in debug mode or not.