Browse Source

Pull request #12356: REPORT-94637 单元测试修复 com.fr.form & com.fr.base全修复

Merge in DESIGN/design from ~DESTINY.LIN/design:release/11.0 to release/11.0

* commit 'd4ead29d0f0ebbfc360fe4fdacf9d654edcad7d7':
  REPORT-94637 单元测试修复 com.fr.form全修复
newui
parent
commit
9179e632eb
  1. 29
      designer-base/src/test/java/com/fr/base/ClassHelperTest.java

29
designer-base/src/test/java/com/fr/base/ClassHelperTest.java

@ -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…
Cancel
Save