示例#1
0
        public void errMsgOrOK()
        {
            string response = "0^my error^is^not^your error";

            Assert.AreEqual("my error", VistaUtils.errMsgOrOK(response));

            response = "1^this should be^ok";
            Assert.AreEqual("OK", VistaUtils.errMsgOrOK(response));
        }
示例#2
0
        public void errMsgOrOK_1Field()
        {
            string response = "no error code";

            VistaUtils.errMsgOrOK(response);
        }