Package com.volantis.testtools.config

Examples of com.volantis.testtools.config.ConfigValueChannelSmtp


        sms.serviceType = "sms service type";
        sms.serviceAddress = "sms service address";
        sms.supportsMulti = Boolean.FALSE;
        mps.channels.add(sms);

        ConfigValueChannelSmtp smtp = new ConfigValueChannelSmtp();
        smtp.channelClass =
                "com.volantis.mps.channels.SMTPChannelAdapter";
        smtp.name = "demo smtp";
        smtp.hostName = "smtp hostname";
        smtp.authorisationEnabled = Boolean.TRUE;
View Full Code Here


                assertEquals(sms.serviceAddress,
                        attrs.get(LogicaSMSChannelAdapter.SERVICE_ADDRESS));
                assertEquals(valueOf(sms.supportsMulti),
                        attrs.get(LogicaSMSChannelAdapter.SUPPORTS_MULTI));
            } else if (channel instanceof ConfigValueChannelSmtp) {
                ConfigValueChannelSmtp smtp = (ConfigValueChannelSmtp) channel;
                assertEquals(smtp.hostName,
                        attrs.get(SMTPChannelAdapter.HOST_NAME));
                assertEquals(valueOf(smtp.authorisationEnabled),
                        attrs.get(SMTPChannelAdapter.REQUIRES_AUTH));
                assertEquals(smtp.userName,
View Full Code Here

        mms.name = MMS_CHANNEL;
        mms.url = "http://127.0.0.1:" + PORT;
        mms.defaultCountryCode = new Integer(44);
        mps.channels.add(mms);

        ConfigValueChannelSmtp smtp = new ConfigValueChannelSmtp();
        smtp.channelClass = "com.volantis.mps.channels.SMTPChannelAdapter";
        smtp.name = SMTP_CHANNEL;
        smtp.hostName = "127.0.0.1";
        smtp.authorisationEnabled = Boolean.FALSE;
        smtp.userName = "user";
View Full Code Here

TOP

Related Classes of com.volantis.testtools.config.ConfigValueChannelSmtp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.