@Test public void testToLinksCount() throws IOException { List<Link> links = CucumberFeatureFinder.toLinks(context, new File("target/test-classes/Features/TpmFeatureCommented.feature")); assertEquals(8, links.size()); }
public static List<Link> toLinks(Context context, File file) throws IOException { String content = new String(Files.readAllBytes(file.toPath()), Charset.defaultCharset()); return toLinks(context, file, content); }
CucumberFeatureFinder extends FileTreeFinder { public static List<Link> toLinks(Context context, File file) throws IOException { String content = new String(Files.readAllBytes(file.toPath()), Charset.defaultCharset()); return toLinks(context, file, content); } }
CucumberFeatureFinder extends FileTreeFinder { public static List<Link> toLinks(Context context, File file) throws IOException { String content = new String(Files.readAllBytes(file.toPath()), Charset.defaultCharset()); return toLinks(context, file, content); }  }
CucumberFeatureFinder extends FileTreeFinder { public static List<Link> toLinks(Context context, File file) throws IOException { String content = new String(Files.readAllBytes(file.toPath()), Charset.defaultCharset()); return toLinks(context, file, content); }  static List<Link> toLinks(Context context, File file); static List<Link> toLinks(Context context, File file, String content); static List<String> getCucumberSteps(); }
CucumberFeatureFinder extends FileTreeFinder { public static List<Link> toLinks(Context context, File file) throws IOException { String content = new String(Files.readAllBytes(file.toPath()), Charset.defaultCharset()); return toLinks(context, file, content); }  static List<Link> toLinks(Context context, File file); static List<Link> toLinks(Context context, File file, String content); static List<String> getCucumberSteps();  }