From e08eccd6e5855891694cad5490c00d62750cf41f Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 12 三月 2025 17:53:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-plat-sdk/src/test/java/com/iailab/sdk/IailabClientTest.java | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/iailab-plat-sdk/src/test/java/com/iailab/sdk/IailabClientTest.java b/iailab-plat-sdk/src/test/java/com/iailab/sdk/IailabClientTest.java index 9ca7867..00021aa 100644 --- a/iailab-plat-sdk/src/test/java/com/iailab/sdk/IailabClientTest.java +++ b/iailab-plat-sdk/src/test/java/com/iailab/sdk/IailabClientTest.java @@ -1,12 +1,14 @@ package com.iailab.sdk; -import com.iailab.framework.test.core.ut.BaseMockitoUnitTest; import com.iailab.sdk.auth.client.IailabAuthClient; -import com.iailab.sdk.auth.client.dto.TokenDTO; -import com.iailab.sdk.auth.client.vo.AuthLoginReqVO; -import org.junit.jupiter.api.Test; +import com.iailab.sdk.auth.client.common.pojo.CommonResult; +import com.iailab.sdk.auth.client.dto.ApiDataQueryDTO; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; -import javax.annotation.Resource; +import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -18,7 +20,9 @@ * * @author iailab */ -public class IailabClientTest extends BaseMockitoUnitTest { +@RunWith(SpringRunner.class) +@SpringBootTest +public class IailabClientTest { @Test public void testLogin() { @@ -44,5 +48,12 @@ System.out.println(s); } + @Test + public void testQueryPointsRealValue() { + List<String> pointNos = new ArrayList<>(); + pointNos.add("111"); + CommonResult<Map<String, Object>> stringObjectMap = IailabAuthClient.getInstance().queryPointsRealValue(pointNos); + System.out.println(stringObjectMap); + } } -- Gitblit v1.9.3