在 Eclipse 中,是否可以在不关闭代码格式化程序的情况下避免换行以获得更好的 jmockit 可读性?
通缉:
@Test
public void testRegisterNodeModelFactory() {
new Expectations() {{
RepositoryManager.getInstance(); times = CALLED;
}};
invoke(_measureModuleInstall, "registerNodeModeFactory");
}
目前:
@Test
public void testRegisterNodeModelFactory() {
new Expectations() {{
RepositoryManager.getInstance();
times = CALLED;
}};
invoke(_measureModuleInstall, "registerNodeModeFactory");
}