"Pool Max Wait (ms)": 5000,
"Pool Remove Abandoned": false,
"Pool Remove Abandoned Timeout (seconds)": 300
- },
- "Statistics": {
- "id": "AU-TpxcB-iU5OvuD2FL7",
- "version": "5.1",
- "plugins": {
- "scmgit": "1.0-RC1",
- "findbugs": "3.1",
- "scmsvn": "1.0-RC1",
- "java": "2.9.1"
- },
- "userCount": 3,
- "projectCount": 2,
- "lines": 500,
- "ncloc": 300,
- "projectCountByLanguage": {
- "java": 2,
- "kotlin": 1,
- "js": 1
- },
- "nclocByLanguage": {
- "java": 500,
- "kotlin": 2500,
- "js": 50
- }
}
}
public class InfoActionTest {
@Rule
- public UserSessionRule userSessionRule = UserSessionRule.standalone()
+ public final UserSessionRule userSessionRule = UserSessionRule.standalone()
.logIn("login")
.setName("name");
- private SystemInfoWriter jsonWriter = json -> json.prop("key", "value");
- private InfoAction underTest = new InfoAction(userSessionRule, jsonWriter);
- private WsActionTester ws = new WsActionTester(underTest);
+ private final SystemInfoWriter jsonWriter = json -> json.prop("key", "value");
+ private final InfoAction underTest = new InfoAction(userSessionRule, jsonWriter);
+ private final WsActionTester ws = new WsActionTester(underTest);
@Test
public void test_definition() {