Esempio n. 1
0
        //
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        internal virtual IIwsService CreateIIwsService()
        {
            // TODO: Instantiate an appropriate concrete class.
            IIwsService target = null;

            return(target);
        }
Esempio n. 2
0
        public void IsDbConnectedTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            bool        expected = false;               // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.IsDbConnected();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 3
0
        public void UpdatePersonStatusTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            int         expected = 0;                   // TODO: Initialize to an appropriate value
            int         actual;

            actual = target.UpdatePersonStatus(personID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 4
0
        public void RetreiveFbiHistoryUrlTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            string      expected = string.Empty;        // TODO: Initialize to an appropriate value
            string      actual;

            actual = target.RetreiveFbiHistoryUrl(personID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 5
0
        public void ProvisionedByPersonTest()
        {
            IIwsService          target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid                 personID = new Guid();          // TODO: Initialize to an appropriate value
            List <ProvisionData> expected = null;                // TODO: Initialize to an appropriate value
            List <ProvisionData> actual;

            actual = target.ProvisionedByPerson(personID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 6
0
        public void EndBiometricCaptureTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            bool        expected = false;               // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.EndBiometricCapture(personID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 7
0
        public void CriminalHistoryCheckSubmittedTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            bool        expected = false;               // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.CriminalHistoryCheckSubmitted(personID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 8
0
        public void CardStatusTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            int         cardID   = 0;                   // TODO: Initialize to an appropriate value
            int         badgeID  = 0;                   // TODO: Initialize to an appropriate value
            bool        expected = false;               // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.CardStatus(personID, cardID, badgeID);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Esempio n. 9
0
        public void DeactivateBadgeTest()
        {
            IIwsService target   = CreateIIwsService(); // TODO: Initialize to an appropriate value
            Guid        personID = new Guid();          // TODO: Initialize to an appropriate value
            int         badgeID  = 0;                   // TODO: Initialize to an appropriate value
            int         cardID   = 0;                   // TODO: Initialize to an appropriate value
            string      reason   = string.Empty;        // TODO: Initialize to an appropriate value
            bool        expected = false;               // TODO: Initialize to an appropriate value
            bool        actual;

            actual = target.DeactivateBadge(personID, badgeID, cardID, reason);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }