tournamentmatchmanagerintegrationtests.java
来自「一些很有用的spring的书籍」· Java 代码 · 共 23 行
JAVA
23 行
package com.apress.springbook.chapter02;
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
public class TournamentMatchManagerIntegrationTests extends AbstractDependencyInjectionSpringContextTests {
protected String[] getConfigLocations() {
return new String[] {
"classpath:com/apress/springbook/chapter02/application-context.xml"
};
}
private TournamentMatchManager tournamentMatchManager;
public void setTournamentMatchManager(TournamentMatchManager tmm) {
this.tournamentMatchManager = tmm;
}
public void testCreateMatch() throws Exception {
Match match = this.tournamentMatchManager.startMatch(2000);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?