@@ -34,7 +34,7 @@ protected override void RunTestCases(System.Collections.Generic.IEnumerable<Xuni
34
34
public partial class AssemblyFixtureAttribute : System . Attribute
35
35
{
36
36
public AssemblyFixtureAttribute ( System . Type fixtureType ) { }
37
- public System . Type FixtureType { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
37
+ public System . Type FixtureType { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
38
38
}
39
39
[ System . AttributeUsageAttribute ( System . AttributeTargets . Method , AllowMultiple = false ) ]
40
40
[ Xunit . Sdk . XunitTestCaseDiscovererAttribute ( "Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer" , "Microsoft.AspNetCore.Testing" ) ]
@@ -62,14 +62,14 @@ public sealed partial class DockerOnlyAttribute : System.Attribute, Microsoft.As
62
62
{
63
63
public DockerOnlyAttribute ( ) { }
64
64
public bool IsMet { get { throw null ; } }
65
- public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
65
+ public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
66
66
}
67
67
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = true ) ]
68
68
public partial class EnvironmentVariableSkipConditionAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
69
69
{
70
70
public EnvironmentVariableSkipConditionAttribute ( string variableName , params string [ ] values ) { }
71
71
public bool IsMet { get { throw null ; } }
72
- public bool RunOnMatch { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
72
+ public bool RunOnMatch { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
73
73
public string SkipReason { get { throw null ; } }
74
74
}
75
75
public static partial class ExceptionAssert
@@ -93,8 +93,8 @@ public static partial class ExceptionAssert
93
93
public sealed partial class FlakyAttribute : System . Attribute , Xunit . Sdk . ITraitAttribute
94
94
{
95
95
public FlakyAttribute ( string gitHubIssueUrl , string firstFilter , params string [ ] additionalFilters ) { }
96
- public System . Collections . Generic . IReadOnlyList < string > Filters { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
97
- public string GitHubIssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
96
+ public System . Collections . Generic . IReadOnlyList < string > Filters { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
97
+ public string GitHubIssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
98
98
}
99
99
public static partial class FlakyOn
100
100
{
@@ -131,7 +131,7 @@ public partial class FrameworkSkipConditionAttribute : System.Attribute, Microso
131
131
{
132
132
public FrameworkSkipConditionAttribute ( Microsoft . AspNetCore . Testing . RuntimeFrameworks excludedFrameworks ) { }
133
133
public bool IsMet { get { throw null ; } }
134
- public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
134
+ public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
135
135
}
136
136
public static partial class HelixQueues
137
137
{
@@ -170,11 +170,18 @@ public partial interface ITestMethodLifecycle
170
170
System . Threading . Tasks . Task OnTestStartAsync ( Microsoft . AspNetCore . Testing . TestContext context , System . Threading . CancellationToken cancellationToken ) ;
171
171
}
172
172
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = true ) ]
173
+ public partial class MaximumOSVersionAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
174
+ {
175
+ public MaximumOSVersionAttribute ( Microsoft . AspNetCore . Testing . OperatingSystems operatingSystem , string maxVersion ) { }
176
+ public bool IsMet { get { throw null ; } }
177
+ public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
178
+ }
179
+ [ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = true ) ]
173
180
public partial class MinimumOSVersionAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
174
181
{
175
182
public MinimumOSVersionAttribute ( Microsoft . AspNetCore . Testing . OperatingSystems operatingSystem , string minVersion ) { }
176
183
public bool IsMet { get { throw null ; } }
177
- public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
184
+ public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
178
185
}
179
186
[ System . FlagsAttribute ]
180
187
public enum OperatingSystems
@@ -186,31 +193,33 @@ public enum OperatingSystems
186
193
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = true ) ]
187
194
public partial class OSSkipConditionAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
188
195
{
196
+ public OSSkipConditionAttribute ( Microsoft . AspNetCore . Testing . OperatingSystems operatingSystem ) { }
197
+ [ System . ObsoleteAttribute ( "Use the Minimum/MaximumOSVersionAttribute for version checks." , true ) ]
189
198
public OSSkipConditionAttribute ( Microsoft . AspNetCore . Testing . OperatingSystems operatingSystem , params string [ ] versions ) { }
190
199
public bool IsMet { get { throw null ; } }
191
- public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
200
+ public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
192
201
}
193
202
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = false ) ]
194
203
[ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
195
204
public partial class RepeatAttribute : System . Attribute
196
205
{
197
206
public RepeatAttribute ( int runCount = 10 ) { }
198
- public int RunCount { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
207
+ public int RunCount { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
199
208
}
200
209
public partial class RepeatContext
201
210
{
202
211
public RepeatContext ( int limit ) { }
203
212
public static Microsoft . AspNetCore . Testing . RepeatContext Current { get { throw null ; } }
204
- public int CurrentIteration { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
205
- public int Limit { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
213
+ public int CurrentIteration { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
214
+ public int Limit { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
206
215
}
207
216
[ System . AttributeUsageAttribute ( System . AttributeTargets . Method ) ]
208
217
public partial class ReplaceCultureAttribute : Xunit . Sdk . BeforeAfterTestAttribute
209
218
{
210
219
public ReplaceCultureAttribute ( ) { }
211
220
public ReplaceCultureAttribute ( string currentCulture , string currentUICulture ) { }
212
- public System . Globalization . CultureInfo Culture { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
213
- public System . Globalization . CultureInfo UICulture { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
221
+ public System . Globalization . CultureInfo Culture { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
222
+ public System . Globalization . CultureInfo UICulture { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
214
223
public override void After ( System . Reflection . MethodInfo methodUnderTest ) { }
215
224
public override void Before ( System . Reflection . MethodInfo methodUnderTest ) { }
216
225
}
@@ -232,7 +241,7 @@ public partial class SkipOnCIAttribute : System.Attribute, Microsoft.AspNetCore.
232
241
{
233
242
public SkipOnCIAttribute ( string issueUrl = "" ) { }
234
243
public bool IsMet { get { throw null ; } }
235
- public string IssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
244
+ public string IssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
236
245
public string SkipReason { get { throw null ; } }
237
246
public static string GetIfOnAzdo ( ) { throw null ; }
238
247
public static string GetTargetHelixQueue ( ) { throw null ; }
@@ -245,8 +254,8 @@ public partial class SkipOnHelixAttribute : System.Attribute, Microsoft.AspNetCo
245
254
{
246
255
public SkipOnHelixAttribute ( string issueUrl ) { }
247
256
public bool IsMet { get { throw null ; } }
248
- public string IssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
249
- public string Queues { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
257
+ public string IssueUrl { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
258
+ public string Queues { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
250
259
public string SkipReason { get { throw null ; } }
251
260
public static string GetTargetHelixQueue ( ) { throw null ; }
252
261
public static bool OnHelix ( ) { throw null ; }
@@ -263,29 +272,30 @@ public override void Serialize(Xunit.Abstractions.IXunitSerializationInfo data)
263
272
public static partial class TaskExtensions
264
273
{
265
274
[ System . Diagnostics . DebuggerStepThroughAttribute ]
266
- public static System . Threading . Tasks . Task TimeoutAfter ( this System . Threading . Tasks . Task task , System . TimeSpan timeout , [ System . Runtime . CompilerServices . CallerFilePathAttribute ] string filePath = null , [ System . Runtime . CompilerServices . CallerLineNumberAttribute ] int lineNumber = 0 ) { throw null ; }
275
+ public static System . Threading . Tasks . Task TimeoutAfter ( this System . Threading . Tasks . Task task , System . TimeSpan timeout , [ System . Runtime . CompilerServices . CallerFilePathAttribute ] string filePath = null , [ System . Runtime . CompilerServices . CallerLineNumberAttribute ] int lineNumber = 0 ) { throw null ; }
267
276
[ System . Diagnostics . DebuggerStepThroughAttribute ]
268
- public static System . Threading . Tasks . Task < T > TimeoutAfter < T > ( this System . Threading . Tasks . Task < T > task , System . TimeSpan timeout , [ System . Runtime . CompilerServices . CallerFilePathAttribute ] string filePath = null , [ System . Runtime . CompilerServices . CallerLineNumberAttribute ] int lineNumber = 0 ) { throw null ; }
277
+ public static System . Threading . Tasks . Task < T > TimeoutAfter < T > ( this System . Threading . Tasks . Task < T > task , System . TimeSpan timeout , [ System . Runtime . CompilerServices . CallerFilePathAttribute ] string filePath = null , [ System . Runtime . CompilerServices . CallerLineNumberAttribute ] int lineNumber = 0 ) { throw null ; }
269
278
}
270
279
public sealed partial class TestContext
271
280
{
272
281
public TestContext ( System . Type testClass , object [ ] constructorArguments , System . Reflection . MethodInfo testMethod , object [ ] methodArguments , Xunit . Abstractions . ITestOutputHelper output ) { }
273
- public object [ ] ConstructorArguments { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
282
+ public object [ ] ConstructorArguments { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
274
283
public Microsoft . AspNetCore . Testing . TestFileOutputContext FileOutput { get { throw null ; } }
275
- public object [ ] MethodArguments { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
276
- public Xunit . Abstractions . ITestOutputHelper Output { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
277
- public System . Type TestClass { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
278
- public System . Reflection . MethodInfo TestMethod { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
284
+ public object [ ] MethodArguments { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
285
+ public Xunit . Abstractions . ITestOutputHelper Output { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
286
+ public System . Type TestClass { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
287
+ public System . Reflection . MethodInfo TestMethod { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
279
288
}
280
289
public sealed partial class TestFileOutputContext
281
290
{
282
291
public TestFileOutputContext ( Microsoft . AspNetCore . Testing . TestContext parent ) { }
283
- public string AssemblyOutputDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
284
- public string TestClassName { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
285
- public string TestClassOutputDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
286
- public string TestName { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
292
+ public string AssemblyOutputDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
293
+ public string TestClassName { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
294
+ public string TestClassOutputDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
295
+ public string TestName { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
287
296
public static string GetAssemblyBaseDirectory ( System . Reflection . Assembly assembly , string baseDirectory = null ) { throw null ; }
288
297
public static string GetOutputDirectory ( System . Reflection . Assembly assembly ) { throw null ; }
298
+ public static bool GetPreserveExistingLogsInOutput ( System . Reflection . Assembly assembly ) { throw null ; }
289
299
public static string GetTestClassName ( System . Type type ) { throw null ; }
290
300
public static string GetTestMethodName ( System . Reflection . MethodInfo method , object [ ] arguments ) { throw null ; }
291
301
public string GetUniqueFileName ( string prefix , string extension ) { throw null ; }
@@ -298,11 +308,12 @@ public static partial class TestMethodExtensions
298
308
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly , AllowMultiple = false , Inherited = true ) ]
299
309
public partial class TestOutputDirectoryAttribute : System . Attribute
300
310
{
301
- public TestOutputDirectoryAttribute ( string targetFramework , string baseDirectory = null ) { }
302
- public string BaseDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
303
- public string TargetFramework { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
311
+ public TestOutputDirectoryAttribute ( string preserveExistingLogsInOutput , string targetFramework , string baseDirectory = null ) { }
312
+ public string BaseDirectory { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
313
+ public bool PreserveExistingLogsInOutput { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
314
+ public string TargetFramework { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
304
315
}
305
- [ System . ObsoleteAttribute ( "This API is obsolete and the pattern its usage encouraged should not be used anymore. See https://github.com/aspnet/Extensions /issues/1697 for details." ) ]
316
+ [ System . ObsoleteAttribute ( "This API is obsolete and the pattern its usage encouraged should not be used anymore. See https://github.com/dotnet/extensions /issues/1697 for details." ) ]
306
317
public partial class TestPathUtilities
307
318
{
308
319
public TestPathUtilities ( ) { }
@@ -319,9 +330,12 @@ public static partial class TestPlatformHelper
319
330
public static partial class WindowsVersions
320
331
{
321
332
public const string Win10 = "10.0" ;
333
+ public const string Win10_19H1 = "10.0.18362" ;
322
334
public const string Win10_19H2 = "10.0.18363" ;
323
- public const string Win10_20H1 = "10.0.18990 " ;
335
+ public const string Win10_20H1 = "10.0.19033 " ;
324
336
public const string Win10_RS4 = "10.0.17134" ;
337
+ public const string Win10_RS5 = "10.0.17763" ;
338
+ [ System . ObsoleteAttribute ( "Use Win7 instead." , true ) ]
325
339
public const string Win2008R2 = "6.1" ;
326
340
public const string Win7 = "6.1" ;
327
341
public const string Win8 = "6.2" ;
0 commit comments