public void ToSDKFromCustomField()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_CUSTOM_FIELD.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_CUSTOM_FIELD.getApiValue());
        }
        public void ToSDKFromCheckbox()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_CHECK_BOX.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_CHECK_BOX.getApiValue());
        }
        public void ToSDKFromTextArea()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.TEXT_AREA.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.TEXT_AREA.getApiValue());
        }
        public void ToSDKFromRadio()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_RADIO_BUTTON.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_RADIO_BUTTON.getApiValue());
        }
Пример #5
0
        public void ToSDKFromInitials()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.INITIALS.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.INITIALS, sdk);
        }
Пример #6
0
        public void ToSDKFromFullName()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.FULL_NAME.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.FULL_NAME, sdk);
        }
Пример #7
0
        public void ToSDKFromCapture()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.HAND_DRAWN.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.HAND_DRAWN, sdk);
        }
        public void ToSDKFromList()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.LIST;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNull(sdk);
        }
        public void ToSDKFromCustomField()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.CUSTOMFIELD;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNull(sdk);
        }
        public void ToSDKFromCheckbox()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.CHECKBOX;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNull(sdk);
        }
        public void ToSDKFromTextArea()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.TEXTAREA;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNull(sdk);
        }
        public void ToSDKFromInitials()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.INITIALS;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.INITIALS, sdk);
        }
        public void ToSDKFromFullName()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.FULLNAME;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.FULL_NAME, sdk);
        }
        public void ToSDKFromCapture()
        {
            Silanis.ESL.API.FieldSubtype api       = Silanis.ESL.API.FieldSubtype.CAPTURE;
            SignatureStyleConverter      converter = new SignatureStyleConverter(api);
            SignatureStyle sdk = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.HAND_DRAWN, sdk);
        }