public void UpdateInterviewHandler_InvalidObjectId_Failure()
        {
            ConnectionPropertyList oProps = new ConnectionPropertyList();

            oProps.Add("bogus", "bogusvalue");

            var res = InterviewHandler.UpdateInterviewHandler(_connectionServer, "ObjectId", oProps);

            Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: invalid objectId");
        }
Beispiel #2
0
        public void UpdateInterviewHandler_EmptyPropertyList_Failure()
        {
            var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "ObjectId", new ConnectionPropertyList());

            Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: empty property list");
        }
Beispiel #3
0
        public void UpdateInterviewHandler_EmptyObjectId_Failure()
        {
            var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "", null);

            Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: empty object id");
        }
Beispiel #4
0
        public void UpdateInterviewHandler_NullPropertyList_Failure()
        {
            var res = InterviewHandler.UpdateInterviewHandler(_mockServer, "ObjectId", null);

            Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: null property list");
        }
Beispiel #5
0
        public void UpdateInterviewHandler_NullConnectionServer_Failure()
        {
            var res = InterviewHandler.UpdateInterviewHandler(null, "objectId", null);

            Assert.IsFalse(res.Success, "Calling static method UpdateInterviewHandler did not fail with: null ConnectionServer");
        }