test/com/google/javascript/jscomp/TypeCheckTest.java
/**
   * Tests the type of a function definition in externs.
   * The function defined by {@code functionDef} should be
   * named {@code functionName}.
   */
Tests the type of a function definition in externs.
The function defined by  functionDef should be
named  functionName.
Tests the type of a function definition in externs . The function defined by functionDef should be named functionName .
private void testExternFunctionType(String functionDef, String functionName,
      String functionType) {
    testTypesWithExterns(
        functionDef,
        "/** @type {number} */var a=" + functionName + ";",
        "initializing variable\n" +
        "found   : " + functionType + "\n" +
        "required: number", false);
  }
private void testExternFunctionType ( String functionDef , String functionName , String functionType ) { testTypesWithExterns ( functionDef , "/** @type {number} */var a=" + functionName + ";" , "initializing variable\n" + "found   : " + functionType + "\n" + "required: number" , false ) ; }
Tests the type of a function definition in externs.
Tests the type of a function definition in externs .