Example usage for org.eclipse.jdt.core.tests.util Util getProblemLog

List of usage examples for org.eclipse.jdt.core.tests.util Util getProblemLog

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.tests.util Util getProblemLog.

Prototype

public static String getProblemLog(CompilationResult compilationResult, boolean showCategory,
        boolean showWarningToken) 

Source Link

Document

Returns the compilation errors / warnings for the given CompilationResult.

Usage

From source file:org.eclipse.objectteams.otdt.tests.compiler.smap.Requestor.java

License:Open Source License

public void acceptResult(CompilationResult compilationResult) {
    this.hasErrors |= compilationResult.hasErrors();
    this.problemLog += Util.getProblemLog(compilationResult, this.showCategory, this.showWarningToken);
    outputClassFiles(compilationResult);
    if (this.clientRequestor != null) {
        this.clientRequestor.acceptResult(compilationResult);
    }/*from  w ww.  j  ava2s. co  m*/
}