Esempio n. 1
0
 public void GetTelePhoneDetailsByEmpIdTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     Guid EmpId = new Guid("61233b4f-2f6f-403e-a440-34449b352266");
     Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpId(EmpId),
         typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
         "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
 }
Esempio n. 2
0
        public void GetTelePhoneDetailsByEmpIdTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
            Guid EmpId = new Guid("61233b4f-2f6f-403e-a440-34449b352266");

            Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpId(EmpId),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 3
0
        public void GetTelePhoneDetailsByTelephoneRegIdTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
            Guid TelephoneRegID = new Guid("b6811e8e-3f13-484a-9a2f-0a2d2329a1d1");

            Assert.IsInstanceOfType(target.GetTelePhoneDetailsByTelephoneRegId(TelephoneRegID),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 4
0
        public void GetTelePhoneDetailsByEmpNoTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
            string EmpNo = "321322";

            Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpNo(EmpNo),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 5
0
        public void GetTelephonedetailsByCallDateTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();

               DateTime date = new DateTime(2007, 07, 04);
               Assert.IsInstanceOfType(target.GetTelephonedetailsByCallDate(date),
                typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 6
0
        public void GetTelephonedetailsByCallDateTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();

            DateTime date = new DateTime(2007, 07, 04);

            Assert.IsInstanceOfType(target.GetTelephonedetailsByCallDate(date),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 7
0
        public void GetTelePhoneDetailsByEmpNameTest()
        {
            IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
            string Empname = "as";

            Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpName(Empname),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
            Empname = "";
            Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpName(Empname),
                                    typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
                                    "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
            string s = "@";

            Assert.AreEqual(true, target.GetTelePhoneDetailsByEmpName(s), "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
        }
Esempio n. 8
0
 public void GetAllTelePhoneDetailsTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     Assert.IsInstanceOfType(target.GetAllTelePhoneDetails(), typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable), "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable return wrong type of data");
 }
Esempio n. 9
0
 public void GetTelePhoneDetailsByEmpNameTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     string Empname = "as";
     Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpName(Empname),
         typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
         "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
     Empname="";
     Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpName(Empname),
         typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
         "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
     string s = "@";
     Assert.AreEqual(true, target.GetTelePhoneDetailsByEmpName(s), "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
 }
Esempio n. 10
0
 public void GetAllTelePhoneDetailsTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     Assert.IsInstanceOfType(target.GetAllTelePhoneDetails(), typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable), "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable return wrong type of data");
 }
Esempio n. 11
0
 public void GetTelePhoneDetailsByTelephoneRegIdTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     Guid TelephoneRegID = new Guid("b6811e8e-3f13-484a-9a2f-0a2d2329a1d1");
     Assert.IsInstanceOfType(target.GetTelePhoneDetailsByTelephoneRegId(TelephoneRegID),
         typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
         "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
 }
Esempio n. 12
0
 public void GetTelePhoneDetailsByEmpNoTest()
 {
     IGRSS.BusinessLogicLayer.Telephone target = new IGRSS.BusinessLogicLayer.Telephone();
     string EmpNo ="321322";
     Assert.IsInstanceOfType(target.GetTelePhoneDetailsByEmpNo(EmpNo),
         typeof(IGRSS.DataAccessLayer.Telephone.TelephoneRegisterDataTable),
         "IGRSS.BusinessLogicLayer.Telephone.TelephoneRegisterDataTable() return wrong type of data");
 }