@Test public void should_extract_version() { String content = "6 juin 2011 21:50:35</span><a href=\"http: JenkinsVersionExtractor jve = new JenkinsVersionExtractor(content); String version = jve.version(); assertEquals("1.407", version); }
String version() { String right = content.split("Jenkins ver\\.")[1].trim(); String version = right.split("<")[0]; return version; }
JenkinsVersionExtractor { String version() { String right = content.split("Jenkins ver\\.")[1].trim(); String version = right.split("<")[0]; return version; } }
JenkinsVersionExtractor { String version() { String right = content.split("Jenkins ver\\.")[1].trim(); String version = right.split("<")[0]; return version; } JenkinsVersionExtractor(String content); }
JenkinsVersionExtractor { String version() { String right = content.split("Jenkins ver\\.")[1].trim(); String version = right.split("<")[0]; return version; } JenkinsVersionExtractor(String content);  }
JenkinsVersionExtractor { String version() { String right = content.split("Jenkins ver\\.")[1].trim(); String version = right.split("<")[0]; return version; } JenkinsVersionExtractor(String content);   }