ClearResults() public method

public ClearResults ( IProject project ) : void
project IProject
return void
        public void persist_and_load_and_clear_by_project_smoke_test()
        {
            var persistor = new ResultPersistor();
            var runner = DataMother.MathProjectRunner();
            runner.RunAll(t => t.GetAllTests(), t => Debug.WriteLine("executed " + t.GetPath().Locator));

            runner.Hierarchy.GetAllTests().Each(t =>
            {
                persistor.SaveResult(runner.Project, t, t.LastResult);
            });

            var results = persistor.LoadResults(runner.Project);
            runner.Hierarchy.GetAllTests().Each(t =>
            {
                results[t].ShouldNotBeNull();
            });

            persistor.ClearResults(runner.Project);
        }