public class MetricRegistryTest extends Object
Constructor and Description |
---|
MetricRegistryTest() |
Modifier and Type | Method and Description |
---|---|
void |
conflictingMetadataTest()
if there is a mismatch because the type specified in the `Metadata` is different than the one implied by the
method name, an exception must be thrown
|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment() |
void |
nameTest() |
void |
registerTest() |
void |
removeTest() |
void |
sanitizeMetadataTest()
The implementation has to sanitize Metadata passed to registration methods if the application does not supply the
metric type explicitly, but the type is implied by the used method.
|
void |
testMetricRegistryType() |
void |
useExistingMetaDataTest() |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
@InSequence(value=1) public void nameTest()
@InSequence(value=2) public void registerTest()
@InSequence(value=3) public void removeTest()
@InSequence(value=4) public void useExistingMetaDataTest()
@InSequence(value=5) public void testMetricRegistryType()
@InSequence(value=6) public void sanitizeMetadataTest()
@InSequence(value=7) public void conflictingMetadataTest()
Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.