public RutraceMrDisplay()
 {
     InitializeComponent();
     PageTitle.Content = Title;
     mroFilesImporter = new MroFilesImporter(_cellRepository, _neighborCellRepository);
     mrsFilesImporter = new MrsFilesImporter();
 }
Exemplo n.º 2
0
 public void SetUp()
 {
     cellRepository.Setup(x => x.GetAll()).Returns(new List<Cell>
     {
         new Cell {ENodebId = 50011, SectorId = 0, Pci = 301},
         new Cell {ENodebId = 50011, SectorId = 1, Pci = 302},
         new Cell {ENodebId = 50011, SectorId = 2, Pci = 303},
         new Cell {ENodebId = 50012, SectorId = 0, Pci = 304},
         new Cell {ENodebId = 50012, SectorId = 1, Pci = 305},
         new Cell {ENodebId = 50012, SectorId = 2, Pci = 306},
     }.AsQueryable());
     cellRepository.Setup(x => x.GetAllList()).Returns(cellRepository.Object.GetAll().ToList());
     neighborRepository.SetupGet(x => x.NearestPciCells).Returns(new List<NearestPciCell>
     {
         new NearestPciCell {CellId = 50001, SectorId = 0, NearestCellId = 50002, NearestSectorId = 0, Pci = 100},
         new NearestPciCell {CellId = 50001, SectorId = 0, NearestCellId = 50002, NearestSectorId = 1, Pci = 101},
         new NearestPciCell {CellId = 50001, SectorId = 0, NearestCellId = 50002, NearestSectorId = 2, Pci = 102},
         new NearestPciCell {CellId = 50001, SectorId = 1, NearestCellId = 50002, NearestSectorId = 0, Pci = 100},
         new NearestPciCell {CellId = 50001, SectorId = 1, NearestCellId = 50002, NearestSectorId = 1, Pci = 101},
         new NearestPciCell {CellId = 50001, SectorId = 1, NearestCellId = 50002, NearestSectorId = 2, Pci = 102},
         new NearestPciCell {CellId = 50001, SectorId = 2, NearestCellId = 50002, NearestSectorId = 0, Pci = 100},
         new NearestPciCell {CellId = 50001, SectorId = 2, NearestCellId = 50002, NearestSectorId = 1, Pci = 101},
         new NearestPciCell {CellId = 50001, SectorId = 2, NearestCellId = 50002, NearestSectorId = 2, Pci = 102}
     }.AsQueryable());
     importer=new MroFilesImporter(cellRepository.Object,neighborRepository.Object);
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     importer = new MroFilesImporter(cellRepository.Object, neighborRepository.Object);
 }