public override bool Equals(object obj) { FilePath other = obj as FilePath; if (other == null) { return(false); } return(GetCanonicalPath() == other.GetCanonicalPath()); }
/// <exception cref="System.IO.IOException"></exception> protected internal virtual void AssertEqualsPath(FilePath expected, FilePath actual ) { NUnit.Framework.Assert.AreEqual(expected.GetCanonicalPath(), actual.GetCanonicalPath ()); }
public override void Running(FilePath jsFile) { try { console.Println("Running: " + jsFile.GetCanonicalPath()); this.jsFile = jsFile; } catch (IOException e) { throw new Exception(e); } }