From 03177a2ad48ad5eefb3493a158904da2ba6a98ca Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Wed, 4 Sep 2024 14:15:07 -0400 Subject: [PATCH] junit-interface 0.13.3 --- build.sbt | 2 +- src/test/java/org/scalasbt/ipcsocket/SocketTest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index a5b6f45..41243f7 100644 --- a/build.sbt +++ b/build.sbt @@ -9,7 +9,7 @@ val jnaVersion = "5.12.0" val jna = "net.java.dev.jna" % "jna" % jnaVersion val jnaPlatform = "net.java.dev.jna" % "jna-platform" % jnaVersion -val junitInterface = "com.novocode" % "junit-interface" % "0.11" +val junitInterface = "com.github.sbt" % "junit-interface" % "0.13.3" val nativePlatform = settingKey[String]("The target platform") val nativeArch = settingKey[String]("The target architecture") val nativeArtifact = settingKey[Path]("The target artifact location") diff --git a/src/test/java/org/scalasbt/ipcsocket/SocketTest.java b/src/test/java/org/scalasbt/ipcsocket/SocketTest.java index cc80c1f..1d83b80 100644 --- a/src/test/java/org/scalasbt/ipcsocket/SocketTest.java +++ b/src/test/java/org/scalasbt/ipcsocket/SocketTest.java @@ -24,7 +24,7 @@ public class SocketTest extends BaseSocketSetup { public void testAssertEquals() throws IOException, InterruptedException { withSocket( sock -> { - System.out.println("SocketTest#testAssertEquals"); + System.out.println("SocketTest#testAssertEquals(" + Boolean.toString(useJNI()) + ")"); ServerSocket serverSocket = newServerSocket(sock); @@ -56,7 +56,7 @@ public void testAssertEquals() throws IOException, InterruptedException { public void throwIOExceptionOnMissingFile() throws IOException, InterruptedException { withSocket( sock -> { - System.out.println("SocketTest#throwIOExceptionOnMissingFile"); + System.out.println("SocketTest#throwIOExceptionOnMissingFile(" + Boolean.toString(useJNI()) + ")"); boolean caughtIOException = false; Files.deleteIfExists(Paths.get(sock)); @@ -74,7 +74,7 @@ public void throwIOExceptionOnMissingFile() throws IOException, InterruptedExcep public void shortReadWrite() throws IOException, InterruptedException { withSocket( sock -> { - System.out.println("SocketTest#shortReadWrite"); + System.out.println("SocketTest#shortReadWrite(" + Boolean.toString(useJNI()) + ")"); ServerSocket serverSocket = newServerSocket(sock);