public class GraphicsEnvironment
extends java.lang.Object
java.awt.GraphicsEnvironment.
The original is an abstract class that provides methods that manage the graphical display for AWT. The relevant behavior of the class for Randoop is indicating whether the environment is headless. Certain interface objects may not be created in a headless environment. Since other mocks prevent the display of these objects, these methods pretend that all environments are not headless.
Default replacement for ReplaceCallAgent. Replacement should be
specified in "resources/default-replacements.txt"
| Constructor and Description |
|---|
GraphicsEnvironment()
Creates a (mock) GraphicsEnvironment.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkHeadless() |
static boolean |
isHeadless() |
static boolean |
isHeadlessInstance(java.awt.GraphicsEnvironment graphicsEnvironment) |