This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Platform; | |
import org.junit.jupiter.api.extension.*; | |
import java.lang.reflect.Method; | |
import java.util.concurrent.CountDownLatch; | |
import java.util.concurrent.atomic.AtomicReference; | |
public class JavaFXExtension implements Extension, TestInstancePreConstructCallback, InvocationInterceptor { | |
private boolean initialized = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Test; | |
public class AdtTest { | |
@Test | |
public void testStuff() { | |
MyAdt adt = new MyBar(); | |
String result = adt.match( |