Package jetbrains.buildServer.serverSide
Interface FailedTestOutputFormatter
-
- All Superinterfaces:
ServerExtension
,TeamCityExtension
public interface FailedTestOutputFormatter extends ServerExtension
Extension point for providing custom logic for a test stacktrace formatting.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canFormat(SBuild build, FailedTestOutputBean bean)
Returns true if the specified test output can be formatted by this extension and false otherwisejava.lang.String
formatTestForWeb(SBuild build, int testId, FailedTestOutputBean bean)
Formats test output.
-
-
-
Method Detail
-
formatTestForWeb
java.lang.String formatTestForWeb(@NotNull SBuild build, int testId, @NotNull FailedTestOutputBean bean)
Formats test output.- Parameters:
build
- buildtestId
- current test idbean
- failed test info bean- Returns:
- string to be returned as the test stacktrace.
-
canFormat
boolean canFormat(@NotNull SBuild build, @NotNull FailedTestOutputBean bean)
Returns true if the specified test output can be formatted by this extension and false otherwise- Parameters:
build
- buildbean
- failed test info bean- Returns:
- see above
-
-