public class ExportTestFunctions extends java.lang.Object implements CompilerPass
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isTestFunction(java.lang.String functionName)
Whether a function is recognized as a test function.
|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
public void process(Node externs, Node root)
CompilerPassprocess in interface CompilerPassexterns - Top of external JS treeroot - Top of JS treepublic static boolean isTestFunction(java.lang.String functionName)
functionName - The name of the functiontrue if the function is recognized as a test function.Copyright © 2009-2019 Google. All Rights Reserved.