Package org.jsmpp.bean

Examples of org.jsmpp.bean.DataCoding


    /* ********** Multi line tests ************* */

    @Test
    public void multiLineSplitsCorrectlyFor7Bit() throws Exception {
        DataCoding dataCoding = DataCodings.newInstance((byte) 0);

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }
View Full Code Here


        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }

    @Test
    public void multiLineSplitsCorrectlyFor8Bit() throws Exception {
        DataCoding dataCoding = DataCodings.newInstance((byte) 4);

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }
View Full Code Here

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }

    @Test
    public void multiLineSplitsCorrectlyFor16Bit() throws Exception {
        DataCoding dataCoding = DataCodings.newInstance((byte) 8);

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }
View Full Code Here

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }

    @Test
    public void multiLineSplitsCorrectlyForSimpleDataCoding() throws Exception {
        DataCoding dataCoding = new SimpleDataCoding();

        verifyMultilineMessageSplitCorrectlyForDataCoding(dataCoding);
    }
View Full Code Here

TOP

Related Classes of org.jsmpp.bean.DataCoding

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.