From bf591f257c6da2323d9476b89b12f67861969c95 Mon Sep 17 00:00:00 2001 From: lilgreenbird Date: Wed, 17 Apr 2024 00:21:46 -0700 Subject: [PATCH] clean up --- .../sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java | 6 ------ .../jdbc/callablestatement/CallableStatementTest.java | 4 ---- 2 files changed, 10 deletions(-) diff --git a/src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java b/src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java index 843512fde..4b55573af 100644 --- a/src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java +++ b/src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java @@ -53,13 +53,7 @@ public class EnclaveTest extends AESetup { @ParameterizedTest @MethodSource("enclaveParams") public void testBasicConnection(String serverName, String url, String protocol) throws Exception { - System.out.println("serverName= " + serverName); - System.out.println("url= " + url); - System.out.println("protocol= " + protocol); - - System.out.println("before: AETestConnectionString= " +AETestConnectionString); setAEConnectionString(serverName, url, protocol); - System.out.println("after: AETestConnectionString= " +AETestConnectionString); EnclavePackageTest.testBasicConnection(AETestConnectionString, protocol); } diff --git a/src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java b/src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java index 463a73d31..67dde1fad 100644 --- a/src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java +++ b/src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableStatementTest.java @@ -22,7 +22,6 @@ import java.util.TimeZone; import java.util.UUID; -import org.junit.Assert; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; @@ -41,8 +40,6 @@ import com.microsoft.sqlserver.testframework.AbstractTest; import com.microsoft.sqlserver.testframework.Constants; -import javax.sql.DataSource; - /** * Test CallableStatement @@ -1187,7 +1184,6 @@ public void testFourPartSyntaxCallEscapeSyntax() throws SQLException { ds.setTrustServerCertificate(true); try (Connection linkedServerConnection = ds.getConnection(); - // Statement stmt = linkedServerConnection.createStatement()) { Statement stmt = linkedServerConnection.createStatement()) { stmt.execute( "create or alter procedure dbo.TestAdd(@Num1 int, @Num2 int, @Result int output) as begin set @Result = @Num1 + @Num2; end;");