From d298554b3b0aa4b37ea660cf3367819ff92c3508 Mon Sep 17 00:00:00 2001 From: liyawei Date: Mon, 30 May 2022 18:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=AF=E6=8F=90=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/adc/da/ApplicationTests.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/jero-boot/jero-boot-center/src/test/java/com/adc/da/ApplicationTests.java b/jero-boot/jero-boot-center/src/test/java/com/adc/da/ApplicationTests.java index a5e48479d..fa0c37928 100644 --- a/jero-boot/jero-boot-center/src/test/java/com/adc/da/ApplicationTests.java +++ b/jero-boot/jero-boot-center/src/test/java/com/adc/da/ApplicationTests.java @@ -1,12 +1,10 @@ package com.adc.da; -import com.alibaba.fastjson.JSONObject; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; -import java.util.List; @RunWith(SpringRunner.class) @SpringBootTest @@ -14,19 +12,6 @@ public class ApplicationTests { @Test public void contextLoads() { - String json = "[{\n" + - " \"id\":\"用户id111,字符串逗号拼接\",\n" + - " \"name\":\"部门id,字符串逗号拼接\",\n" + - " \"selecteddepartCodes\":\"部门code,字符串逗号拼接\"\n" + - "},"+ - "{\n" + - " \"id\":\"用户id222,字符串逗号拼接\",\n" + - " \"orgCode\":\"部门id,字符串逗号拼接\",\n" + - " \"selecteddepartCodes\":\"部门code,字符串逗号拼接\"\n" + - "}]"; - - List ooeo = JSONObject.parseArray(json, OOEO.class); - System.out.println("ok"); } }