Skip to content

Commit 5bd1835

Browse files
committed
dotnet format CA1024
1 parent 56ddcef commit 5bd1835

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

test/IntegrationTests/GraphQLTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public GraphQLTests(ITestOutputHelper output)
2121
{
2222
}
2323

24-
public static TheoryData<string, bool> GetData()
24+
public static TheoryData<string, bool> TestData()
2525
{
2626
var theoryData = new TheoryData<string, bool>();
2727

@@ -36,7 +36,7 @@ public static TheoryData<string, bool> GetData()
3636

3737
[Theory]
3838
[Trait("Category", "EndToEnd")]
39-
[MemberData(nameof(GetData))]
39+
[MemberData(nameof(TestData))]
4040
public async Task SubmitsTraces(string packageVersion, bool setDocument)
4141
{
4242
var requests = new List<RequestInfo>();

test/IntegrationTests/OracleMdaTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public OracleMdaTests(ITestOutputHelper output, OracleFixture oracle)
2121
_oracle = oracle;
2222
}
2323

24-
public static TheoryData<string, bool> GetData()
24+
public static TheoryData<string, bool> TestData()
2525
{
2626
var theoryData = new TheoryData<string, bool>();
2727

@@ -41,7 +41,7 @@ public static TheoryData<string, bool> GetData()
4141
[SkippableTheory]
4242
[Trait("Category", "EndToEnd")]
4343
[Trait("Containers", "Linux")]
44-
[MemberData(nameof(GetData))]
44+
[MemberData(nameof(TestData))]
4545
public void SubmitTraces(string packageVersion, bool dbStatementForText)
4646
{
4747
// Skip the test if fixture does not support current platform

test/IntegrationTests/SqlClientSystemTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public SqlClientSystemTests(ITestOutputHelper output, SqlServerFixture sqlServer
1818
_sqlServerFixture = sqlServerFixture;
1919
}
2020

21-
public static TheoryData<string, bool, bool> GetDataForIlRewrite()
21+
#if NETFRAMEWORK
22+
public static TheoryData<string, bool, bool> TestDataForIlRewrite()
2223
{
2324
var theoryData = new TheoryData<string, bool, bool>();
2425

@@ -32,6 +33,7 @@ public static TheoryData<string, bool, bool> GetDataForIlRewrite()
3233

3334
return theoryData;
3435
}
36+
#endif
3537

3638
[SkippableTheory]
3739
[Trait("Category", "EndToEnd")]
@@ -60,7 +62,7 @@ public void SubmitTraces(string packageVersion)
6062
[SkippableTheory]
6163
[Trait("Category", "EndToEnd")]
6264
[Trait("Containers", "Linux")]
63-
[MemberData(nameof(GetDataForIlRewrite))]
65+
[MemberData(nameof(TestDataForIlRewrite))]
6466
public void SqlClientIlRewrite(string packageVersion, bool enableIlRewrite, bool isFileBased)
6567
{
6668
// Skip the test if fixture does not support current platform

0 commit comments

Comments
 (0)