public void ValidateFinalizeParse() { Locally locally = new Locally(); try { locally.Cleanup = true; locally.FinalizeParse(); ApplicationLog.WriteLine("Locally BVT: Locally FinalizeParse Validated successfully"); } catch (Exception ex) { ApplicationLog.WriteLine(string.Format((IFormatProvider)null, "Locally BVT: Locally FinalizeParse Not validated successfully:", ex.Message)); Assert.Fail("Locally BVT: Locally FinalizeParse Not validated successfully"); } }
public void ValidateDistribute() { Locally locally = new Locally(); IDistributable idistributable = new CommandApp(); try { locally.Cleanup = true; locally.TaskCount = 10; locally.Tasks = new RangeCollection(1, 500); locally.Distribute(idistributable); ApplicationLog.WriteLine("Locally BVT: Locally Distribute Validated successfully"); } catch (Exception ex) { ApplicationLog.WriteLine(string.Format((IFormatProvider)null, "Locally BVT: Locally Distribute not validated successfully:", ex.Message)); Assert.Fail("Locally BVT: Locally Distribute Not validated successfully"); } }