1111import static org .hamcrest .Matchers .not ;
1212import static org .junit .jupiter .api .Assertions .assertEquals ;
1313
14- class KernelEnvIT extends ContainerizedKernelCase {
14+ public class KernelEnvIT extends ContainerizedKernelCase {
1515
1616 @ Test
17- void compilerOpts () throws Exception {
17+ public void compilerOpts () throws Exception {
1818 Map <String , String > env = Map .of (Env .JJAVA_COMPILER_OPTS , "-source 9" );
1919 String snippet = "var value = 1;" ;
2020 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -29,7 +29,7 @@ void compilerOpts() throws Exception {
2929 }
3030
3131 @ Test
32- void timeout () throws Exception {
32+ public void timeout () throws Exception {
3333 Map <String , String > env = Map .of (Env .JJAVA_TIMEOUT , "3000" );
3434 String snippet = "Thread.sleep(5000);" ;
3535 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -42,7 +42,7 @@ void timeout() throws Exception {
4242 }
4343
4444 @ Test
45- void classpath () throws Exception {
45+ public void classpath () throws Exception {
4646 Map <String , String > env = Map .of (Env .JJAVA_CLASSPATH , TEST_CLASSPATH );
4747 String snippet = String .join ("\n " ,
4848 "import org.dflib.jjava.Dummy;" ,
@@ -56,7 +56,7 @@ void classpath() throws Exception {
5656 }
5757
5858 @ Test
59- void startUpScriptsPath () throws Exception {
59+ public void startUpScriptsPath () throws Exception {
6060 Map <String , String > env = Map .of (Env .JJAVA_STARTUP_SCRIPTS_PATH , CONTAINER_RESOURCES + "/test-ping.jshell" );
6161 String snippet = "ping()" ;
6262 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -67,7 +67,7 @@ void startUpScriptsPath() throws Exception {
6767 }
6868
6969 @ Test
70- void startUpScript () throws Exception {
70+ public void startUpScript () throws Exception {
7171 Map <String , String > env = Map .of (Env .JJAVA_STARTUP_SCRIPT , "public String ping() { return \" pong!\" ; }" );
7272 String snippet = "ping()" ;
7373 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -78,7 +78,7 @@ void startUpScript() throws Exception {
7878 }
7979
8080 @ Test
81- void loadExtensions_Default () throws Exception {
81+ public void loadExtensions_Default () throws Exception {
8282 String snippet = "printf(\" Hello, %s!\" , \" world\" );" ;
8383 Container .ExecResult snippetResult = executeInKernel (snippet );
8484
@@ -88,7 +88,7 @@ void loadExtensions_Default() throws Exception {
8888 }
8989
9090 @ Test
91- void loadExtensions_Disable () throws Exception {
91+ public void loadExtensions_Disable () throws Exception {
9292 Map <String , String > env = Map .of (Env .JJAVA_LOAD_EXTENSIONS , "0" );
9393 String snippet = "printf(\" Hello, %s!\" , \" world\" );" ;
9494 Container .ExecResult snippetResult = executeInKernel (snippet , env );
@@ -101,7 +101,7 @@ void loadExtensions_Disable() throws Exception {
101101 }
102102
103103 @ Test
104- void jvmOpts () throws Exception {
104+ public void jvmOpts () throws Exception {
105105 Map <String , String > env = Map .of (Env .JJAVA_JVM_OPTS , "-Xmx300m" );
106106 String snippet = "Runtime.getRuntime().maxMemory()" ;
107107 Container .ExecResult snippetResult = executeInKernel (snippet , env );
0 commit comments