Exemple #1
0
        public void ToSDKFromTextArea()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.TEXT_AREA.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.TEXT_AREA.getApiValue());
        }
Exemple #2
0
        public void ToSDKFromNotarize()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.SEAL.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.SEAL.getApiValue());
        }
Exemple #3
0
        public void ToSDKFromDate()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter("DATE");
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), "DATE");
        }
Exemple #4
0
        public void ToSDKFromList()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.DROP_LIST.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.DROP_LIST.getApiValue());
        }
Exemple #5
0
        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());
        }
Exemple #6
0
        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());
        }
Exemple #7
0
        public void ToSDKFromQRCode()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.BOUND_QRCODE.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.AreEqual(sdk.getApiValue(), FieldStyle.BOUND_QRCODE.getApiValue());
        }
Exemple #8
0
        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());
        }
        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);
        }
Exemple #10
0
        public void ToSDKFromInitials()
        {
            SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.INITIALS.getApiValue());
            SignatureStyle          sdk       = converter.ToSDKSignatureStyle();

            Assert.IsNotNull(sdk);
            Assert.AreEqual(SignatureStyle.INITIALS, sdk);
        }
Exemple #11
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);
        }
Exemple #12
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 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);
        }
        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);
        }