@@ -0,0 +1,2141 @@
+package com.alibaba.json.bvt.parser;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Random;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.serializer.SerializerFeature;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class BigListStringFieldTest_private extends TestCase %7B%0A    public void test_list() throws Exception %7B%0A        Model model = new Model();%0A        model.values = new ArrayList%3CString%3E(10000);%0A        for (int i = 0; i %3C 10000; ++i) %7B%0A            String value = random(100);%0A            model.values.add(value);%0A        %7D%0A        String text = JSON.toJSONString(model);%0A        Model model2 = JSON.parseObject(text, Model.class);%0A        %0A        Assert.assertEquals(model.values, model2.values);%0A    %7D%0A    %0A    public void test_list_browserComptible() throws Exception %7B%0A        Model model = new Model();%0A        model.values = new ArrayList%3CString%3E(10000);%0A        for (int i = 0; i %3C 10000; ++i) %7B%0A            String value = random(100);%0A            model.values.add(value);%0A        %7D%0A        String text = JSON.toJSONString(model, SerializerFeature.BrowserCompatible);%0A        Model model2 = JSON.parseObject(text, Model.class);%0A        %0A        Assert.assertEquals(model.values, model2.values);%0A    %7D%0A    %0A    public void test_list_browserSecure() throws Exception %7B%0A        Model model = new Model();%0A        model.values = new ArrayList%3CString%3E(10000);%0A        for (int i = 0; i %3C 10000; ++i) %7B%0A            String value = random(100);%0A            model.values.add(value);%0A        %7D%0A        String text = JSON.toJSONString(model, SerializerFeature.BrowserSecure);%0A        Model model2 = JSON.parseObject(text, Model.class);%0A        %0A        Assert.assertEquals(model.values, model2.values);%0A    %7D%0A    %0A    private static class Model %7B%0A        public List%3CString%3E values;%0A    %7D%0A    %0A    public String random(int count) %7B%0A        Random random = new Random();%0A        %0A        char%5B%5D chars = new char%5Bcount%5D;%0A        for (int i = 0; i %3C count; ++i) %7B%0A            chars%5Bi%5D = (char) random.nextInt(256);%0A        %7D%0A        %0A        return new String(chars);%0A    %7D%0A%7D%0A

add testcase