Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfa448f7 authored by Iain Merrick's avatar Iain Merrick Committed by Android (Google) Code Review
Browse files

Merge "Include .php tests in DumpRenderTree2."

parents e8934a67 ace92b87
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -240,13 +240,18 @@ public class FileFilter {

    /**
     * Checks if the file is a test.
     * Currently we run .html and .xhtml tests.
     * Currently we run .html, .xhtml and .php tests.
     *
     * @warning You MUST also call isTestDir() on the parent directory before
     * assuming that a file is a test.
     *
     * @param testName
     * @return if the file is a test
     */
    public static boolean isTestFile(String testName) {
        return testName.endsWith(".html") || testName.endsWith(".xhtml");
        return testName.endsWith(".html")
            || testName.endsWith(".xhtml")
            || testName.endsWith(".php");
    }

    /**