From c70de8284987e4977ee40133180a1b220a68da71 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 30 May 2020 12:17:13 +1000 Subject: Add TestDataFolderFileSystem. --- src/WixBuildTools.TestSupport/RobocopyRunner.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/WixBuildTools.TestSupport/RobocopyRunner.cs (limited to 'src/WixBuildTools.TestSupport/RobocopyRunner.cs') diff --git a/src/WixBuildTools.TestSupport/RobocopyRunner.cs b/src/WixBuildTools.TestSupport/RobocopyRunner.cs new file mode 100644 index 00000000..49d53351 --- /dev/null +++ b/src/WixBuildTools.TestSupport/RobocopyRunner.cs @@ -0,0 +1,16 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +namespace WixBuildTools.TestSupport +{ + public class RobocopyRunner : ExternalExecutable + { + private static readonly RobocopyRunner Instance = new RobocopyRunner(); + + private RobocopyRunner() : base("robocopy") { } + + public static ExternalExecutableResult Execute(string args) + { + return Instance.Run(args); + } + } +} -- cgit v1.2.3-55-g6feb