GP-1196 - add @Rule to AbstractGTest

This commit is contained in:
ghizard
2021-08-10 14:45:11 -04:00
parent fe6006c300
commit 5fb65d845f
@@ -15,7 +15,8 @@
*/ */
package generic.test; package generic.test;
import static org.junit.Assert.*; import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import java.io.File; import java.io.File;
import java.util.*; import java.util.*;
@@ -26,6 +27,7 @@ import java.util.function.BooleanSupplier;
import java.util.function.Supplier; import java.util.function.Supplier;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Rule;
import org.junit.rules.TestName; import org.junit.rules.TestName;
import ghidra.framework.Application; import ghidra.framework.Application;
@@ -68,6 +70,7 @@ public abstract class AbstractGTest {
private static String testDirectoryPath = createTestDirectoryPath(); private static String testDirectoryPath = createTestDirectoryPath();
@Rule
public TestName testName = new TestName(); public TestName testName = new TestName();
/** /**
@@ -339,7 +342,6 @@ public abstract class AbstractGTest {
return result; return result;
} }
//================================================================================================== //==================================================================================================
// Wait Methods // Wait Methods
//================================================================================================== //==================================================================================================