コード例 #1
0
ファイル: MainForm.cs プロジェクト: sharat/SvnChangeSetMaker
 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");
 }
コード例 #2
0
 public void getFileRevisionTest()
 {
     SvnChangeSetMaker target = new SvnChangeSetMaker();
     string fileWorkingCopyPath = string.Empty;
     string filePathToWrite = string.Empty;
     string localPath = "";
     List<string> files = target.getModifiedFiles(localPath);
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 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);
 }