File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ dependencies {
165165 embedded name : ' OC-JNLua' , version : ' 20230530.0' , ext : ' jar'
166166 embedded name : ' OC-JNLua-Natives' , version : ' 20220928.1' , ext : ' jar'
167167
168+ testCompile " junit:junit:4.13"
168169 testCompile " org.mockito:mockito-all:1.10.19"
169170 testCompile " org.scalactic:scalactic_2.11:2.2.6"
170171 testCompile " org.scalatest:scalatest_2.11:2.2.6"
Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ import li.cil.oc.api.network.Node
55import li .cil .oc .api .network .Visibility
66import li .cil .oc .server .network .Network
77import li .cil .oc .server .network .{Node => MutableNode }
8+ import org .junit .runner .RunWith
89import org .scalatest ._
10+ import org .scalatest .junit .JUnitRunner
911import org .scalatest .mock .MockitoSugar
1012
1113import scala .collection .convert .WrapAsScala ._
1214
15+ @ RunWith (classOf [JUnitRunner ])
1316class NetworkTest extends FlatSpec with MockitoSugar {
1417 Network .isServer = () => true
1518 api.API .network = Network
You can’t perform that action at this time.
0 commit comments