Update the file filter in DumpRenderTree (and DumpRenderTree2) so that
we run tests in .xhtml files. Change-Id: I2af0bd29acef5bafa9dee9292aafc18d77a84080
This commit is contained in:
@@ -227,13 +227,14 @@ public class FileFilter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the file is a test or something else.
|
||||
* Checks if the file is a test.
|
||||
* Currently we run .html and .xhtml tests.
|
||||
*
|
||||
* @param testName
|
||||
* @return
|
||||
* if the file is a test
|
||||
*/
|
||||
public static boolean isTestFile(String testName) {
|
||||
return testName.endsWith(".html");
|
||||
return testName.endsWith(".html") || testName.endsWith(".xhtml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user