Skip to content

Commit

Permalink
[create-pull-request] automated change (dotnet#19413)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Dec 14, 2023
1 parent 6ef3167 commit a19fbb7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public async Task DependentLayoutBindingsResolve()

// Because of this binding, the the layout will need two passes.
button.SetBinding(VisualElement.WidthRequestProperty, new Binding(nameof(View.Width), mode: BindingMode.Default, source: grid));

await AttachAndRun(outerGrid, async (handler) =>
{
// The layout needs to occur while the views are attached to the Window, otherwise they won't be able to schedule
Expand Down
2 changes: 1 addition & 1 deletion src/TestUtils/src/DeviceTests/AssertionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public static async Task AssertEventually(this Func<bool> assertion, int timeout
await Task.Delay(interval);
timeout -= interval;

}
}
while (timeout >= 0);

if (!assertion())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void PublishNativeAOT(string id, string framework, string runtimeIdentifi

var extendedBuildProps = BuildProps;
extendedBuildProps.Add("PublishAot=true");
extendedBuildProps.Add("PublishAotUsingRuntimePack=true"); // TODO: This parameter will become obsolete https://github.com/dotnet/runtime/issues/87060
extendedBuildProps.Add("PublishAotUsingRuntimePack=true"); // TODO: This parameter will become obsolete https://github.com/dotnet/runtime/issues/87060

Assert.IsTrue(DotnetInternal.Publish(projectFile, "Release", framework: framework, properties: extendedBuildProps, runtimeIdentifier: runtimeIdentifier),
$"Project {Path.GetFileName(projectFile)} failed to build. Check test output/attachments for errors.");
Expand All @@ -149,13 +149,13 @@ public void PublishNativeAOTCheckWarnings(string id, string framework, string ru

var extendedBuildProps = BuildProps;
extendedBuildProps.Add("PublishAot=true");
extendedBuildProps.Add("PublishAotUsingRuntimePack=true"); // TODO: This parameter will become obsolete https://github.com/dotnet/runtime/issues/87060
extendedBuildProps.Add("PublishAotUsingRuntimePack=true"); // TODO: This parameter will become obsolete https://github.com/dotnet/runtime/issues/87060
extendedBuildProps.Add("TrimmerSingleWarn=false");

string binLogFilePath = $"publish-{DateTime.UtcNow.ToFileTimeUtc()}.binlog";
Assert.IsTrue(DotnetInternal.Publish(projectFile, "Release", framework: framework, properties: extendedBuildProps, runtimeIdentifier: runtimeIdentifier, binlogPath: binLogFilePath),
$"Project {Path.GetFileName(projectFile)} failed to build. Check test output/attachments for errors.");

var expectedWarnings = BuildWarningsUtilities.ExpectedNativeAOTWarnings;
var actualWarnings = BuildWarningsUtilities.ReadNativeAOTWarningsFromBinLog(binLogFilePath);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.Build.Framework;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging.StructuredLogger;
using System.Linq;
using static Microsoft.Maui.IntegrationTests.TemplateTests;

namespace Microsoft.Maui.IntegrationTests
Expand Down

0 comments on commit a19fbb7

Please sign in to comment.