Browse Source

Pull request #3571: REPORT-47034 FRM新前端&新自适应合入主JAR

Merge in DESIGN/design from ~KERRY/design_10.0:feature/x to feature/x

* commit '8c7c2ac7f38240bb8489aa320fbad938c37e585b':
  单元测试
  REPORT-47034 FRM新前端&新自适应合入主JAR
research/11.0
kerry 4 years ago
parent
commit
9ff7fd8e16
  1. 2
      designer-form/src/test/java/com/fr/design/preview/FormAdaptivePreviewTest.java

2
designer-form/src/test/java/com/fr/design/preview/FormAdaptivePreviewTest.java

@ -1,7 +1,6 @@
package com.fr.design.preview; package com.fr.design.preview;
import com.fr.design.mainframe.JForm; import com.fr.design.mainframe.JForm;
import com.fr.design.mainframe.JWorkBook;
import com.fr.general.web.ParameterConstants; import com.fr.general.web.ParameterConstants;
import org.easymock.EasyMock; import org.easymock.EasyMock;
import org.junit.Assert; import org.junit.Assert;
@ -25,6 +24,5 @@ public class FormAdaptivePreviewTest {
public void testAccept() { public void testAccept() {
FormAdaptivePreview formPreview = new FormAdaptivePreview(); FormAdaptivePreview formPreview = new FormAdaptivePreview();
Assert.assertTrue(formPreview.accept(EasyMock.mock(JForm.class))); Assert.assertTrue(formPreview.accept(EasyMock.mock(JForm.class)));
Assert.assertFalse(formPreview.accept(EasyMock.mock(JWorkBook.class)));
} }
} }

Loading…
Cancel
Save