Skip to content

Instantly share code, notes, and snippets.

View nebulorum's full-sized avatar

Thomas Santana nebulorum

View GitHub Profile
@nebulorum
nebulorum / WindowClosingConfirmationTest
Created July 19, 2014 14:08
Example of how test window closing logic in UISpec4J
package org.uispec4j.demo;
import org.uispec4j.Trigger;
import org.uispec4j.UISpecAdapter;
import org.uispec4j.UISpecTestCase;
import org.uispec4j.Window;
import org.uispec4j.interception.WindowInterceptor;
import javax.swing.*;
import java.awt.event.ActionEvent;

Keybase proof

I hereby claim:

  • I am nebulorum on github.
  • I am nebulorum (https://keybase.io/nebulorum) on keybase.
  • I have a public key whose fingerprint is 1D1E B515 6D60 9014 220A B362 371E F671 2672 978B

To claim this, I am signing this object:

@nebulorum
nebulorum / Cacio-TTA Profile
Created April 15, 2015 22:10
An example profile for using headless UISpec4J test using Cacio-TTA Toolkit.
<profile>
<id>ci-headless</id>
<dependencies>
<dependency>
<groupId>net.java.openjdk.cacio</groupId>
<artifactId>cacio-tta</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>