Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 757 Bytes
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using MSBuild.Community.Tasks.Subversion;
using NUnit.Framework;
namespace MSBuild.Community.Tasks.Tests.Subversion
public class SvnCommitTest
public void SvnCommitExecute()
SvnCommit commit = new SvnCommit();
commit.Targets = new ITaskItem[] {new TaskItem("a.txt"), new TaskItem("b.txt")};
commit.Message = "Test";
string expectedCommand = "commit \"a.txt\" \"b.txt\" --message \"Test\" --non-interactive --no-auth-cache";
string actualCommand = TaskUtility.GetToolTaskCommand(commit);
Assert.AreEqual(expectedCommand, actualCommand);
Jump to Line
Something went wrong with that request. Please try again.