|
|
|
@ -56,6 +56,8 @@ public class TemplateInfoCollectorTest {
|
|
|
|
|
initialFileContent = FileUtils.readFileToString(new File(filePath), "utf-8"); |
|
|
|
|
|
|
|
|
|
Reflect.on(TemplateInfoCollector.class).set("instance", null); |
|
|
|
|
// 后执行 testReadXML 用例时,之前保留的单例会造成影响
|
|
|
|
|
Reflect.on(DesignerOpenHistory.class).set("singleton", null); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@After |
|
|
|
|