Skip to content

Commit 100ddd7

Browse files
author
John Luo
committed
Regen ref assemblies
\n\nCommit migrated from dotnet/extensions@b6e88cc
1 parent 364f380 commit 100ddd7

File tree

2 files changed

+92
-64
lines changed

2 files changed

+92
-64
lines changed

src/Testing/ref/Microsoft.AspNetCore.Testing.net46.cs

Lines changed: 46 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected override void RunTestCases(System.Collections.Generic.IEnumerable<Xuni
3434
public partial class AssemblyFixtureAttribute : System.Attribute
3535
{
3636
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; } }
3838
}
3939
[System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false)]
4040
[Xunit.Sdk.XunitTestCaseDiscovererAttribute("Microsoft.AspNetCore.Testing.ConditionalFactDiscoverer", "Microsoft.AspNetCore.Testing")]
@@ -62,14 +62,14 @@ public sealed partial class DockerOnlyAttribute : System.Attribute, Microsoft.As
6262
{
6363
public DockerOnlyAttribute() { }
6464
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; } }
6666
}
6767
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
6868
public partial class EnvironmentVariableSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
6969
{
7070
public EnvironmentVariableSkipConditionAttribute(string variableName, params string[] values) { }
7171
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 { } }
7373
public string SkipReason { get { throw null; } }
7474
}
7575
public static partial class ExceptionAssert
@@ -93,8 +93,8 @@ public static partial class ExceptionAssert
9393
public sealed partial class FlakyAttribute : System.Attribute, Xunit.Sdk.ITraitAttribute
9494
{
9595
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; } }
9898
}
9999
public static partial class FlakyOn
100100
{
@@ -131,7 +131,7 @@ public partial class FrameworkSkipConditionAttribute : System.Attribute, Microso
131131
{
132132
public FrameworkSkipConditionAttribute(Microsoft.AspNetCore.Testing.RuntimeFrameworks excludedFrameworks) { }
133133
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 { } }
135135
}
136136
public static partial class HelixQueues
137137
{
@@ -170,11 +170,18 @@ public partial interface ITestMethodLifecycle
170170
System.Threading.Tasks.Task OnTestStartAsync(Microsoft.AspNetCore.Testing.TestContext context, System.Threading.CancellationToken cancellationToken);
171171
}
172172
[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)]
173180
public partial class MinimumOSVersionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
174181
{
175182
public MinimumOSVersionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, string minVersion) { }
176183
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 { } }
178185
}
179186
[System.FlagsAttribute]
180187
public enum OperatingSystems
@@ -186,31 +193,33 @@ public enum OperatingSystems
186193
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
187194
public partial class OSSkipConditionAttribute : System.Attribute, Microsoft.AspNetCore.Testing.ITestCondition
188195
{
196+
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem) { }
197+
[System.ObsoleteAttribute("Use the Minimum/MaximumOSVersionAttribute for version checks.", true)]
189198
public OSSkipConditionAttribute(Microsoft.AspNetCore.Testing.OperatingSystems operatingSystem, params string[] versions) { }
190199
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 { } }
192201
}
193202
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false)]
194203
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
195204
public partial class RepeatAttribute : System.Attribute
196205
{
197206
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; } }
199208
}
200209
public partial class RepeatContext
201210
{
202211
public RepeatContext(int limit) { }
203212
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; } }
206215
}
207216
[System.AttributeUsageAttribute(System.AttributeTargets.Method)]
208217
public partial class ReplaceCultureAttribute : Xunit.Sdk.BeforeAfterTestAttribute
209218
{
210219
public ReplaceCultureAttribute() { }
211220
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; } }
214223
public override void After(System.Reflection.MethodInfo methodUnderTest) { }
215224
public override void Before(System.Reflection.MethodInfo methodUnderTest) { }
216225
}
@@ -232,7 +241,7 @@ public partial class SkipOnCIAttribute : System.Attribute, Microsoft.AspNetCore.
232241
{
233242
public SkipOnCIAttribute(string issueUrl = "") { }
234243
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; } }
236245
public string SkipReason { get { throw null; } }
237246
public static string GetIfOnAzdo() { throw null; }
238247
public static string GetTargetHelixQueue() { throw null; }
@@ -245,8 +254,8 @@ public partial class SkipOnHelixAttribute : System.Attribute, Microsoft.AspNetCo
245254
{
246255
public SkipOnHelixAttribute(string issueUrl) { }
247256
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 { } }
250259
public string SkipReason { get { throw null; } }
251260
public static string GetTargetHelixQueue() { throw null; }
252261
public static bool OnHelix() { throw null; }
@@ -263,29 +272,30 @@ public override void Serialize(Xunit.Abstractions.IXunitSerializationInfo data)
263272
public static partial class TaskExtensions
264273
{
265274
[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; }
267276
[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; }
269278
}
270279
public sealed partial class TestContext
271280
{
272281
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; } }
274283
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; } }
279288
}
280289
public sealed partial class TestFileOutputContext
281290
{
282291
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; } }
287296
public static string GetAssemblyBaseDirectory(System.Reflection.Assembly assembly, string baseDirectory = null) { throw null; }
288297
public static string GetOutputDirectory(System.Reflection.Assembly assembly) { throw null; }
298+
public static bool GetPreserveExistingLogsInOutput(System.Reflection.Assembly assembly) { throw null; }
289299
public static string GetTestClassName(System.Type type) { throw null; }
290300
public static string GetTestMethodName(System.Reflection.MethodInfo method, object[] arguments) { throw null; }
291301
public string GetUniqueFileName(string prefix, string extension) { throw null; }
@@ -298,11 +308,12 @@ public static partial class TestMethodExtensions
298308
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=true)]
299309
public partial class TestOutputDirectoryAttribute : System.Attribute
300310
{
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; } }
304315
}
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.")]
306317
public partial class TestPathUtilities
307318
{
308319
public TestPathUtilities() { }
@@ -319,9 +330,12 @@ public static partial class TestPlatformHelper
319330
public static partial class WindowsVersions
320331
{
321332
public const string Win10 = "10.0";
333+
public const string Win10_19H1 = "10.0.18362";
322334
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";
324336
public const string Win10_RS4 = "10.0.17134";
337+
public const string Win10_RS5 = "10.0.17763";
338+
[System.ObsoleteAttribute("Use Win7 instead.", true)]
325339
public const string Win2008R2 = "6.1";
326340
public const string Win7 = "6.1";
327341
public const string Win8 = "6.2";

0 commit comments

Comments
 (0)