third_party/closure-compiler/src/test/com/google/javascript/jscomp/IntegrationTest.java
/** Creates a CompilerOptions object with google coding conventions. */
Creates a CompilerOptions object with google coding conventions.
Creates a CompilerOptions object with google coding conventions .
@Override
  protected CompilerOptions createCompilerOptions() {
    CompilerOptions options = new CompilerOptions();
    options.setLanguageOut(LanguageMode.ECMASCRIPT3);
    options.setDevMode(DevMode.EVERY_PASS);
    options.setCodingConvention(new GoogleCodingConvention());
    options.setRenamePrefixNamespaceAssumeCrossChunkNames(true);
    options.setAssumeGettersArePure(false);
    options.setWarningLevel(DiagnosticGroups.FEATURES_NOT_SUPPORTED_BY_PASS, CheckLevel.OFF);
    return options;
  }
@ Override protected CompilerOptions createCompilerOptions ( ) { CompilerOptions options = new CompilerOptions ( ) ; options . setLanguageOut ( LanguageMode . ECMASCRIPT3 ) ; options . setDevMode ( DevMode . EVERY_PASS ) ; options . setCodingConvention ( new GoogleCodingConvention ( ) ) ; options . setRenamePrefixNamespaceAssumeCrossChunkNames ( true ) ; options . setAssumeGettersArePure ( false ) ; options . setWarningLevel ( DiagnosticGroups . FEATURES_NOT_SUPPORTED_BY_PASS , CheckLevel . OFF ) ; return options ; }
Creates a CompilerOptions object with google coding conventions.
Creates a CompilerOptions object with google coding conventions .