示例#1
0
        public void PerformComparisonAndCleanUp(IThresholdRecieve inputRecieve, IDataExtract dataExtract, ICompare compare,
                                                IDataRemove dataRemove, string fileName, string zipPath, string outputPath)
        {
            var qualityThresholdList = inputRecieve.getThresholdList(fileName);
            var csvThresholdList     = dataExtract.ExtractData(outputPath);

            compare.Compare(qualityThresholdList, csvThresholdList);
            Thread.Sleep(10000);
            dataRemove.Remove(Path.GetFullPath(Directory.GetCurrentDirectory()), zipPath, fileName);
        }
示例#2
0
 public void GivenRandomPathWhenQualityThresholdListRecieveInvokedThenDirectoryNotFoundException()
 {
     _thresholdRecieve.getThresholdList("testPath");
 }