public void getFileRevisionTest() { SvnChangeSetMaker target = new SvnChangeSetMaker(); string fileWorkingCopyPath = string.Empty; string filePathToWrite = string.Empty; string localPath = ""; List <string> files = target.getModifiedFiles(localPath); }
private void buttonZip_Click(object sender, EventArgs e) { SvnChangeSetMaker helper = new SvnChangeSetMaker(); string localPath = string.Empty; List <string> files = helper.getModifiedFiles(localPath); helper.createChangeList(files, localPath, @"C:\temp\cs"); SvnChangeSetHelper.zipChangeSetDir(@"C:\temp\cs", @"C:\temp\cs\ChangeSet.zip"); }
public void getModifiedFilePathsTest() { SvnChangeSetMaker target = new SvnChangeSetMaker(); // TODO: Initialize to an appropriate value string localPath = ""; List <string> expected = null; List <string> actual; actual = target.getModifiedFiles(localPath); Assert.AreNotEqual(expected, actual); }
public void createChangeListTest() { SvnChangeSetMaker target = new SvnChangeSetMaker(); // TODO: Initialize to an appropriate value string localPath = ""; List <string> modifiedFileList; modifiedFileList = target.getModifiedFiles(localPath); string dirPath = @"C:\temp\cstest"; string localArchivePath = localPath; bool expected = true; bool actual; actual = target.createChangeList(modifiedFileList, localArchivePath, dirPath); Assert.AreEqual(expected, actual); }