@@ -0,0 +1,1539 @@
+package com.alibaba.json.bvt.parser.array;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONException;%0Aimport com.alibaba.fastjson.parser.Feature;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class BeanToArrayTest_int extends TestCase %7B%0A%0A    public void test_bool() throws Exception %7B%0A        Model model = JSON.parseObject(%22%5B-100,100%5D%22, Model.class, Feature.SupportArrayToBean);%0A        Assert.assertEquals(-100L, model.v1);%0A        Assert.assertEquals(100L, model.v2);%0A    %7D%0A%0A    public void test_bool_error() throws Exception %7B%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(%22%5B-%22, Model.class, Feature.SupportArrayToBean);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_bool_error_max() throws Exception %7B%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(%22%5B1,92233720368547758000%7D%22, Model.class, Feature.SupportArrayToBean);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_bool_error_min() throws Exception %7B%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(%22%5B1,-92233720368547758000%7D%22, Model.class, Feature.SupportArrayToBean);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A%0A    public static class Model %7B%0A        public int v1;%0A        public int v2;%0A    %7D%0A%7D%0A

add testcase