|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.analysis.test.AbstractEnglishLocaleTest
hudson.plugins.analysis.test.BuildResultTest<T>
T
- type of the result to testpublic abstract class BuildResultTest<T extends hudson.plugins.analysis.core.BuildResult>
Tests the class BuildResultTest
.
Constructor Summary | |
---|---|
BuildResultTest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class hudson.plugins.analysis.test.AbstractEnglishLocaleTest |
---|
initializeLocale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildResultTest()
Method Detail |
---|
public 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-in
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |