use of com.zx.sms.codec.smgp.msg.SMGPDeliverMessage in project SMSGate by Lihuanghe.
the class TestSMGPDeliverMessage method testascii.
@Test
public void testascii() {
SMGPDeliverMessage msg = new SMGPDeliverMessage();
msg.setDestTermId("13800138000");
msg.setLinkId("1023rsd");
msg.setMsgContent("12345678901AssBC56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890abcdefghijklmnopqrstuvwxyzABCE");
msg.setMsgId(new MsgId());
msg.setSrcTermId("10086988");
testlongCodec(msg);
}
use of com.zx.sms.codec.smgp.msg.SMGPDeliverMessage in project SMSGate by Lihuanghe.
the class TestSMGPDeliverMessage method test1.
@Test
public void test1() {
SMGPDeliverMessage msg = new SMGPDeliverMessage();
msg.setDestTermId("13800138000");
msg.setLinkId("1023rsd");
msg.setMsgContent("第一种:通过注解@PostConstruct 和 @PreDestroy 方法 实现初始化和销毁bean之前进行的操作");
msg.setMsgId(new MsgId());
msg.setSrcTermId("10086988");
testlongCodec(msg);
}
use of com.zx.sms.codec.smgp.msg.SMGPDeliverMessage in project SMSGate by Lihuanghe.
the class TestSMGPDeliverMessage method test3.
@Test
public void test3() {
SMGPDeliverMessage msg = new SMGPDeliverMessage();
msg.setDestTermId("13800138000");
msg.setLinkId("1023rsd");
SMGPReportData report = new SMGPReportData();
report.setStat("Delivd");
report.setDlvrd("111");
report.setDoneTime("20180703000111");
report.setErr("000");
report.setMsgId(new MsgId());
report.setSub("asf");
report.setSubTime("20180703000111");
report.setTxt("www");
msg.setReport(report);
msg.setMsgId(new MsgId());
msg.setSrcTermId("10086988");
testlongCodec(msg);
}
Aggregations