@@ -0,0 +1,2131 @@
+package com.alibaba.json.bvt.date;%0A%0Aimport java.util.Date;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONException;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class DateTest_error extends TestCase %7B%0A%0A    %0A    public void test_error() throws Exception %7B%0A        String text = %22%7B%5C%22value%5C%22:true%7D%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text, Date.class);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    %0A    public void test_error_1() throws Exception %7B%0A        String text = %22%7B1:true%7D%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text, Date.class);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_error_2() throws Exception %7B%0A        String text = %22%7B%5C%22@type%5C%22:%5C%22java.util.Date%5C%22,%5C%22value%5C%22:true%7D%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text, Date.class);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_error_3() throws Exception %7B%0A        String text = %22%7B%5C%22@type%5C%22:%5C%22java.util.Date%5C%22,%5C%22value%5C%22:true%7D%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_error_4() throws Exception %7B%0A        String text = %22%7B%5C%22@type%5C%22:%5C%22java.util.Date%5C%22,1:true%7D%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A    %0A    public void test_error_5() throws Exception %7B%0A        String text = %22%5C%22xxxxxxxxx%5C%22%22;%0A%0A        Exception error = null;%0A        try %7B%0A            JSON.parseObject(text, Date.class);%0A        %7D catch (JSONException ex) %7B%0A            error = ex;%0A        %7D%0A        Assert.assertNotNull(error);%0A    %7D%0A%7D%0A

add testcase for Date parse