Skip to content

Commit 6408f60

Browse files
committed
Address PR review: unused using, fixture namespace, getter visibility
1 parent 010eea4 commit 6408f60

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/Fixtures/TdsServerFixture.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
using System;
66
using Microsoft.SqlServer.TDS.Servers;
77

8+
namespace Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests;
9+
810
/// <summary>
911
/// An xunit test fixture that manages the lifecycle of a TdsServer.
1012
/// </summary>

src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/TdsTokenBoundsTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Microsoft.SqlServer.TDS.Done;
1111
using Microsoft.SqlServer.TDS.FeatureExtAck;
1212
using Microsoft.SqlServer.TDS.Servers;
13-
using Microsoft.SqlServer.TDS.SessionState;
1413
using Xunit;
1514

1615
namespace Microsoft.Data.SqlClient.UnitTests.SimulatedServerTests;

src/Microsoft.Data.SqlClient/tests/tools/TDS/TDS.Servers/GenericTdsServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public GenericTdsServer(T arguments, QueryEngine queryEngine)
138138
/// sent to the client. Tests can use this to inject or replace tokens in the
139139
/// response message.
140140
/// </summary>
141-
public Action<TDSMessage> OnSQLBatchCompleted { get; set; }
141+
public Action<TDSMessage> OnSQLBatchCompleted { private get; set; }
142142

143143
public OnLogin7ValidatedDelegate OnLogin7Validated { private get; set; }
144144

0 commit comments

Comments
 (0)