test/langtools/tools/javadoc/api/basic/APITest.java
changeset 50167 cc705c956798
parent 48295 c79d31ba84b9
child 50293 edfb87b2520e
equal deleted inserted replaced
50166:1d683e243d8d 50167:cc705c956798
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   189     /**
   189     /**
   190      * Standard files generated by processing a documented class pkg.C.
   190      * Standard files generated by processing a documented class pkg.C.
   191      */
   191      */
   192     protected static Set<String> standardExpectFiles = new HashSet<>(Arrays.asList(
   192     protected static Set<String> standardExpectFiles = new HashSet<>(Arrays.asList(
   193             "allclasses-frame.html",
   193             "allclasses-frame.html",
       
   194             "allclasses-index.html",
   194             "allclasses-noframe.html",
   195             "allclasses-noframe.html",
       
   196             "allpackages-index.html",
   195             "constant-values.html",
   197             "constant-values.html",
   196             "deprecated-list.html",
   198             "deprecated-list.html",
   197             "help-doc.html",
   199             "help-doc.html",
   198             "index-all.html",
   200             "index-all.html",
   199             "index.html",
   201             "index.html",
   243             "type-search-index.zip"
   245             "type-search-index.zip"
   244     ));
   246     ));
   245 
   247 
   246     protected static Set<String> noIndexFiles = standardExpectFiles.stream()
   248     protected static Set<String> noIndexFiles = standardExpectFiles.stream()
   247             .filter(s -> !s.startsWith("jquery") && !s.startsWith("resources") && !s.endsWith("zip")
   249             .filter(s -> !s.startsWith("jquery") && !s.startsWith("resources") && !s.endsWith("zip")
   248                     && !s.equals("index-all.html") && !s.equals("search.js") && !s.endsWith("-search-index.js"))
   250             && !s.equals("index-all.html") && !s.equals("search.js") && !s.endsWith("-search-index.js")
       
   251             && !s.equals("allclasses-index.html") && !s.equals("allpackages-index.html"))
   249             .collect(Collectors.toSet());
   252             .collect(Collectors.toSet());
   250 }
   253 }
   251 
   254