Skip to content

Commit

Permalink
refactor testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Jan 2, 2019
1 parent 902ef14 commit 540c487
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.55_preview_05</version>
<version>1.2.55_preview_06</version>

<packaging>jar</packaging>
<name>fastjson</name>
Expand Down
13 changes: 13 additions & 0 deletions src/test/java/com/alibaba/json/bvt/issue_2100/Issue2150.java
@@ -0,0 +1,13 @@
package com.alibaba.json.bvt.issue_2100;

import com.alibaba.fastjson.JSONArray;
import junit.framework.TestCase;

public class Issue2150 extends TestCase {
public void test_for_issue() throws Exception {
int [][][] arr = new int[100][100][100];
JSONArray jsonObj = (JSONArray) JSONArray.toJSON(arr);
assertNotNull(jsonObj);
assertNotNull(jsonObj.getJSONArray(0));
}
}
@@ -1,4 +1,4 @@
package com.alibaba.json.bvt.issue_2100;
package com.alibaba.json.bvt.issue_2200;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.parser.ParserConfig;
Expand Down
@@ -1,4 +1,4 @@
package com.alibaba.json.bvt.issue_2100;
package com.alibaba.json.bvt.issue_2200;

import com.alibaba.fastjson.JSON;
import junit.framework.TestCase;
Expand Down
@@ -1,4 +1,4 @@
package com.alibaba.json.bvt.issue_2100;
package com.alibaba.json.bvt.issue_2200;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
Expand Down

0 comments on commit 540c487

Please sign in to comment.