Exemplo n.º 1
0
            private static void TestInHouseContamination(LotStat expected, string description)
            {
                tblLot oldLot;
                Lot    newLot;

                ArrangeLots(description, out oldLot, out newLot);
                Assert.IsTrue(LotSyncHelper.SetInHouseContamination(oldLot, newLot));
                Assert.AreEqual((int)expected, oldLot.LotStat);
            }
        private static void TestProductSpecDefect(LotStat lotStat, AttributeName attributeName, bool tooHigh = true, string description = null)
        {
            var stat = GetLotStatHelper.GetProductSpecDefectStat(new[]
            {
                BuildProductSpecDefect(attributeName, tooHigh ? 4 : 1, 2, 3, false)
            });

            Assert.AreEqual(lotStat, stat.LotStat);
            Assert.AreEqual(description, stat.Description);
        }
Exemplo n.º 3
0
 public LotStatResult(LotStat lotStat)
 {
     LotStat = lotStat;
 }
Exemplo n.º 4
0
 private static string GetHoldDescription(LotStat lotStat)
 {
     return(string.Format("Set by data load from LotStat[{0}].", lotStat));
 }