Skip to content

Commit

Permalink
subtle change
Browse files Browse the repository at this point in the history
  • Loading branch information
Bosn committed Oct 28, 2013
1 parent 68e01f5 commit 4da2233
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Rigel Automation Platform
一个请求(`request`)包含一个请求参数列表,和一个响应参数列表。
对每一个参数,可能包含子参数(也就是复杂参数,例如{"a" : 1, "b" : {"p" : 2}})

基于这种结构化的文档,RAP可零成本的自动生成游泳的模拟数据
基于这种结构化的文档,RAP可零成本的自动生成有用的模拟数据

RAP主要功能
1. 支持版本管理
Expand Down
10 changes: 5 additions & 5 deletions src/com/taobao/rigel/rap/mock/service/impl/MockMgrImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public class MockMgrImpl implements MockMgr {
* random seed
*/
private int _num = 1;
private String[] NAME_LIB = { "霍雍", "行列好基友", "肌肉男幻刺", "领饭队长金台", "爱起早望天",
"木头李牧", "三冰", "自勉", "思霏", "诚冉", "甘苦", "勇智", "墨汁老湿", "圣香", "定球",
"征宇", "灵兮", "永盛", "小婉", "紫丞", "少侠", "木谦", "周亮", "宝山", "张中", "晓哲老师",
"夜沨大湿" };
private String[] NAME_LIB = { "霍雍", "行列", "幻刺", "金台", "望天",
"李牧", "三冰", "自勉", "思霏", "诚冉", "甘苦", "勇智", "墨汁老湿", "圣香", "定球",
"征宇", "灵兮", "永盛", "小婉", "紫丞", "少侠", "木谦", "周亮", "宝山", "张中", "晓哲",
"夜沨" };
private String[] LOCATION_LIB = { "北京 朝阳区", "北京 海淀区", "北京 昌平区",
"吉林 长春 绿园区", "吉林 吉林 丰满区" };
private String[] PHONE_LIB = { "15813243928", "13884928343", "18611683243",
Expand Down Expand Up @@ -362,7 +362,7 @@ private String mockValue(Parameter para, int index) {
* from tag string to tag map
*
* @param tags
* tag string input by parsing whole string splited by seperator
* tag string input by parsing whole string split by separator
* ";"
* @param tagMap
* tag map
Expand Down

0 comments on commit 4da2233

Please sign in to comment.