You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* User Story 33279: Fix xUnit Theory serialization warnings
- Suppressed xUnit discovery data enumeration warnings in Function and Manual test projects.
- Fixed xUnit test data enumeration warnings specific to .NET Framework (enums in the GAC).
- Added targets to run Windows and Unix tests.
- Cleaned up test run command lines for improved maintenance and runtime logging.
Copy file name to clipboardExpand all lines: src/Microsoft.Data.SqlClient/tests/FunctionalTests/AlwaysEncryptedTests/SqlColumnEncryptionCertificateStoreProviderShould.cs
+28-22
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,16 @@ public void EncryptAndDecryptDataSuccessfully()
230
230
}
231
231
232
232
[Theory]
233
-
[CEKEncryptionReversalParameters]
233
+
[MemberData(
234
+
nameof(CEKEncryptionReversalData)
235
+
#if NETFRAMEWORK
236
+
// .NET Framework puts system enums in something called the Global
237
+
// Assembly Cache (GAC), and xUnit refuses to serialize enums that
238
+
// live there. So for .NET Framework, we disable enumeration of the
239
+
// test data to avoid warnings on the console when running tests.
0 commit comments