public Asp330SamIntegrationTests() { Repository = UnitOfWork.Asp330Sams; var mins = Faker.Random.Int(1, 1000); Entities.AddRange(FakerAsp330.Asp330SamFaker(mins, 4)); }
public Asp330FlukeIntegrationTests() { Repository = UnitOfWork.Asp330Flukes; var date = Faker.Date.Future(); Entities.AddRange(FakerAsp330.Asp330FlukeFaker(date, 4)); }
public Asp330CertLimitIntegrationTests() { Repository = UnitOfWork.Asp330CertLimits; var certLimitDays = Faker.Random.Short(0, 360); Entities.AddRange(FakerAsp330.Asp330CertLimitFaker(certLimitDays, 4)); }
public Asp330CustomerCertIntegrationTests() { Repository = UnitOfWork.Asp330CustomerCerts; var date = Faker.Date.Future(); Entities.AddRange(FakerAsp330.Asp330CustomerCertFaker(date, 4)); }
public Asp330DeviceIntegrationTests() { Repository = UnitOfWork.Asp330Devices; var lcdContrast = Faker.Random.Int(0, 500); Entities.AddRange(FakerAsp330.Asp330DeviceFaker(lcdContrast, 4)); }
public Asp330TestTotalPowerFailureAlarmIntegrationTests() { ItemRepository = UnitOfWork.Asp330Tests; SubItemRepository = UnitOfWork.Asp330TestTotalPowerFailureAlarms; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); SubEntities = FakerAsp330.Asp330TestTotalPowerFailureAlarmFaker(ids); }
public Asp330TestConditionalPmDueResetIntegrationTests() { ItemRepository = UnitOfWork.Asp330Tests; SubItemRepository = UnitOfWork.Asp330TestConditionalPmDueResets; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); SubEntities = FakerAsp330.Asp330TestConditionalPmDueResetFaker(ids); }
public Asp330TestLiIonBatteryCheckIntegrationTests() { ItemRepository = UnitOfWork.Asp330Tests; SubItemRepository = UnitOfWork.Asp330TestLiIonBatteryChecks; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); SubEntities = FakerAsp330.Asp330TestLiIonBatteryCheckFaker(ids); }
public Asp330TestCommRamBootloadIntegrationTests() { ItemRepository = UnitOfWork.Asp330Tests; SubItemRepository = UnitOfWork.Asp330TestCommRamBootloads; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); SubEntities = FakerAsp330.Asp330TestCommRamBootloadFaker(ids); }
public Asp330TestLcdVisualInspectionsIntegrationTests() { ItemRepository = UnitOfWork.Asp330Tests; SubItemRepository = UnitOfWork.Asp330TestLcdVisualInspections; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); SubEntities = FakerAsp330.Asp330TestLcdVisualInspectionFaker(ids); }
public Asp330SequenceTestIntegrationTests() { Faker = new Faker(); Entities = new List <Asp330SequenceTest>(); UnitOfWork = new UnitOfWork(new TceContext()); Repository = UnitOfWork.Asp330SequenceTests; var sequenceId = Faker.Random.Short(1, 500); var testId = Faker.Random.Short(1, 500); Entities.AddRange(FakerAsp330.Asp330SequenceTestFaker(sequenceId, testId, ListCount)); sequenceId = Faker.Random.Short(1, 500); testId = Faker.Random.Short(1, 500); Entities.AddRange(FakerAsp330.Asp330SequenceTestFaker(sequenceId, testId, ListCount)); }
public Asp330TestIntegrationTests() { UnitOfWork = new UnitOfWork(new TceContext()); Repository = UnitOfWork.Asp330Tests; Entities = FakerAsp330.Asp330TestFaker(ListCount); var ids = Entities.Select(testEntity => testEntity.Asp330TestId).ToList(); Asp330TestAspSelfChecks = FakerAsp330.Asp330TestAspSelfCheckFaker(ids); Asp330TestButtonChecks = FakerAsp330.Asp330TestButtonCheckFaker(ids); Asp330TestBuzzerChecks = FakerAsp330.Asp330TestBuzzerCheckFaker(ids); Asp330TestCommRamBootloads = FakerAsp330.Asp330TestCommRamBootloadFaker(ids); Asp330TestConditionalPmDueResets = FakerAsp330.Asp330TestConditionalPmDueResetFaker(ids); Asp330TestDatetimeChecks = FakerAsp330.Asp330TestDatetimeCheckFaker(ids); Asp330TestLcdContrastSets = FakerAsp330.Asp330TestLcdContrastSetFaker(ids); Asp330TestLcdVisualInspections = FakerAsp330.Asp330TestLcdVisualInspectionFaker(ids); Asp330TestLedChecks = FakerAsp330.Asp330TestLedCheckFaker(ids); Asp330TestLiIonBatteryChecks = FakerAsp330.Asp330TestLiIonBatteryCheckFaker(ids); Asp330TestTotalPowerFailureAlarms = FakerAsp330.Asp330TestTotalPowerFailureAlarmFaker(ids); for (var i = 0; i < ListCount; i++) { Asp330TestAspSelfChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestAspSelfCheck = Asp330TestAspSelfChecks[i]; Asp330TestButtonChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestButtonCheck = Asp330TestButtonChecks[i]; Asp330TestBuzzerChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestBuzzerCheck = Asp330TestBuzzerChecks[i]; Asp330TestCommRamBootloads[i].Asp330Test = Entities[i]; Entities[i].Asp330TestCommRamBootload = Asp330TestCommRamBootloads[i]; Asp330TestConditionalPmDueResets[i].Asp330Test = Entities[i]; Entities[i].Asp330TestConditionalPmDueReset = Asp330TestConditionalPmDueResets[i]; Asp330TestDatetimeChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestDatetimeCheck = Asp330TestDatetimeChecks[i]; Asp330TestLcdContrastSets[i].Asp330Test = Entities[i]; Entities[i].Asp330TestLcdContrastSet = Asp330TestLcdContrastSets[i]; Asp330TestLcdVisualInspections[i].Asp330Test = Entities[i]; Entities[i].Asp330TestLcdVisualInspection = Asp330TestLcdVisualInspections[i]; Asp330TestLedChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestLedCheck = Asp330TestLedChecks[i]; Asp330TestLiIonBatteryChecks[i].Asp330Test = Entities[i]; Entities[i].Asp330TestLiIonBatteryCheck = Asp330TestLiIonBatteryChecks[i]; Asp330TestTotalPowerFailureAlarms[i].Asp330Test = Entities[i]; Entities[i].Asp330TestTotalPowerFailureAlarm = Asp330TestTotalPowerFailureAlarms[i]; } }