Skip to content

Commit 1063212

Browse files
committed
Clean up
1 parent 72864d4 commit 1063212

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

utPLSQL.Api/utPLSQL.Api/RealTimeTestRunner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public override async Task RunTestsAsync(List<string> paths, Action<@event> cons
2828

2929
public override async Task RunTestsAsync(string path, Action<@event> consumer)
3030
{
31-
await RunTestsAsync(new List<string>() { path }, consumer);
31+
await RunTestsAsync(new List<string> { path }, consumer);
3232
}
3333

3434
public override async Task<string> RunTestsWithCoverageAsync(List<string> paths, Action<@event> consumer, List<string> coverageSchemas = null, List<string> includeObjects = null, List<string> excludeObjects = null)
@@ -54,7 +54,7 @@ public override async Task<string> RunTestsWithCoverageAsync(List<string> paths,
5454

5555
public override async Task<string> RunTestsWithCoverageAsync(string path, Action<@event> consumer, string coverageSchema = null, List<string> includeObjects = null, List<string> excludeObjects = null)
5656
{
57-
return await RunTestsWithCoverageAsync(new List<string>() { path }, consumer, new List<string>() { coverageSchema }, includeObjects, excludeObjects);
57+
return await RunTestsWithCoverageAsync(new List<string> { path }, consumer, new List<string> { coverageSchema }, includeObjects, excludeObjects);
5858
}
5959

6060
private void UtRunWithCoverage(string realtimeReporterId, string coverageReporterId, List<string> paths, List<string> coverageSchemas, List<string> includeObjects, List<string> excludeObjects)

utPLSQL.Api/utPLSQL.Api/TestRunner.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ namespace utPLSQL
1313
/// <typeparam name="T">Type of result class used in callback action</typeparam>
1414
public abstract class TestRunner<T>
1515
{
16-
internal OracleConnection produceConnection;
17-
internal OracleConnection consumeConnection;
16+
protected OracleConnection produceConnection;
17+
protected OracleConnection consumeConnection;
1818

1919
protected readonly List<OracleCommand> runningCommands = new List<OracleCommand>();
2020

@@ -67,7 +67,7 @@ public string GetVersion()
6767
var cmd = new OracleCommand("select ut.version() from dual", produceConnection);
6868
runningCommands.Add(cmd);
6969

70-
OracleDataReader reader = cmd.ExecuteReader();
70+
var reader = cmd.ExecuteReader();
7171
reader.Read();
7272

7373
var version = reader.GetString(0);

0 commit comments

Comments
 (0)