Skip to content

Commit 921b69a

Browse files
Some useful changes from Contest 2023 that were missed in UnitTestBot main branch (#2675)
1 parent 6276993 commit 921b69a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

utbot-junit-contest/runtool

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

33
# switch to environment JVM as needed
4-
JAVA_HOME=/usr
4+
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
55

6-
APACHE_EXECS_LIB=lib/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
7-
TOOL=lib/runtool-1.0.0.jar
6+
TOOL=lib/utbot-junit-contest-1.0.jar
87

8+
export UTBOT_EXTRA_PARAMS=-Xmx4g
99
export JAVA_HOME=$JAVA_HOME
10-
$JAVA_HOME/bin/java -cp $TOOL:$APACHE_EXECS_LIB sbst.runtool.Main
10+
$JAVA_HOME/bin/java -cp $TOOL sbst.runtool.Main

utbot-junit-contest/src/main/kotlin/org/utbot/runtool/UtBotTool2.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import sbst.runtool.ITestingTool
1111
class UtBotTool2 : ITestingTool {
1212

1313
override fun getExtraClassPath(): List<File> {
14-
return mutableListOf()
14+
return mutableListOf(File("lib", "mockito-core-4.11.0.jar"))
1515
}
1616

1717
lateinit var sootClasspathString: String

0 commit comments

Comments
 (0)