Verified Commit f5974f26 authored by Daniel Mangold's avatar Daniel Mangold
Browse files

Made class h05.Assertions a subclass of JUnit Assertions

parent 60640779
......@@ -4,14 +4,12 @@ import org.opentest4j.AssertionFailedError;
import java.lang.reflect.*;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
import static java.lang.reflect.Modifier.*;
import static org.junit.jupiter.api.Assertions.*;
@SuppressWarnings("unused")
public class Assertions {
public class Assertions extends org.junit.jupiter.api.Assertions {
public static final String[] UNBOUNDED = new String[] {Object.class.getTypeName()};
......
......@@ -11,7 +11,6 @@ import static h05.Assertions.*;
import static h05.Utils.*;
import static h05.Utils.TestType.Type.CLASS;
import static java.lang.reflect.Modifier.*;
import static org.junit.jupiter.api.Assertions.*;
@TestType(CLASS)
public class ListItemTest {
......
......@@ -13,7 +13,6 @@ import static h05.Assertions.*;
import static h05.Utils.TestType.Type.CLASS;
import static h05.Utils.*;
import static java.lang.reflect.Modifier.*;
import static org.junit.jupiter.api.Assertions.*;
@TestType(CLASS)
public class MyParenthesesTreeIteratorTest {
......
......@@ -11,7 +11,6 @@ import static h05.Assertions.*;
import static h05.Utils.*;
import static h05.Utils.TestType.Type.CLASS;
import static java.lang.reflect.Modifier.*;
import static org.junit.jupiter.api.Assertions.*;
@TestType(CLASS)
public class MyTreeNodeTest {
......
......@@ -22,7 +22,6 @@ import static h05.Assertions.*;
import static h05.Utils.*;
import static h05.Utils.TestType.Type.CLASS;
import static java.lang.reflect.Modifier.*;
import static org.junit.jupiter.api.Assertions.*;
@TestType(CLASS)
public class MyTreeTest {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment