Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServices.FunctionalTests/CommandResult.cs')
-rw-r--r--src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServices.FunctionalTests/CommandResult.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServices.FunctionalTests/CommandResult.cs b/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServices.FunctionalTests/CommandResult.cs
deleted file mode 100644
index bae995afe1..0000000000
--- a/src/AzureIntegration/test/Microsoft.AspNetCore.AzureAppServices.FunctionalTests/CommandResult.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Diagnostics;
-using Xunit;
-
-namespace Microsoft.AspNetCore.AzureAppServices.FunctionalTests
-{
- public struct CommandResult
- {
- public static readonly CommandResult Empty = new CommandResult();
-
- public ProcessStartInfo StartInfo { get; }
- public int ExitCode { get; }
- public string StdOut { get; }
- public string StdErr { get; }
-
- public CommandResult(ProcessStartInfo startInfo, int exitCode, string stdOut, string stdErr)
- {
- StartInfo = startInfo;
- ExitCode = exitCode;
- StdOut = stdOut;
- StdErr = stdErr;
- }
-
- public void AssertSuccess()
- {
- Assert.True(0 == ExitCode, StdOut + Environment.NewLine + StdErr + Environment.NewLine);
- }
- }
-}