示例#1
0
 public void ReleaseOutput()
 {
     var r = new Release() { Name = "Base,2222" };
     Assert.AreEqual("release(Base,2222)", r.Print());
     var rp = JobParser.ParseRelease.Parse(r.Print());
     Assert.AreEqual(r.Name, rp.Name);
 }
示例#2
0
 public static string Print(this Release r, bool prettyPrint = false)
 {
     return(r.Print(new StringBuilder(), prettyPrint: prettyPrint).ToString());
 }