11package org .testcontainers .containers ;
22
3- import org .junit .Test ;
3+ import org .junit .jupiter . api . Test ;
44import org .testcontainers .PrestoTestImages ;
55
66import java .sql .Connection ;
1414
1515import static org .assertj .core .api .Assertions .assertThat ;
1616
17- public class PrestoContainerTest {
17+ class PrestoContainerTest {
1818
1919 @ Test
20- public void testSimple () throws Exception {
20+ void testSimple () throws Exception {
2121 try (PrestoContainer <?> prestoSql = new PrestoContainer <>(PrestoTestImages .PRESTO_TEST_IMAGE )) {
2222 prestoSql .start ();
2323 try (
@@ -35,7 +35,7 @@ public void testSimple() throws Exception {
3535 }
3636
3737 @ Test
38- public void testSpecificVersion () throws Exception {
38+ void testSpecificVersion () throws Exception {
3939 try (
4040 PrestoContainer <?> prestoSql = new PrestoContainer <>(PrestoTestImages .PRESTO_PREVIOUS_VERSION_TEST_IMAGE )
4141 ) {
@@ -54,7 +54,7 @@ public void testSpecificVersion() throws Exception {
5454 }
5555
5656 @ Test
57- public void testQueryMemoryAndTpch () throws SQLException {
57+ void testQueryMemoryAndTpch () throws SQLException {
5858 try (PrestoContainer <?> prestoSql = new PrestoContainer <>(PrestoTestImages .PRESTO_TEST_IMAGE )) {
5959 prestoSql .start ();
6060 try (
@@ -88,7 +88,7 @@ public void testQueryMemoryAndTpch() throws SQLException {
8888 }
8989
9090 @ Test
91- public void testInitScript () throws Exception {
91+ void testInitScript () throws Exception {
9292 try (PrestoContainer <?> prestoSql = new PrestoContainer <>(PrestoTestImages .PRESTO_TEST_IMAGE )) {
9393 prestoSql .withInitScript ("initial.sql" );
9494 prestoSql .start ();
@@ -105,7 +105,7 @@ public void testInitScript() throws Exception {
105105 }
106106
107107 @ Test
108- public void testTcJdbcUri () throws Exception {
108+ void testTcJdbcUri () throws Exception {
109109 try (
110110 Connection connection = DriverManager .getConnection (
111111 String .format ("jdbc:tc:presto:%s://hostname/" , PrestoContainer .DEFAULT_TAG )
0 commit comments