test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/hudson/HudsonVersionExtractorTest.java
test_class.identifier: HudsonVersionExtractorTest
test_case.body: @Test
      public void should_extract_version_in_jenkins_page() throws IOException {
          Class<? extends HudsonVersionExtractorTest> clazz = this.getClass();
          ClassLoader classLoader = clazz.getClassLoader();
          InputStream stream = classLoader.getResourceAsStream("hudson_version_page.html");
          byte[] data = ByteStreams.toByteArray(stream);
          HudsonVersionExtractor hve = new HudsonVersionExtractor(new String(data));
  
          String version = hve.version();
          assertEquals("1.396", version);
      }
test_case.class_method_signature: HudsonVersionExtractorTest.should_extract_version_in_jenkins_page()
test_case.full_signature: @Test public void should_extract_version_in_jenkins_page()
test_case.identifier: should_extract_version_in_jenkins_page
test_case.invocations: getClass getClassLoader getResourceAsStream toByteArray version assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_extract_version_in_jenkins_page()
focal_class.declarator: content
focal_class.modifier: private
focal_class.original_string: private String content;
focal_class.type: String
focal_class.var_name: content
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/hudson/HudsonVersionExtractor.java
focal_class.identifier: HudsonVersionExtractor
focal_class.class_method_signature: HudsonVersionExtractor.HudsonVersionExtractor(String content)
focal_class.full_signature: public  HudsonVersionExtractor(String content)
focal_class.identifier: HudsonVersionExtractor
focal_class.modifiers: public
focal_class.parameters: (String content)
focal_class.signature:  HudsonVersionExtractor(String content)
focal_class.class_method_signature: HudsonVersionExtractor.version()
focal_class.full_signature: public String version()
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String version()
focal_method.body: public String version() {
          String right = content.split("Hudson ver\\.")[1].trim();
          String version = right.split("<")[0];
          return version;
      }
focal_method.class_method_signature: HudsonVersionExtractor.version()
focal_method.full_signature: public String version()
focal_method.identifier: version
focal_method.invocations: trim split split
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String version()