Browse Source
Merge in DESIGN/design from ~DESTINY.LIN/design:release/11.0 to release/11.0 * commit 'd4ead29d0f0ebbfc360fe4fdacf9d654edcad7d7': REPORT-94637 单元测试修复 com.fr.form全修复newui
Destiny.Lin-林锦龙
1 year ago
1 changed files with 0 additions and 29 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