Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor_java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
swifteditor_java
Commits
b8458038
Commit
b8458038
authored
Jun 03, 2021
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加报文格式生成案例
parent
dc7d171a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
SwitfMessagePattern.java
...t/java/com/brilliace/swifteditor/SwitfMessagePattern.java
+26
-0
No files found.
src/test/java/com/brilliace/swifteditor/SwitfMessagePattern.java
0 → 100644
View file @
b8458038
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"
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment