Class MetricUtilsTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.metrics.dropwizard.MetricUtilsTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class MetricUtilsTest extends ServicelayerBaseTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description MetricUtilsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldBuildMeterNameAndCreateMeterOnlyOnceForMultipleCalls()voidshouldCreateMetricCacheWithDefaultMetricRegistryIfNotProvided()voidshouldCreateMetricCacheWithProvidedMetricRegistry()voidshouldCreateMetricNameWithoutTenantIfNoActiveTenant()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCreateMetricCacheWithProvidedMetricRegistry
public void shouldCreateMetricCacheWithProvidedMetricRegistry()
-
shouldCreateMetricCacheWithDefaultMetricRegistryIfNotProvided
public void shouldCreateMetricCacheWithDefaultMetricRegistryIfNotProvided()
-
shouldBuildMeterNameAndCreateMeterOnlyOnceForMultipleCalls
public void shouldBuildMeterNameAndCreateMeterOnlyOnceForMultipleCalls()
-
shouldCreateMetricNameWithoutTenantIfNoActiveTenant
public void shouldCreateMetricNameWithoutTenantIfNoActiveTenant() throws java.lang.InterruptedException, java.util.concurrent.TimeoutException, java.util.concurrent.ExecutionException- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutExceptionjava.util.concurrent.ExecutionException
-
-