From 67c043b47684c99913739eb78dfae4efdb5fde96 Mon Sep 17 00:00:00 2001 From: hades Date: Thu, 17 Sep 2020 20:02:34 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-38917=20=E6=A8=A1=E6=9D=BF=E7=9F=AD?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=86=85=E7=9A=84=E4=BF=9D=E5=AD=98=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=AF=B9=E5=BA=94=E5=A4=9A=E4=B8=AAUUID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/fr/design/DesignerEnvManagerTest.java | 8 ++++++++ .../com/fr/design/data/DesignTableDataManagerTest.java | 3 +++ 2 files changed, 11 insertions(+) diff --git a/designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java b/designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java index b7d123d66e..f60d6da291 100644 --- a/designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java +++ b/designer-base/src/test/java/com/fr/design/DesignerEnvManagerTest.java @@ -3,6 +3,7 @@ package com.fr.design; import junit.framework.TestCase; import java.util.Locale; +import org.junit.Assert; public class DesignerEnvManagerTest extends TestCase{ @@ -17,4 +18,11 @@ public class DesignerEnvManagerTest extends TestCase{ assertEquals("下边界", envManager.getLanguage(), Locale.SIMPLIFIED_CHINESE); } + + public void testGetUUID() { + DesignerEnvManager envManager = new DesignerEnvManager(); + String uuid0 = envManager.getUUID(); + String uuid1 = envManager.getUUID(); + Assert.assertEquals(uuid0, uuid1); + } } diff --git a/designer-base/src/test/java/com/fr/design/data/DesignTableDataManagerTest.java b/designer-base/src/test/java/com/fr/design/data/DesignTableDataManagerTest.java index 9a5ce7b8c1..0e32f7e2d4 100644 --- a/designer-base/src/test/java/com/fr/design/data/DesignTableDataManagerTest.java +++ b/designer-base/src/test/java/com/fr/design/data/DesignTableDataManagerTest.java @@ -155,4 +155,7 @@ public class DesignTableDataManagerTest { DesignTableDataManager.addDsColumnNames("ds1", new String[]{"a", "b", "c"}); Assert.assertEquals(columnNames, DesignTableDataManager.getDsColumnNames("ds1")); } + + public void testFireDsChanged() { + } }