File: Framework\TestExtensions.cs | Web Access |
Project: ..\..\..\test\dotnet-MsiInstallation.Tests\dotnet-MsiInstallation.Tests.csproj (dotnet-MsiInstallation.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable namespace Microsoft.DotNet.MsiInstallerTests.Framework { public static class TestExtensions { public static AndConstraint<CommandResultAssertions> PassWithoutWarning(this CommandResultAssertions assertions) { return assertions.Pass() .And.NotHaveStdOutContaining("Warning: ") .And.NotHaveStdErrContaining("Warning: "); } } } |