3
3
4
4
namespace Microsoft . AspNetCore . Testing
5
5
{
6
+ public partial class AspNetTestAssemblyRunner : Xunit . Sdk . XunitTestAssemblyRunner
7
+ {
8
+ public AspNetTestAssemblyRunner ( Xunit . Abstractions . ITestAssembly testAssembly , System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > testCases , Xunit . Abstractions . IMessageSink diagnosticMessageSink , Xunit . Abstractions . IMessageSink executionMessageSink , Xunit . Abstractions . ITestFrameworkExecutionOptions executionOptions ) : base ( default ( Xunit . Abstractions . ITestAssembly ) , default ( System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > ) , default ( Xunit . Abstractions . IMessageSink ) , default ( Xunit . Abstractions . IMessageSink ) , default ( Xunit . Abstractions . ITestFrameworkExecutionOptions ) ) { }
9
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
10
+ protected override System . Threading . Tasks . Task AfterTestAssemblyStartingAsync ( ) { throw null ; }
11
+ protected override System . Threading . Tasks . Task BeforeTestAssemblyFinishedAsync ( ) { throw null ; }
12
+ protected override System . Threading . Tasks . Task < Xunit . Sdk . RunSummary > RunTestCollectionAsync ( Xunit . Sdk . IMessageBus messageBus , Xunit . Abstractions . ITestCollection testCollection , System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > testCases , System . Threading . CancellationTokenSource cancellationTokenSource ) { throw null ; }
13
+ }
14
+ public partial class AspNetTestCollectionRunner : Xunit . Sdk . XunitTestCollectionRunner
15
+ {
16
+ public AspNetTestCollectionRunner ( System . Collections . Generic . Dictionary < System . Type , object > assemblyFixtureMappings , Xunit . Abstractions . ITestCollection testCollection , System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > testCases , Xunit . Abstractions . IMessageSink diagnosticMessageSink , Xunit . Sdk . IMessageBus messageBus , Xunit . Sdk . ITestCaseOrderer testCaseOrderer , Xunit . Sdk . ExceptionAggregator aggregator , System . Threading . CancellationTokenSource cancellationTokenSource ) : base ( default ( Xunit . Abstractions . ITestCollection ) , default ( System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > ) , default ( Xunit . Abstractions . IMessageSink ) , default ( Xunit . Sdk . IMessageBus ) , default ( Xunit . Sdk . ITestCaseOrderer ) , default ( Xunit . Sdk . ExceptionAggregator ) , default ( System . Threading . CancellationTokenSource ) ) { }
17
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
18
+ protected override System . Threading . Tasks . Task AfterTestCollectionStartingAsync ( ) { throw null ; }
19
+ protected override System . Threading . Tasks . Task BeforeTestCollectionFinishedAsync ( ) { throw null ; }
20
+ protected override System . Threading . Tasks . Task < Xunit . Sdk . RunSummary > RunTestClassAsync ( Xunit . Abstractions . ITestClass testClass , Xunit . Abstractions . IReflectionTypeInfo @class , System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > testCases ) { throw null ; }
21
+ }
22
+ public partial class AspNetTestFramework : Xunit . Sdk . XunitTestFramework
23
+ {
24
+ public AspNetTestFramework ( Xunit . Abstractions . IMessageSink messageSink ) : base ( default ( Xunit . Abstractions . IMessageSink ) ) { }
25
+ protected override Xunit . Abstractions . ITestFrameworkExecutor CreateExecutor ( System . Reflection . AssemblyName assemblyName ) { throw null ; }
26
+ }
27
+ public partial class AspNetTestFrameworkExecutor : Xunit . Sdk . XunitTestFrameworkExecutor
28
+ {
29
+ public AspNetTestFrameworkExecutor ( System . Reflection . AssemblyName assemblyName , Xunit . Abstractions . ISourceInformationProvider sourceInformationProvider , Xunit . Abstractions . IMessageSink diagnosticMessageSink ) : base ( default ( System . Reflection . AssemblyName ) , default ( Xunit . Abstractions . ISourceInformationProvider ) , default ( Xunit . Abstractions . IMessageSink ) ) { }
30
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
31
+ protected override void RunTestCases ( System . Collections . Generic . IEnumerable < Xunit . Sdk . IXunitTestCase > testCases , Xunit . Abstractions . IMessageSink executionMessageSink , Xunit . Abstractions . ITestFrameworkExecutionOptions executionOptions ) { }
32
+ }
33
+ [ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly , AllowMultiple = true ) ]
34
+ public partial class AssemblyFixtureAttribute : System . Attribute
35
+ {
36
+ public AssemblyFixtureAttribute ( System . Type fixtureType ) { }
37
+ public System . Type FixtureType { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
38
+ }
6
39
[ System . AttributeUsageAttribute ( System . AttributeTargets . Method , AllowMultiple = false ) ]
7
40
[ Xunit . Sdk . XunitTestCaseDiscovererAttribute ( "Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer" , "Microsoft.AspNetCore.Testing" ) ]
8
41
public partial class ConditionalFactAttribute : Xunit . FactAttribute
@@ -56,7 +89,7 @@ public static partial class ExceptionAssert
56
89
public static TException Throws < TException > ( System . Func < object > testCode , string exceptionMessage ) where TException : System . Exception { throw null ; }
57
90
}
58
91
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method ) ]
59
- [ Xunit . Sdk . TraitDiscovererAttribute ( "Microsoft.AspNetCore.Testing.FlakyTestDiscoverer " , "Microsoft.AspNetCore.Testing" ) ]
92
+ [ Xunit . Sdk . TraitDiscovererAttribute ( "Microsoft.AspNetCore.Testing.FlakyTraitDiscoverer " , "Microsoft.AspNetCore.Testing" ) ]
60
93
public sealed partial class FlakyAttribute : System . Attribute , Xunit . Sdk . ITraitAttribute
61
94
{
62
95
public FlakyAttribute ( string gitHubIssueUrl , string firstFilter , params string [ ] additionalFilters ) { }
@@ -88,9 +121,9 @@ public static partial class Helix
88
121
public const string Windows10Amd64 = "Helix:Queue:Windows.10.Amd64.ClientRS4.VS2017.Open" ;
89
122
}
90
123
}
91
- public partial class FlakyTestDiscoverer : Xunit . Sdk . ITraitDiscoverer
124
+ public partial class FlakyTraitDiscoverer : Xunit . Sdk . ITraitDiscoverer
92
125
{
93
- public FlakyTestDiscoverer ( ) { }
126
+ public FlakyTraitDiscoverer ( ) { }
94
127
public System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < string , string > > GetTraits ( Xunit . Abstractions . IAttributeInfo traitAttribute ) { throw null ; }
95
128
}
96
129
[ System . AttributeUsageAttribute ( System . AttributeTargets . Method , AllowMultiple = false ) ]
@@ -131,6 +164,11 @@ public partial interface ITestCondition
131
164
bool IsMet { get ; }
132
165
string SkipReason { get ; }
133
166
}
167
+ public partial interface ITestMethodLifecycle
168
+ {
169
+ System . Threading . Tasks . Task OnTestEndAsync ( Microsoft . AspNetCore . Testing . TestContext context , System . Exception exception , System . Threading . CancellationToken cancellationToken ) ;
170
+ System . Threading . Tasks . Task OnTestStartAsync ( Microsoft . AspNetCore . Testing . TestContext context , System . Threading . CancellationToken cancellationToken ) ;
171
+ }
134
172
[ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = true ) ]
135
173
public partial class MinimumOSVersionAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
136
174
{
@@ -152,6 +190,20 @@ public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems op
152
190
public bool IsMet { get { throw null ; } }
153
191
public string SkipReason { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
154
192
}
193
+ [ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = false ) ]
194
+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Never ) ]
195
+ public partial class RepeatAttribute : System . Attribute
196
+ {
197
+ public RepeatAttribute ( int runCount = 10 ) { }
198
+ public int RunCount { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
199
+ }
200
+ public partial class RepeatContext
201
+ {
202
+ public RepeatContext ( int limit ) { }
203
+ 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 ; } }
206
+ }
155
207
[ System . AttributeUsageAttribute ( System . AttributeTargets . Method ) ]
156
208
public partial class ReplaceCultureAttribute : Xunit . Sdk . BeforeAfterTestAttribute
157
209
{
@@ -170,6 +222,11 @@ public enum RuntimeFrameworks
170
222
CLR = 2 ,
171
223
CoreCLR = 4 ,
172
224
}
225
+ [ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly | System . AttributeTargets . Class , AllowMultiple = false ) ]
226
+ public partial class ShortClassNameAttribute : System . Attribute
227
+ {
228
+ public ShortClassNameAttribute ( ) { }
229
+ }
173
230
[ System . AttributeUsageAttribute ( System . AttributeTargets . Class | System . AttributeTargets . Method , AllowMultiple = false ) ]
174
231
public partial class SkipOnCIAttribute : System . Attribute , Microsoft . AspNetCore . Testing . ITestCondition
175
232
{
@@ -210,10 +267,41 @@ public static partial class TaskExtensions
210
267
[ System . Diagnostics . DebuggerStepThroughAttribute ]
211
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 ; }
212
269
}
270
+ public sealed partial class TestContext
271
+ {
272
+ 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 ; } }
274
+ 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 ; } }
279
+ }
280
+ public sealed partial class TestFileOutputContext
281
+ {
282
+ 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 ; } }
287
+ public static string GetAssemblyBaseDirectory ( System . Reflection . Assembly assembly , string baseDirectory = null ) { throw null ; }
288
+ public static string GetOutputDirectory ( System . Reflection . Assembly assembly ) { throw null ; }
289
+ public static string GetTestClassName ( System . Type type ) { throw null ; }
290
+ public static string GetTestMethodName ( System . Reflection . MethodInfo method , object [ ] arguments ) { throw null ; }
291
+ public string GetUniqueFileName ( string prefix , string extension ) { throw null ; }
292
+ public static string RemoveIllegalFileChars ( string s ) { throw null ; }
293
+ }
213
294
public static partial class TestMethodExtensions
214
295
{
215
296
public static string EvaluateSkipConditions ( this Xunit . Abstractions . ITestMethod testMethod ) { throw null ; }
216
297
}
298
+ [ System . AttributeUsageAttribute ( System . AttributeTargets . Assembly , AllowMultiple = false , Inherited = true ) ]
299
+ public partial class TestOutputDirectoryAttribute : System . Attribute
300
+ {
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 ; } }
304
+ }
217
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." ) ]
218
306
public partial class TestPathUtilities
219
307
{
@@ -231,6 +319,9 @@ public static partial class TestPlatformHelper
231
319
public static partial class WindowsVersions
232
320
{
233
321
public const string Win10 = "10.0" ;
322
+ public const string Win10_19H2 = "10.0.18363" ;
323
+ public const string Win10_20H1 = "10.0.18990" ;
324
+ public const string Win10_RS4 = "10.0.17134" ;
234
325
public const string Win2008R2 = "6.1" ;
235
326
public const string Win7 = "6.1" ;
236
327
public const string Win8 = "6.2" ;
0 commit comments