1010import static org .hamcrest .CoreMatchers .not ;
1111import static org .hamcrest .MatcherAssert .assertThat ;
1212
13- public class KernelEnvIT extends ContainerizedKernelCase {
13+ class KernelEnvIT extends ContainerizedKernelCase {
1414
1515 @ Test
16- public void compilerOpts () throws Exception {
16+ void compilerOpts () throws Exception {
1717 Map <String , String > env = Map .of (Env .JJAVA_COMPILER_OPTS , "-source 9" );
1818 String snippet = "var value = 1;" ;
1919 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -27,7 +27,7 @@ public void compilerOpts() throws Exception {
2727 }
2828
2929 @ Test
30- public void timeout () throws Exception {
30+ void timeout () throws Exception {
3131 Map <String , String > env = Map .of (Env .JJAVA_TIMEOUT , "3000" );
3232 String snippet = "Thread.sleep(5000);" ;
3333 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -39,7 +39,7 @@ public void timeout() throws Exception {
3939 }
4040
4141 @ Test
42- public void classpath () throws Exception {
42+ void classpath () throws Exception {
4343 Map <String , String > env = Map .of (Env .JJAVA_CLASSPATH , TEST_CLASSPATH );
4444 String snippet = String .join ("; " ,
4545 "import org.dflib.jjava.Dummy" ,
@@ -52,7 +52,7 @@ public void classpath() throws Exception {
5252 }
5353
5454 @ Test
55- public void startUpScriptsPath () throws Exception {
55+ void startUpScriptsPath () throws Exception {
5656 Map <String , String > env = Map .of (Env .JJAVA_STARTUP_SCRIPTS_PATH , CONTAINER_RESOURCES + "/test-ping.jshell" );
5757 String snippet = "ping()" ;
5858 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -62,7 +62,7 @@ public void startUpScriptsPath() throws Exception {
6262 }
6363
6464 @ Test
65- public void startUpScript () throws Exception {
65+ void startUpScript () throws Exception {
6666 Map <String , String > env = Map .of (Env .JJAVA_STARTUP_SCRIPT , "public String ping() { return \" pong!\" ; }" );
6767 String snippet = "ping()" ;
6868 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -72,7 +72,7 @@ public void startUpScript() throws Exception {
7272 }
7373
7474 @ Test
75- public void loadExtensions_Default () throws Exception {
75+ void loadExtensions_Default () throws Exception {
7676 String snippet = "printf(\" Hello, %s!\" , \" world\" );" ;
7777 Container .ExecResult snippetResult = executeInKernel (snippet );
7878
@@ -81,7 +81,7 @@ public void loadExtensions_Default() throws Exception {
8181 }
8282
8383 @ Test
84- public void loadExtensions_Disable () throws Exception {
84+ void loadExtensions_Disable () throws Exception {
8585 Map <String , String > env = Map .of (Env .JJAVA_LOAD_EXTENSIONS , "0" );
8686 String snippet = "printf(\" Hello, %s!\" , \" world\" );" ;
8787 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -93,7 +93,7 @@ public void loadExtensions_Disable() throws Exception {
9393 }
9494
9595 @ Test
96- public void jvmOpts () throws Exception {
96+ void jvmOpts () throws Exception {
9797 Map <String , String > env = Map .of (Env .JJAVA_JVM_OPTS , "-Xmx300m" );
9898 String snippet = "Runtime.getRuntime().maxMemory()" ;
9999 Container .ExecResult snippetResult = executeInKernel (snippet , env );
0 commit comments