Browse Source

Merge pull request #1377 in DESIGN/design from ~LUCIAN.CHEN/design:feature/10.0 to feature/10.0

* commit '3249186807023f6be93383063a5099fd782da461':
  1.8编译单元测试代码失败
research/11.0
Lucian.Chen 5 years ago
parent
commit
75a0292ca7
  1. 4
      designer-base/src/test/java/com/fr/design/mainframe/template/info/TemplateInfoTest.java

4
designer-base/src/test/java/com/fr/design/mainframe/template/info/TemplateInfoTest.java

@ -54,7 +54,7 @@ public class TemplateInfoTest {
TemplateInfo templateInfo = TemplateInfo.newInstance(templateID);
assertEquals(templateID, templateInfo.getTemplateID());
assertEquals(StringUtils.EMPTY, Reflect.on(templateInfo).field("originID").get());
assertEquals(0, Reflect.on(templateInfo).field("idleDayCount").get());
assertEquals(0, (int) Reflect.on(templateInfo).field("idleDayCount").get());
assertEquals("{}", templateInfo.getProcessMapJsonString());
Map<String, Object> consumingMap = Reflect.on(templateInfo).field("consumingMap").get();
@ -77,7 +77,7 @@ public class TemplateInfoTest {
TemplateInfo templateInfo = TemplateInfo.newInstance(templateID, originID, originTime);
assertEquals(templateID, templateInfo.getTemplateID());
assertEquals(originID, Reflect.on(templateInfo).field("originID").get());
assertEquals(0, Reflect.on(templateInfo).field("idleDayCount").get());
assertEquals(0, (int) Reflect.on(templateInfo).field("idleDayCount").get());
assertEquals("{}", templateInfo.getProcessMapJsonString());
Map<String, Object> consumingMap = Reflect.on(templateInfo).field("consumingMap").get();

Loading…
Cancel
Save