Browse Source
Merge in DESIGN/design from release/10.0 to bugfix/10.0 * commit 'a1d3ac858418bf370cc80600b0fff34430a019d3': REPORT-35387 参数面板已有控件的时候,点击右侧全部添加,控件重叠 代码格式调整 REPORT-35387 参数面板已有控件的时候,点击右侧全部添加,控件重叠 删除打印语句 REPORT-35387 参数面板已有控件的时候,点击右侧全部添加,控件重叠 REPORT-35205 fix REPORT-35379 && REPORT-35205 修改属性访问修饰符 REPORT-35253 切换远程到本地设计器的问题 REPORT-34780 && CHART-14441 CHART-14624 调整面积图系列面板不透明的enable属性的check REPORT-35381 && REPORT-35379 CHART-14598 雷达图增加线宽设置bugfix/10.0
ju.ju
4 years ago
15 changed files with 164 additions and 37 deletions
@ -0,0 +1,25 @@ |
|||||||
|
package com.fr.design.env; |
||||||
|
|
||||||
|
import com.fr.workspace.connect.WorkspaceConnectionInfo; |
||||||
|
import junit.framework.TestCase; |
||||||
|
import org.junit.Assert; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2020/7/15 |
||||||
|
*/ |
||||||
|
public class RemoteDesignerWorkspaceInfoTest extends TestCase { |
||||||
|
|
||||||
|
public void testCheckValid() { |
||||||
|
RemoteDesignerWorkspaceInfo workspaceInfo0 = RemoteDesignerWorkspaceInfo.create(new WorkspaceConnectionInfo("http://localhost:8075/webroot/decision", "admin", "123", "", "", true)); |
||||||
|
RemoteDesignerWorkspaceInfo workspaceInfo1 = RemoteDesignerWorkspaceInfo.create(new WorkspaceConnectionInfo("http://127.0.0.1:8075/webroot/decision", "admin", "123", "", "", true)); |
||||||
|
RemoteDesignerWorkspaceInfo workspaceInfo2 = RemoteDesignerWorkspaceInfo.create(new WorkspaceConnectionInfo("https://127.0.0.1:8075/webroot/decision", "admin", "123", "", "", true)); |
||||||
|
RemoteDesignerWorkspaceInfo workspaceInfo3 = RemoteDesignerWorkspaceInfo.create(new WorkspaceConnectionInfo("https://localhost:8075/webroot/decision", "admin", "123", "", "", true)); |
||||||
|
Assert.assertFalse(workspaceInfo0.checkValid()); |
||||||
|
Assert.assertFalse(workspaceInfo1.checkValid()); |
||||||
|
Assert.assertFalse(workspaceInfo2.checkValid()); |
||||||
|
Assert.assertFalse(workspaceInfo3.checkValid()); |
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue