projects
/
lttng-ust-java-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate to Junit 5 Jupiter
[lttng-ust-java-tests.git]
/
lttng-ust-java-tests-common
/
src
/
main
/
java
/
org
/
lttng
/
ust
/
agent
/
integration
/
events
/
ListEventsITBase.java
diff --git
a/lttng-ust-java-tests-common/src/main/java/org/lttng/ust/agent/integration/events/ListEventsITBase.java
b/lttng-ust-java-tests-common/src/main/java/org/lttng/ust/agent/integration/events/ListEventsITBase.java
index a2fa932a858f6f68a3f04fb4b71212263395ed2a..5551db8f21f9faee4b583c5b2af02983025a3518 100644
(file)
--- a/
lttng-ust-java-tests-common/src/main/java/org/lttng/ust/agent/integration/events/ListEventsITBase.java
+++ b/
lttng-ust-java-tests-common/src/main/java/org/lttng/ust/agent/integration/events/ListEventsITBase.java
@@
-18,21
+18,24
@@
package org.lttng.ust.agent.integration.events;
package org.lttng.ust.agent.integration.events;
-import static org.junit.
Assert
.assertEquals;
-import static org.junit.
Assert
.assertTrue;
+import static org.junit.
jupiter.api.Assertions
.assertEquals;
+import static org.junit.
jupiter.api.Assertions
.assertTrue;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
import org.lttng.tools.ILttngSession;
import org.lttng.tools.ILttngSession;
+import org.lttng.ust.agent.utils.TestPrintExtension;
/**
* Base class for the list events command tests
*/
/**
* Base class for the list events command tests
*/
+@ExtendWith(TestPrintExtension.class)
public abstract class ListEventsITBase {
protected static final String LOGGER_NAME_1 = "org.lttng.somecomponent";
public abstract class ListEventsITBase {
protected static final String LOGGER_NAME_1 = "org.lttng.somecomponent";
@@
-44,7
+47,7
@@
public abstract class ListEventsITBase {
/**
* Common test setup
*/
/**
* Common test setup
*/
- @Before
+ @Before
Each
public void testSetup() {
session = ILttngSession.createSession(null, getDomain());
}
public void testSetup() {
session = ILttngSession.createSession(null, getDomain());
}
@@
-52,7
+55,7
@@
public abstract class ListEventsITBase {
/**
* Common test teardown
*/
/**
* Common test teardown
*/
- @After
+ @After
Each
public void testTeardown() {
session.close();
}
public void testTeardown() {
session.close();
}
This page took
0.023756 seconds
and
4
git commands to generate.