T - type of the result to testpublic abstract class BuildResultTest<T extends hudson.plugins.analysis.core.BuildResult> extends AbstractEnglishLocaleTest
BuildResultTest.| Constructor and Description |
|---|
BuildResultTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkThatZeroWarningsIsUpdated()
Verifies that the zero warnings since build counter is correctly
propagated from build to build.
|
void |
checkZeroWarningsCounterInitialization()
Verifies that the zero warnings since build counter is correctly
initialized in the beginning.
|
void |
checkZeroWarningsCounterInitializationStartUnstable()
Verifies that the zero warnings since build counter is correctly
initialized in the beginning.
|
protected abstract T |
createBuildResult(hudson.model.AbstractBuild<?,?> build,
hudson.plugins.analysis.core.ParserResult project,
hudson.plugins.analysis.core.BuildHistory history)
Creates the build result under test.
|
protected void |
verifyHighScoreMessage(int expectedZeroWarningsBuildNumber,
boolean expectedIsNewHighScore,
long expectedHighScore,
long gap,
T result)
Verifies the highscore message.
|
initializeLocalepublic void checkZeroWarningsCounterInitializationStartUnstable()
public void checkThatZeroWarningsIsUpdated()
public void checkZeroWarningsCounterInitialization()
protected void verifyHighScoreMessage(int expectedZeroWarningsBuildNumber,
boolean expectedIsNewHighScore,
long expectedHighScore,
long gap,
T result)
expectedZeroWarningsBuildNumber - expected build number of last zero warnings buildexpectedIsNewHighScore - expected value of is highscore flagexpectedHighScore - expected highscore timegap - gap of msec to reach highscoreresult - the actual result to verifyprotected abstract T createBuildResult(hudson.model.AbstractBuild<?,?> build, hudson.plugins.analysis.core.ParserResult project, hudson.plugins.analysis.core.BuildHistory history)
build - the current buildproject - the project of the current buildhistory - the history of build results of the associated plug-inCopyright © 2004-2015. All Rights Reserved.