< prev index next >

test/langtools/jdk/javadoc/doclet/testFramesNoFrames/TestFramesNoFrames.java

Print this page

        

*** 299,320 **** } private void checkFrameFiles() { // these files are all only generated in frames mode ! // <module>-frame.html and <module>-type-frame.html files checkFiles(frames, classes.stream() .filter(c -> isInModule(c)) .map(c -> modulePart(c)) .flatMap(m -> Arrays.asList( ! m + "-frame.html", ! m + "-type-frame.html").stream()) .collect(Collectors.toSet())); // <package>/package-frame.html files checkFiles(frames, classes.stream() ! .map(c -> packagePart(c) + "/package-frame.html") .collect(Collectors.toSet())); } private void checkHelpDoc() { // the Help page only describes Frame/NoFrames in frames mode --- 299,320 ---- } private void checkFrameFiles() { // these files are all only generated in frames mode ! // <module>/module-frame.html and <module>/module-type-frame.html files checkFiles(frames, classes.stream() .filter(c -> isInModule(c)) .map(c -> modulePart(c)) .flatMap(m -> Arrays.asList( ! m + "/module-frame.html", ! m + "/module-type-frame.html").stream()) .collect(Collectors.toSet())); // <package>/package-frame.html files checkFiles(frames, classes.stream() ! .map(c -> (isInModule(c) ? (modulePart(c) + "/") : "") + packagePart(c) + "/package-frame.html") .collect(Collectors.toSet())); } private void checkHelpDoc() { // the Help page only describes Frame/NoFrames in frames mode
*** 358,368 **** private void checkNavBar() { // the files containing a navigation bar should only // contain FRAMES/NO-FRAMES links in frames mode List<String> navbarFiles = new ArrayList<>(); navbarFiles.addAll(classes.stream() ! .map(c -> toHtml(packageClassPart(c))) .collect(Collectors.toSet())); for (String f : navbarFiles) { checkOutput(f, frames, "target=\"_top\">Frames</a>", "target=\"_top\">No&nbsp;Frames</a>"); --- 358,368 ---- private void checkNavBar() { // the files containing a navigation bar should only // contain FRAMES/NO-FRAMES links in frames mode List<String> navbarFiles = new ArrayList<>(); navbarFiles.addAll(classes.stream() ! .map(c -> (isInModule(c) ? (modulePart(c) + "/") : "") + toHtml(packageClassPart(c))) .collect(Collectors.toSet())); for (String f : navbarFiles) { checkOutput(f, frames, "target=\"_top\">Frames</a>", "target=\"_top\">No&nbsp;Frames</a>");
< prev index next >