Regen ref assemblies

\n\nCommit migrated from b6e88cca0d
This commit is contained in:
John Luo 2020-01-22 19:41:29 -08:00
parent 364f380112
commit 100ddd7bfb
2 changed files with 92 additions and 64 deletions

View File

@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Testing
public partial class AssemblyFixtureAttribute : System.Attribute public partial class AssemblyFixtureAttribute : System.Attribute
{ {
public AssemblyFixtureAttribute(System.Type fixtureType) { } public AssemblyFixtureAttribute(System.Type fixtureType) { }
public System.Type FixtureType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Type FixtureType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)] [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)]
[Xunit.Sdk.XunitTestCaseDiscovererAttribute("Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer", "Microsoft.AspNetCore.Testing")] [Xunit.Sdk.XunitTestCaseDiscovererAttribute("Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer", "Microsoft.AspNetCore.Testing")]
@ -62,14 +62,14 @@ namespace Microsoft.AspNetCore.Testing
{ {
public DockerOnlyAttribute() { } public DockerOnlyAttribute() { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class EnvironmentVariableSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class EnvironmentVariableSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public EnvironmentVariableSkipConditionAttribute(string variableName, params string[] values) { } public EnvironmentVariableSkipConditionAttribute(string variableName, params string[] values) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public bool RunOnMatch { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public bool RunOnMatch { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
} }
public static partial class ExceptionAssert public static partial class ExceptionAssert
@ -93,8 +93,8 @@ namespace Microsoft.AspNetCore.Testing
public sealed partial class FlakyAttribute : System.Attribute, Xunit.Sdk.ITraitAttribute public sealed partial class FlakyAttribute : System.Attribute, Xunit.Sdk.ITraitAttribute
{ {
public FlakyAttribute(string gitHubIssueUrl, string firstFilter, params string[] additionalFilters) { } public FlakyAttribute(string gitHubIssueUrl, string firstFilter, params string[] additionalFilters) { }
public System.Collections.Generic.IReadOnlyList<string> Filters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Collections.Generic.IReadOnlyList<string> Filters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string GitHubIssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string GitHubIssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public static partial class FlakyOn public static partial class FlakyOn
{ {
@ -131,7 +131,7 @@ namespace Microsoft.AspNetCore.Testing
{ {
public FrameworkSkipConditionAttribute(Microsoft.AspNetCore.Testing.RuntimeFrameworks excludedFrameworks) { } public FrameworkSkipConditionAttribute(Microsoft.AspNetCore.Testing.RuntimeFrameworks excludedFrameworks) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
public static partial class HelixQueues public static partial class HelixQueues
{ {
@ -170,11 +170,18 @@ namespace Microsoft.AspNetCore.Testing
System.Threading.Tasks.Task OnTestStartAsync(Microsoft.AspNetCore.Testing.TestContext context, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task OnTestStartAsync(Microsoft.AspNetCore.Testing.TestContext context, System.Threading.CancellationToken cancellationToken);
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class MaximumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{
public MaximumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string maxVersion) { }
public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class MinimumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class MinimumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public MinimumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string minVersion) { } public MinimumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string minVersion) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
[System.FlagsAttribute] [System.FlagsAttribute]
public enum OperatingSystems public enum OperatingSystems
@ -186,31 +193,33 @@ namespace Microsoft.AspNetCore.Testing
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class OSSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class OSSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem) { }
[System.ObsoleteAttribute("Use the Minimum/MaximumOSVersionAttribute for version checks.", true)]
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, params string[] versions) { } public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, params string[] versions) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public partial class RepeatAttribute : System.Attribute public partial class RepeatAttribute : System.Attribute
{ {
public RepeatAttribute(int runCount = 10) { } public RepeatAttribute(int runCount = 10) { }
public int RunCount { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public int RunCount { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public partial class RepeatContext public partial class RepeatContext
{ {
public RepeatContext(int limit) { } public RepeatContext(int limit) { }
public static Microsoft.AspNetCore.Testing.RepeatContext Current { get { throw null; } } public static Microsoft.AspNetCore.Testing.RepeatContext Current { get { throw null; } }
public int CurrentIteration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public int CurrentIteration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public int Limit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public int Limit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Method)] [System.AttributeUsageAttribute(System.AttributeTargets.Method)]
public partial class ReplaceCultureAttribute : Xunit.Sdk.BeforeAfterTestAttribute public partial class ReplaceCultureAttribute : Xunit.Sdk.BeforeAfterTestAttribute
{ {
public ReplaceCultureAttribute() { } public ReplaceCultureAttribute() { }
public ReplaceCultureAttribute(string currentCulture, string currentUICulture) { } public ReplaceCultureAttribute(string currentCulture, string currentUICulture) { }
public System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Globalization.CultureInfo UICulture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Globalization.CultureInfo UICulture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public override void After(System.Reflection.MethodInfo methodUnderTest) { } public override void After(System.Reflection.MethodInfo methodUnderTest) { }
public override void Before(System.Reflection.MethodInfo methodUnderTest) { } public override void Before(System.Reflection.MethodInfo methodUnderTest) { }
} }
@ -232,7 +241,7 @@ namespace Microsoft.AspNetCore.Testing
{ {
public SkipOnCIAttribute(string issueUrl = "") { } public SkipOnCIAttribute(string issueUrl = "") { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
public static string GetIfOnAzdo() { throw null; } public static string GetIfOnAzdo() { throw null; }
public static string GetTargetHelixQueue() { throw null; } public static string GetTargetHelixQueue() { throw null; }
@ -245,8 +254,8 @@ namespace Microsoft.AspNetCore.Testing
{ {
public SkipOnHelixAttribute(string issueUrl) { } public SkipOnHelixAttribute(string issueUrl) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string Queues { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string Queues { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
public static string GetTargetHelixQueue() { throw null; } public static string GetTargetHelixQueue() { throw null; }
public static bool OnHelix() { throw null; } public static bool OnHelix() { throw null; }
@ -263,29 +272,30 @@ namespace Microsoft.AspNetCore.Testing
public static partial class TaskExtensions public static partial class TaskExtensions
{ {
[System.Diagnostics.DebuggerStepThroughAttribute] [System.Diagnostics.DebuggerStepThroughAttribute]
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; } 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; }
[System.Diagnostics.DebuggerStepThroughAttribute] [System.Diagnostics.DebuggerStepThroughAttribute]
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; } 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; }
} }
public sealed partial class TestContext public sealed partial class TestContext
{ {
public TestContext(System.Type testClass, object[] constructorArguments, System.Reflection.MethodInfo testMethod, object[] methodArguments, Xunit.Abstractions.ITestOutputHelper output) { } public TestContext(System.Type testClass, object[] constructorArguments, System.Reflection.MethodInfo testMethod, object[] methodArguments, Xunit.Abstractions.ITestOutputHelper output) { }
public object[] ConstructorArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public object[] ConstructorArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public Microsoft.AspNetCore.Testing.TestFileOutputContext FileOutput { get { throw null; } } public Microsoft.AspNetCore.Testing.TestFileOutputContext FileOutput { get { throw null; } }
public object[] MethodArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public object[] MethodArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public Xunit.Abstractions.ITestOutputHelper Output { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public Xunit.Abstractions.ITestOutputHelper Output { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Type TestClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Type TestClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Reflection.MethodInfo TestMethod { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Reflection.MethodInfo TestMethod { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public sealed partial class TestFileOutputContext public sealed partial class TestFileOutputContext
{ {
public TestFileOutputContext(Microsoft.AspNetCore.Testing.TestContext parent) { } public TestFileOutputContext(Microsoft.AspNetCore.Testing.TestContext parent) { }
public string AssemblyOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string AssemblyOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestClassName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestClassName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestClassOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestClassOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public static string GetAssemblyBaseDirectory(System.Reflection.Assembly assembly, string baseDirectory = null) { throw null; } public static string GetAssemblyBaseDirectory(System.Reflection.Assembly assembly, string baseDirectory = null) { throw null; }
public static string GetOutputDirectory(System.Reflection.Assembly assembly) { throw null; } public static string GetOutputDirectory(System.Reflection.Assembly assembly) { throw null; }
public static bool GetPreserveExistingLogsInOutput(System.Reflection.Assembly assembly) { throw null; }
public static string GetTestClassName(System.Type type) { throw null; } public static string GetTestClassName(System.Type type) { throw null; }
public static string GetTestMethodName(System.Reflection.MethodInfo method, object[] arguments) { throw null; } public static string GetTestMethodName(System.Reflection.MethodInfo method, object[] arguments) { throw null; }
public string GetUniqueFileName(string prefix, string extension) { throw null; } public string GetUniqueFileName(string prefix, string extension) { throw null; }
@ -298,11 +308,12 @@ namespace Microsoft.AspNetCore.Testing
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)]
public partial class TestOutputDirectoryAttribute : System.Attribute public partial class TestOutputDirectoryAttribute : System.Attribute
{ {
public TestOutputDirectoryAttribute(string targetFramework, string baseDirectory = null) { } public TestOutputDirectoryAttribute(string preserveExistingLogsInOutput, string targetFramework, string baseDirectory = null) { }
public string BaseDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string BaseDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TargetFramework { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public bool PreserveExistingLogsInOutput { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TargetFramework { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[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.")] [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.")]
public partial class TestPathUtilities public partial class TestPathUtilities
{ {
public TestPathUtilities() { } public TestPathUtilities() { }
@ -319,9 +330,12 @@ namespace Microsoft.AspNetCore.Testing
public static partial class WindowsVersions public static partial class WindowsVersions
{ {
public const string Win10 = "10.0"; public const string Win10 = "10.0";
public const string Win10_19H1 = "10.0.18362";
public const string Win10_19H2 = "10.0.18363"; public const string Win10_19H2 = "10.0.18363";
public const string Win10_20H1 = "10.0.18990"; public const string Win10_20H1 = "10.0.19033";
public const string Win10_RS4 = "10.0.17134"; public const string Win10_RS4 = "10.0.17134";
public const string Win10_RS5 = "10.0.17763";
[System.ObsoleteAttribute("Use Win7 instead.", true)]
public const string Win2008R2 = "6.1"; public const string Win2008R2 = "6.1";
public const string Win7 = "6.1"; public const string Win7 = "6.1";
public const string Win8 = "6.2"; public const string Win8 = "6.2";

View File

@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Testing
public partial class AssemblyFixtureAttribute : System.Attribute public partial class AssemblyFixtureAttribute : System.Attribute
{ {
public AssemblyFixtureAttribute(System.Type fixtureType) { } public AssemblyFixtureAttribute(System.Type fixtureType) { }
public System.Type FixtureType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Type FixtureType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)] [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)]
[Xunit.Sdk.XunitTestCaseDiscovererAttribute("Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer", "Microsoft.AspNetCore.Testing")] [Xunit.Sdk.XunitTestCaseDiscovererAttribute("Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer", "Microsoft.AspNetCore.Testing")]
@ -62,14 +62,14 @@ namespace Microsoft.AspNetCore.Testing
{ {
public DockerOnlyAttribute() { } public DockerOnlyAttribute() { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class EnvironmentVariableSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class EnvironmentVariableSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public EnvironmentVariableSkipConditionAttribute(string variableName, params string[] values) { } public EnvironmentVariableSkipConditionAttribute(string variableName, params string[] values) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public bool RunOnMatch { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public bool RunOnMatch { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
} }
public static partial class ExceptionAssert public static partial class ExceptionAssert
@ -93,8 +93,8 @@ namespace Microsoft.AspNetCore.Testing
public sealed partial class FlakyAttribute : System.Attribute, Xunit.Sdk.ITraitAttribute public sealed partial class FlakyAttribute : System.Attribute, Xunit.Sdk.ITraitAttribute
{ {
public FlakyAttribute(string gitHubIssueUrl, string firstFilter, params string[] additionalFilters) { } public FlakyAttribute(string gitHubIssueUrl, string firstFilter, params string[] additionalFilters) { }
public System.Collections.Generic.IReadOnlyList<string> Filters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Collections.Generic.IReadOnlyList<string> Filters { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string GitHubIssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string GitHubIssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public static partial class FlakyOn public static partial class FlakyOn
{ {
@ -131,7 +131,7 @@ namespace Microsoft.AspNetCore.Testing
{ {
public FrameworkSkipConditionAttribute(Microsoft.AspNetCore.Testing.RuntimeFrameworks excludedFrameworks) { } public FrameworkSkipConditionAttribute(Microsoft.AspNetCore.Testing.RuntimeFrameworks excludedFrameworks) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
public static partial class HelixQueues public static partial class HelixQueues
{ {
@ -170,11 +170,18 @@ namespace Microsoft.AspNetCore.Testing
System.Threading.Tasks.Task OnTestStartAsync(Microsoft.AspNetCore.Testing.TestContext context, System.Threading.CancellationToken cancellationToken); System.Threading.Tasks.Task OnTestStartAsync(Microsoft.AspNetCore.Testing.TestContext context, System.Threading.CancellationToken cancellationToken);
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class MaximumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{
public MaximumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string maxVersion) { }
public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class MinimumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class MinimumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public MinimumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string minVersion) { } public MinimumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string minVersion) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
[System.FlagsAttribute] [System.FlagsAttribute]
public enum OperatingSystems public enum OperatingSystems
@ -186,31 +193,33 @@ namespace Microsoft.AspNetCore.Testing
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public partial class OSSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition public partial class OSSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
{ {
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem) { }
[System.ObsoleteAttribute("Use the Minimum/MaximumOSVersionAttribute for version checks.", true)]
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, params string[] versions) { } public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, params string[] versions) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string SkipReason { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public partial class RepeatAttribute : System.Attribute public partial class RepeatAttribute : System.Attribute
{ {
public RepeatAttribute(int runCount = 10) { } public RepeatAttribute(int runCount = 10) { }
public int RunCount { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public int RunCount { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public partial class RepeatContext public partial class RepeatContext
{ {
public RepeatContext(int limit) { } public RepeatContext(int limit) { }
public static Microsoft.AspNetCore.Testing.RepeatContext Current { get { throw null; } } public static Microsoft.AspNetCore.Testing.RepeatContext Current { get { throw null; } }
public int CurrentIteration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public int CurrentIteration { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public int Limit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public int Limit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[System.AttributeUsageAttribute(System.AttributeTargets.Method)] [System.AttributeUsageAttribute(System.AttributeTargets.Method)]
public partial class ReplaceCultureAttribute : Xunit.Sdk.BeforeAfterTestAttribute public partial class ReplaceCultureAttribute : Xunit.Sdk.BeforeAfterTestAttribute
{ {
public ReplaceCultureAttribute() { } public ReplaceCultureAttribute() { }
public ReplaceCultureAttribute(string currentCulture, string currentUICulture) { } public ReplaceCultureAttribute(string currentCulture, string currentUICulture) { }
public System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Globalization.CultureInfo Culture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Globalization.CultureInfo UICulture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Globalization.CultureInfo UICulture { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public override void After(System.Reflection.MethodInfo methodUnderTest) { } public override void After(System.Reflection.MethodInfo methodUnderTest) { }
public override void Before(System.Reflection.MethodInfo methodUnderTest) { } public override void Before(System.Reflection.MethodInfo methodUnderTest) { }
} }
@ -232,7 +241,7 @@ namespace Microsoft.AspNetCore.Testing
{ {
public SkipOnCIAttribute(string issueUrl = "") { } public SkipOnCIAttribute(string issueUrl = "") { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
public static string GetIfOnAzdo() { throw null; } public static string GetIfOnAzdo() { throw null; }
public static string GetTargetHelixQueue() { throw null; } public static string GetTargetHelixQueue() { throw null; }
@ -245,8 +254,8 @@ namespace Microsoft.AspNetCore.Testing
{ {
public SkipOnHelixAttribute(string issueUrl) { } public SkipOnHelixAttribute(string issueUrl) { }
public bool IsMet { get { throw null; } } public bool IsMet { get { throw null; } }
public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string IssueUrl { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string Queues { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } public string Queues { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
public string SkipReason { get { throw null; } } public string SkipReason { get { throw null; } }
public static string GetTargetHelixQueue() { throw null; } public static string GetTargetHelixQueue() { throw null; }
public static bool OnHelix() { throw null; } public static bool OnHelix() { throw null; }
@ -263,29 +272,30 @@ namespace Microsoft.AspNetCore.Testing
public static partial class TaskExtensions public static partial class TaskExtensions
{ {
[System.Diagnostics.DebuggerStepThroughAttribute] [System.Diagnostics.DebuggerStepThroughAttribute]
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; } 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; }
[System.Diagnostics.DebuggerStepThroughAttribute] [System.Diagnostics.DebuggerStepThroughAttribute]
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; } 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; }
} }
public sealed partial class TestContext public sealed partial class TestContext
{ {
public TestContext(System.Type testClass, object[] constructorArguments, System.Reflection.MethodInfo testMethod, object[] methodArguments, Xunit.Abstractions.ITestOutputHelper output) { } public TestContext(System.Type testClass, object[] constructorArguments, System.Reflection.MethodInfo testMethod, object[] methodArguments, Xunit.Abstractions.ITestOutputHelper output) { }
public object[] ConstructorArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public object[] ConstructorArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public Microsoft.AspNetCore.Testing.TestFileOutputContext FileOutput { get { throw null; } } public Microsoft.AspNetCore.Testing.TestFileOutputContext FileOutput { get { throw null; } }
public object[] MethodArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public object[] MethodArguments { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public Xunit.Abstractions.ITestOutputHelper Output { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public Xunit.Abstractions.ITestOutputHelper Output { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Type TestClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Type TestClass { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public System.Reflection.MethodInfo TestMethod { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Reflection.MethodInfo TestMethod { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
public sealed partial class TestFileOutputContext public sealed partial class TestFileOutputContext
{ {
public TestFileOutputContext(Microsoft.AspNetCore.Testing.TestContext parent) { } public TestFileOutputContext(Microsoft.AspNetCore.Testing.TestContext parent) { }
public string AssemblyOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string AssemblyOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestClassName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestClassName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestClassOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestClassOutputDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TestName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string TestName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public static string GetAssemblyBaseDirectory(System.Reflection.Assembly assembly, string baseDirectory = null) { throw null; } public static string GetAssemblyBaseDirectory(System.Reflection.Assembly assembly, string baseDirectory = null) { throw null; }
public static string GetOutputDirectory(System.Reflection.Assembly assembly) { throw null; } public static string GetOutputDirectory(System.Reflection.Assembly assembly) { throw null; }
public static bool GetPreserveExistingLogsInOutput(System.Reflection.Assembly assembly) { throw null; }
public static string GetTestClassName(System.Type type) { throw null; } public static string GetTestClassName(System.Type type) { throw null; }
public static string GetTestMethodName(System.Reflection.MethodInfo method, object[] arguments) { throw null; } public static string GetTestMethodName(System.Reflection.MethodInfo method, object[] arguments) { throw null; }
public string GetUniqueFileName(string prefix, string extension) { throw null; } public string GetUniqueFileName(string prefix, string extension) { throw null; }
@ -298,11 +308,12 @@ namespace Microsoft.AspNetCore.Testing
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)]
public partial class TestOutputDirectoryAttribute : System.Attribute public partial class TestOutputDirectoryAttribute : System.Attribute
{ {
public TestOutputDirectoryAttribute(string targetFramework, string baseDirectory = null) { } public TestOutputDirectoryAttribute(string preserveExistingLogsInOutput, string targetFramework, string baseDirectory = null) { }
public string BaseDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public string BaseDirectory { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TargetFramework { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public bool PreserveExistingLogsInOutput { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
public string TargetFramework { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
} }
[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.")] [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.")]
public partial class TestPathUtilities public partial class TestPathUtilities
{ {
public TestPathUtilities() { } public TestPathUtilities() { }
@ -319,9 +330,12 @@ namespace Microsoft.AspNetCore.Testing
public static partial class WindowsVersions public static partial class WindowsVersions
{ {
public const string Win10 = "10.0"; public const string Win10 = "10.0";
public const string Win10_19H1 = "10.0.18362";
public const string Win10_19H2 = "10.0.18363"; public const string Win10_19H2 = "10.0.18363";
public const string Win10_20H1 = "10.0.18990"; public const string Win10_20H1 = "10.0.19033";
public const string Win10_RS4 = "10.0.17134"; public const string Win10_RS4 = "10.0.17134";
public const string Win10_RS5 = "10.0.17763";
[System.ObsoleteAttribute("Use Win7 instead.", true)]
public const string Win2008R2 = "6.1"; public const string Win2008R2 = "6.1";
public const string Win7 = "6.1"; public const string Win7 = "6.1";
public const string Win8 = "6.2"; public const string Win8 = "6.2";