|
|||||||||
| 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.AbstractHealthDescriptorTest
public abstract class AbstractHealthDescriptorTest
Abstract test case for AbstractHealthDescriptor.
| Field Summary | |
|---|---|
protected static java.lang.String |
WRONG_DESCRIPTION
Error message. |
| Constructor Summary | |
|---|---|
AbstractHealthDescriptorTest()
|
|
| Method Summary | |
|---|---|
protected abstract hudson.plugins.analysis.core.AbstractHealthDescriptor |
createHealthDescriptor(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
Factory method to create the health descriptor under test. |
void |
testConversionOfHealthiness()
Tests the method AbstractHealthDescriptor.getHealthyAnnotations()
and AbstractHealthDescriptor.getUnHealthyAnnotations(). |
void |
testConversionOfThresholds()
Tests the method AbstractHealthDescriptor#getMinimumAnnotations. |
void |
testHealthyThresholds()
Tests the method AbstractHealthDescriptor.isThresholdEnabled(). |
void |
testThresholds()
Tests the method AbstractHealthDescriptor.isThresholdEnabled(). |
void |
verifyContractOfHealthy()
Tests the method AbstractHealthDescriptor.getHealthyAnnotations(). |
void |
verifyContractOfUnHealthy()
Tests the method AbstractHealthDescriptor.getHealthyAnnotations(). |
| 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 |
| Field Detail |
|---|
protected static final java.lang.String WRONG_DESCRIPTION
| Constructor Detail |
|---|
public AbstractHealthDescriptorTest()
| Method Detail |
|---|
public void testThresholds()
AbstractHealthDescriptor.isThresholdEnabled().
public void testHealthyThresholds()
AbstractHealthDescriptor.isThresholdEnabled().
public void testConversionOfThresholds()
AbstractHealthDescriptor#getMinimumAnnotations.
public void testConversionOfHealthiness()
AbstractHealthDescriptor.getHealthyAnnotations()
and AbstractHealthDescriptor.getUnHealthyAnnotations().
public void verifyContractOfHealthy()
AbstractHealthDescriptor.getHealthyAnnotations().
public void verifyContractOfUnHealthy()
AbstractHealthDescriptor.getHealthyAnnotations().
protected abstract hudson.plugins.analysis.core.AbstractHealthDescriptor createHealthDescriptor(hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
healthDescriptor - the basis health descriptor mock
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||