Exemplo n.º 1
0
 public void StreamName()
 {
     var pdbStr = new PdbStr();
     pdbStr.StreamName = @"StreamName";
     pdbStr.BuildArguments();
     Assert.AreEqual("-r -s:StreamName", pdbStr.StartInfo.Arguments);
 }
Exemplo n.º 2
0
 public void StreamFilename()
 {
     var pdbStr = new PdbStr();
     pdbStr.StreamFileName = @"C:\FileName.txt";
     pdbStr.BuildArguments();
     Assert.AreEqual("-r -i:\"C:\\FileName.txt\"", pdbStr.StartInfo.Arguments);
 }
Exemplo n.º 3
0
 public void PdbFilename()
 {
     var pdbStr = new PdbStr();
     pdbStr.PdbFileName = @"C:\FileName.pdb";
     pdbStr.BuildArguments();
     Assert.AreEqual("-r -p:\"C:\\FileName.pdb\"", pdbStr.StartInfo.Arguments);
 }
Exemplo n.º 4
0
        public void Defaults_to_read()
        {
            var pdbStr = new PdbStr();

            Assert.AreEqual(PdbStrOperation.Read, pdbStr.Operation);
        }
Exemplo n.º 5
0
 public void BuildArguments_write()
 {
     var pdbStr = new PdbStr();
     pdbStr.BuildArguments();
     Assert.AreEqual("-r", pdbStr.StartInfo.Arguments);
 }