public void GetAppealStatusByAppealNoTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            int AppealSlNo = 12312; // TODO: Initialize to an appropriate value

            Assert.IsInstanceOfType(target.GetAppealStatusByAppealNo(AppealSlNo), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
        }
        public void GetAppealApplicationByApplicantNameTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            string ApplicantName = null; // TODO: Initialize to an appropriate value

            Assert.IsInstanceOfType(target.GetAppealApplicationByApplicantName(ApplicantName), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
        }
        public void GetAppealApplicationByAppealIDTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            Guid AppealApplicationId = new Guid("0b109896-2fd1-4369-90fa-d77039f0e3be"); // TODO: Initialize to an appropriate value

            Assert.IsInstanceOfType(target.GetAppealApplicationByAppealID(AppealApplicationId), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
        }
        public void RejectAppealApplicationTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            Guid AppealApplicationId = new Guid("f1807bab-c560-4807-a382-1befbb368d5f"); // TODO: Initialize to an appropriate value

            Assert.AreEqual(true, target.RejectAppealApplication(AppealApplicationId), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
                            "");
        }
        public void ApproveAppealApplicationTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            Guid AppealApplicationId = new Guid("2a0e5867-5da4-487f-824e-0272073bcf3b"); // TODO: Initialize to an appropriate value
            Guid AlertId             = new Guid("bf1d42ed-7c1b-4878-8536-45270afba6df"); // TODO: Initialize to an appropriate value

            Assert.AreEqual(true, target.ApproveAppealApplication(AppealApplicationId, AlertId), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
                            "");
        }
        public void AddAppealAplicationTest()
        {
            AppealApplication target = new AppealApplication();

            FormViewParameter parameter = null; // TODO: Initialize to an appropriate value

            DataTable dtAct = null; // TODO: Initialize to an appropriate value

            //target.AddAppealAplication(parameter, dtAct);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        public void UpdateAppealAplicationTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
            FormViewParameter Parameter = new FormViewParameter();

            IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable dt = new IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable();
            DataRow dr       = dt.NewRow();
            Guid    AppealId = new Guid("2a0e5867-5da4-487f-824e-0272073bcf3b");

            dr["AppealApplicationId"] = new Guid("2a0e5867-5da4-487f-824e-0272073bcf3b");
            dr["AppealPrefix"]        = "YSD";
            dr["AppealSlNo"]          = "22210";
            dr["AppealYear"]          = 2006;
            dr["OfficeId"]            = new Guid("514ba1d5-61fb-4b9d-abfd-0dff857ca05d");
            dr["RegistrationNo"]      = "324444";
            dr["ApplicantName"]       = "BASKAR";
            dr["Address"]             = "Chennai";
            dr["TypeOfAppeal"]        = 2;
            dr["CalculatedAmount"]    = 500;
            dr["DepositAmount"]       = 200;
            dr["FeeReceiptNo"]        = "467";
            dr["Amount"]          = "500";
            dr["InwardDate"]      = DateTime.Now;
            dr["IsPaidAppealFee"] = true;
            dr["AppealInTime"]    = true;
            dr["PaperFromTo"]     = "ssss";
            dr["CourtFeeTicket"]  = true;
            dr["AppealRemarks"]   = "short listed";
            dr["ModifiedBy"]      = "sahu";
            dr["ModifiedBy"]      = DateTime.Now;
            dr["DocumentNo"]      = "3333";
            dr["OriginalSRO"]     = new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
            dr["DocumentDate"]    = DateTime.Now;
            dt.Rows.Add(dr);
            Parameter.Values = dt.Rows[0];
            DataTable dtAct = new DataTable();

            dtAct.Columns.Add("ActId", typeof(Guid));
            dtAct.Columns.Add("Checked", typeof(bool));
            DataRow actDR;

            actDR            = dtAct.NewRow();
            actDR["ActId"]   = new Guid("eee9b625-be85-4715-920b-3ed6ec0f4470");
            actDR["Checked"] = true;
            dtAct.Rows.Add(actDR);
            target.AddAppealAplication(Parameter, dtAct);
            bool expected = true;
            Guid AlertId  = new Guid("bf1d42ed-7c1b-4878-8536-45270afba6df");

            Assert.AreEqual(expected, target.UpdateAppealAplication(Parameter, dtAct, AppealId, AlertId, true), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
                            "");
        }
        public void AddAppealHearingTest()
        {
            AppealApplication target = new AppealApplication();

            Guid AppealApplicationId = new Guid(); // TODO: Initialize to an appropriate value

            DateTime HearingDate = new DateTime(); // TODO: Initialize to an appropriate value

            string Remarks = null; // TODO: Initialize to an appropriate value

            bool IsJudgement = false; // TODO: Initialize to an appropriate value

              //  target.AddAppealHearing(AppealApplicationId, HearingDate, Remarks, IsJudgement);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
 public void AddAppealAplicationTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     FormViewParameter Parameter = new FormViewParameter();
     IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable dt = new IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable();
     DataRow dr = dt.NewRow();
     dr["AppealApplicationId"] = new Guid();
     dr["AppealPrefix"] = "YSL";
     dr["AppealSlNo"]="22210";
     dr["AppealYear"]=2006;
     dr["OfficeId"]=new Guid("514ba1d5-61fb-4b9d-abfd-0dff857ca05d");
     dr["RegistrationNo"]="324444";
     dr["ApplicantName"]="BASKAR";
     dr["Address"]="Chennai";
     dr["TypeOfAppeal"]=2;
     dr["CalculatedAmount"]=500;
     dr["DepositAmount"] = 200;
     dr["FeeReceiptNo"]="467";
     dr["Amount"]="500";
     dr["InwardDate"]=DateTime.Now;
     dr["IsPaidAppealFee"]=true;
     dr["AppealInTime"]=true;
     dr["PaperFromTo"]="ssss";
     dr["CourtFeeTicket"]=true;
     dr["AppealRemarks"]="short listed";
     dr["CreatedBy"] = "sahu";
     dr["DocumentNo"]="3333";
     dr["OriginalSRO"] = new Guid("916fd082-061a-45fb-91a4-33967243b4cf");
     dr["DocumentDate"] = DateTime.Now;
     dt.Rows.Add(dr);
     Parameter.Values = dt.Rows[0];
     DataTable dtAct = new DataTable();
     dtAct.Columns.Add("ActId", typeof(Guid));
     dtAct.Columns.Add("Checked", typeof(bool));
     DataRow actDR;
     actDR = dtAct.NewRow();
     actDR["ActId"] = new Guid("eee9b625-be85-4715-920b-3ed6ec0f4470");
     actDR["Checked"] = true;
     dtAct.Rows.Add(actDR);
     target.AddAppealAplication(Parameter, dtAct);
     bool expected = true;
     Assert.AreEqual(expected,target.AddAppealAplication(Parameter, dtAct), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
             "");
 }
 public void RejectAppealApplicationTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     Guid AppealApplicationId = new Guid("f1807bab-c560-4807-a382-1befbb368d5f"); // TODO: Initialize to an appropriate value
     Assert.AreEqual(true,target.RejectAppealApplication(AppealApplicationId), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
             "");
 }
        public void UpdateAppealAplicationTest()
        {
            AppealApplication target = new AppealApplication();

            FormViewParameter parameter = null; // TODO: Initialize to an appropriate value

            DataTable dtAct = null; // TODO: Initialize to an appropriate value

            Guid AppealApplicationId = new Guid(); // TODO: Initialize to an appropriate value

            Guid AlertId = new Guid(); // TODO: Initialize to an appropriate value

            bool Verified = false; // TODO: Initialize to an appropriate value

            target.UpdateAppealAplication(parameter, dtAct, AppealApplicationId, AlertId, Verified);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
 public void GetAppealApplicationByApplicantNameTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     string ApplicantName = null; // TODO: Initialize to an appropriate value
     Assert.IsInstanceOfType(target.GetAppealApplicationByApplicantName(ApplicantName), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
 }
 public void GetAppealStatusByAppealNoTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     int AppealSlNo = 12312; // TODO: Initialize to an appropriate value
     Assert.IsInstanceOfType(target.GetAppealStatusByAppealNo(AppealSlNo), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
 }
        public void GetAllAppealApplicationTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();

            Assert.IsInstanceOfType(target.GetAllAppealApplication(),typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable),"IGRSS.BusinessLogicLayer.AppealApplication.GetAllAppealApplication did not return");
        }
 public void GetAppealApplicationByAppealIDTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     Guid AppealApplicationId = new Guid("0b109896-2fd1-4369-90fa-d77039f0e3be"); // TODO: Initialize to an appropriate value
     Assert.IsInstanceOfType(target.GetAppealApplicationByAppealID(AppealApplicationId), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.Appeal.AppealApplicationDataTable return wrong type of data");
 }
        public void ApproveAppealApplicationTest()
        {
            AppealApplication target = new AppealApplication();

            Guid AppealApplicationId = new Guid(); // TODO: Initialize to an appropriate value

            Guid AlertId = new Guid(); // TODO: Initialize to an appropriate value

            target.ApproveAppealApplication(AppealApplicationId, AlertId);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
 public void ApproveAppealApplicationTest()
 {
     IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();
     Guid AppealApplicationId = new Guid("2a0e5867-5da4-487f-824e-0272073bcf3b"); // TODO: Initialize to an appropriate value
     Guid AlertId = new Guid("bf1d42ed-7c1b-4878-8536-45270afba6df"); // TODO: Initialize to an appropriate value
     Assert.AreEqual(true, target.ApproveAppealApplication(AppealApplicationId, AlertId), "IGRSS.BusinessLogicLayer.Leave.AddLeaveDetails did not return the expected value." +
             "");
 }
        public void GetAllHearingDetailsTest()
        {
            AppealApplication target = new AppealApplication();

            DataTable expected = null;
            DataTable actual;

            actual = target.GetAllHearingDetails();

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAllHearingDetails did not return th" +
                    "e expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        public void GetAppealApplicationByApplicantNameTest()
        {
            AppealApplication target = new AppealApplication();

            string ApplicantName = null; // TODO: Initialize to an appropriate value

            Appeal.AppealApplicationDataTable expected = null;
            Appeal.AppealApplicationDataTable actual;

            actual = target.GetAppealApplicationByApplicantName(ApplicantName);

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAppealApplicationByApplicantName di" +
                    "d not return the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        public void GetAllAppealApplicationTest()
        {
            IGRSS.BusinessLogicLayer.AppealApplication target = new IGRSS.BusinessLogicLayer.AppealApplication();

            Assert.IsInstanceOfType(target.GetAllAppealApplication(), typeof(IGRSS.DataAccessLayer.Appeal.AppealApplicationDataTable), "IGRSS.BusinessLogicLayer.AppealApplication.GetAllAppealApplication did not return");
        }
        public void GetHearingDetailsByAppealIDTest()
        {
            AppealApplication target = new AppealApplication();

            Guid AppealApplicationId = new Guid(); // TODO: Initialize to an appropriate value

            DataTable expected = null;
            DataTable actual;

            actual = target.GetHearingDetailsByAppealID(AppealApplicationId);

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetHearingDetailsByAppealID did not re" +
                    "turn the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        public void GetAppealStatusByAppealNoTest()
        {
            AppealApplication target = new AppealApplication();

            decimal AppealSlNo = 0; // TODO: Initialize to an appropriate value

            Appeal.AppealApplicationDataTable expected = null;
            Appeal.AppealApplicationDataTable actual;

            actual = target.GetAppealStatusByAppealNo(AppealSlNo);

            Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAppealStatusByAppealNo did not retu" +
                    "rn the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }