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); }
public static string Print(this Release r, bool prettyPrint = false) { return(r.Print(new StringBuilder(), prettyPrint: prettyPrint).ToString()); }