Browse Source
* commit '27cd0f3a5dac67d40cf0ce5c4d819c42d139091f': REPORT-94637 单元测试修复 com.fr.form全修复 REPORT-94637 单元测试修复@obo-com.fr.nx REPORT-89867 插件管理整体优化 fix:兼容问题 REPORT-98932 设计器拖动至屏幕外时触发弹出框后无法进行操作 REPORT-98932 设计器拖动至屏幕外时触发弹出框后无法进行操作 REPORT-98903 fix: jxbrowser v7自动启动V6 无jira任务 代码工程适配apple silicon架构feature/x
superman
1 year ago
6 changed files with 14 additions and 36 deletions
@ -1,29 +0,0 @@ |
|||||||
package com.fr.base; |
|
||||||
|
|
||||||
import com.fr.form.main.Form; |
|
||||||
import com.fr.invoke.ClassHelper; |
|
||||||
import com.fr.main.impl.WorkBook; |
|
||||||
import java.util.Set; |
|
||||||
import junit.framework.TestCase; |
|
||||||
import org.junit.Assert; |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* @author hades |
|
||||||
* @version 10.0 |
|
||||||
* Created by hades on 2020/12/28 |
|
||||||
*/ |
|
||||||
public class ClassHelperTest extends TestCase { |
|
||||||
|
|
||||||
|
|
||||||
public void testGetClassLoaders() { |
|
||||||
WorkBook workBook = new WorkBook(); |
|
||||||
Set<ClassLoader> set = ClassHelper.getClassLoaders(workBook); |
|
||||||
Assert.assertFalse(set.isEmpty()); |
|
||||||
Form form = new Form(); |
|
||||||
Set<ClassLoader> set1 = ClassHelper.getClassLoaders(form); |
|
||||||
Assert.assertFalse(set1.isEmpty()); |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
Loading…
Reference in new issue