Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hedtke, Moritz
AuD 2021 H05 Tests
Commits
f5974f26
Verified
Commit
f5974f26
authored
Jun 11, 2021
by
Daniel Mangold
Browse files
Made class h05.Assertions a subclass of JUnit Assertions
parent
60640779
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/test/java/h05/Assertions.java
View file @
f5974f26
...
...
@@ -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
()};
...
...
src/test/java/h05/ListItemTest.java
View file @
f5974f26
...
...
@@ -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
{
...
...
src/test/java/h05/MyParenthesesTreeIteratorTest.java
View file @
f5974f26
...
...
@@ -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
{
...
...
src/test/java/h05/MyTreeNodeTest.java
View file @
f5974f26
...
...
@@ -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
{
...
...
src/test/java/h05/MyTreeTest.java
View file @
f5974f26
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment