Exemplo n.º 1
0
        public void RejectAppealApplicationTest()
        {
            AppealApplication target = new AppealApplication();

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

            target.RejectAppealApplication(AppealApplicationId);

            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Exemplo n.º 2
0
        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.");
        }
Exemplo n.º 3
0
        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.");
        }
Exemplo n.º 4
0
        public void GetAppealApplicationByAppealNoTest()
        {
            AppealApplication target = new AppealApplication();

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

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

            //     actual = target.GetAppealApplicationByAppealNo(AppealSlNo);

            //    Assert.AreEqual(expected, actual, "IGRSS.BusinessLogicLayer.AppealApplication.GetAppealApplicationByAppealNo did not" +            " return the expected value.");
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Exemplo n.º 5
0
        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.");
        }
Exemplo n.º 6
0
        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.");
        }
Exemplo n.º 7
0
        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.");
        }
Exemplo n.º 8
0
        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.");
        }
Exemplo n.º 9
0
 protected void fvAppeal_ItemUpdating(object sender, FormViewUpdateEventArgs e)
 {
     //Storing ViewState values into DataTable.
     dtAct = (DataTable)ViewState["dtAct"];
     Global.SetFormViewParameters(e.NewValues, AppealApplication.GetRow());
     //Calling InitAct Method
     InitAct();
     //Getting all the selected value of the ListBox and Storing into Datatable.
     foreach (ListItem li in ((ListBox)fvAppeal.FindControl("liActUpd")).Items)
     {
         if (li.Selected)
         {
             dtAct.Rows.Add(li.Value, li.Selected);
         }
     }
     e.NewValues.Add("dtAct", dtAct);
     e.NewValues.Add("AlertId", (Guid)ViewState["AlertId"]);
 }
Exemplo n.º 10
0
    protected void fvAppeal_ItemInserting(object sender, FormViewInsertEventArgs e)
    {
        //Storing ViewState values into DataTable.
        dtAct = (DataTable)ViewState["dtAct"];
        Global.SetFormViewParameters(e.Values, AppealApplication.GetRow());
        //Calling InitAct Method
        InitAct();
        //Getting all the selected value of the ListBox and Storing into Datatable.
        foreach (ListItem li in ((ListBox)fvAppeal.FindControl("liAppealAct")).Items)
        {
            if (li.Selected)
            {
                dtAct.Rows.Add(li.Value, li.Selected);
            }
        }
        e.Values.Add("dtAct", dtAct);
        //Code Added By Akhilesh.
        FileManagement_FileForward ffc = (FileManagement_FileForward)fvAppeal.FindControl("FileForward1");
        Remarks rem = new Remarks();

        rem.Subject = ((TextBox)ffc.FindControl("txtRemarkSubject")).Text;
        rem.Body    = ((TextBox)ffc.FindControl("txtRemarkBody")).Text;
        e.Values.Add("rem", rem);
    }
Exemplo n.º 11
0
 protected void fvHighCourtDetails_ItemInserting(object sender, FormViewInsertEventArgs e)
 {
     Global.SetFormViewParameters(e.Values, AppealApplication.GetRow());
     e.Values.Add("AppealApplicationId", (Guid)gvAppealHearing.SelectedDataKey.Value);
 }