Commit b8458038 by fukai

增加报文格式生成案例

parent dc7d171a
package com.brilliace.swifteditor;
import com.brilliace.swifteditor.tag.message.MessageFormat;
import com.brilliace.swifteditor.tag.message.SWFMessage;
import junit.framework.TestCase;
public class SwitfMessagePattern extends TestCase {
private void genPattern(String mty)
{
SWFMessage swfMessage = MessageFormat.getSWFMessage(mty);
String json = swfMessage.toFormatJSON();
System.out.println("--------------------------------");
System.out.println(json);
}
public void testGen202()
{
genPattern("202");
}
public void testGen103()
{
genPattern("103");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment