Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/tests/java/awt/RobotTest.java
package tests.java.awt;

import static org.junit.Assume.assumeTrue;

import com.github.jjYBdx4IL.utils.env.Surefire;

import org.junit.Test;

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;

public class RobotTest {

    @Test
    public void testKeyCombos() throws AWTException {
        assumeTrue(Surefire.isSingleTestExecution());
        
        Robot bot = new Robot();
        bot.keyPress(KeyEvent.VK_CONTROL);
        bot.keyPress(KeyEvent.VK_O);
        bot.keyRelease(KeyEvent.VK_O);
        bot.keyRelease(KeyEvent.VK_CONTROL);
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.awt.RobotTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in tests.java.awt.RobotTest
testKeyCombos skipped