示例#1
0
        public void Test_EmptyFiles()
        {
            string mrsFileName = Path.Combine(testDirectory, "FDD-LTE_MRO_ZTE_OMC440601_503387_20150713044500.xml");

            importer.Import(new[] { mrsFileName }, x => new MroRecordSet(new StreamReader(x)));
            Assert.IsNotNull(importer);
            Assert.AreEqual(importer.InterferenceStats.Count, 0);
            Assert.AreEqual(importer.RsrpTaStatList.Count, 0);
        }
 private Task ImportMroFiles(IEnumerable <string> files)
 {
     return(Task.Run(() =>
                     mroFilesImporter.Import(files, path =>
     {
         MroRecordSet recordSet;
         using (StreamReader reader = new StreamReader(path))
         {
             recordSet = new MroRecordSet(reader);
         }
         return recordSet;
     })));
 }
 public void Test_Once_OnePath(string path)
 {
     importer.Import(new[] { path }, recordSetGenerator);
     Assert.AreEqual(importer.InterferenceStats.Count, 1);
     Assert.AreEqual(importer.RsrpTaStatList.Count, 1);
 }