- 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 withRuntime
,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
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RuntimeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.util.Optional<java.util.List<java.lang.String>>
getInputArguments()
Try to get the input arguments the VM was started with.static boolean
isDebugMode()
Try to determine whether the VM was started in debug mode or not.
-