public void CanProvideChangeRecord_AfterClear_False() { using (TempFile working = new TempFile("<lift version='0.12'/>")) { using (TempFolder cache = new TempFolder("LiftChangeDetectorTestsCache")) { LiftChangeDetector detector = new LiftChangeDetector(working.Path, cache.Path); detector.ClearCache(); Assert.IsFalse(detector.CanProvideChangeRecord); } } }
public void GetChangeReport_AfterClear_Throws() { using (TempFile working = new TempFile("<lift version='0.12'/>")) { using (TempFolder cache = new TempFolder("LiftChangeDetectorTestsCache")) { LiftChangeDetector detector = new LiftChangeDetector(working.Path, cache.Path); detector.ClearCache(); detector.GetChangeReport(new NullProgress()); } } }