public static TempLiftFile TrackExisting(string path) { Debug.Assert(File.Exists(path)); TempLiftFile t = new TempLiftFile(); t._path = path; return t; }
public void UpdateFileStructure_LiftByItself_DoesNothing() { using (TemporaryFolder f = new TemporaryFolder("OpeningLiftFile_MissingConfigFile_GivesMessage")) { using(TempLiftFile lift = new TempLiftFile(f, "", "0.12")) { using(WeSayWordsProject p = new WeSayWordsProject()) { Assert.AreEqual(lift.Path,p.UpdateFileStructure(lift.Path)); } } } }