public abstract class AbstractTimingCaptureTest extends AbstractPolygeneTest
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractTimingCaptureTest.Country |
static interface |
AbstractTimingCaptureTest.Country1 |
static class |
AbstractTimingCaptureTest.Country1Mixin |
static interface |
AbstractTimingCaptureTest.Country2 |
static class |
AbstractTimingCaptureTest.Country2Mixin |
static interface |
AbstractTimingCaptureTest.Country3 |
static class |
AbstractTimingCaptureTest.Country3Mixin |
module, objectFactory, queryBuilderFactory, serviceFinder, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactoryapi, application, applicationModel, notYetImplementedRule, polygene, spi| Constructor and Description |
|---|
AbstractTimingCaptureTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
assemble(ModuleAssembly module)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
void |
givenInstrumentedWithAllCompositeWhenCallingUpdateNameExpectTimers() |
void |
givenNonInstrumentedCompositeExpectNoTimers() |
void |
givenOneMethodAnnotatedWhenCallingUpdateNameExpectTimerForThatMethodOnly() |
protected abstract Assemblers.Visible<? extends Assembler> |
metricsAssembler() |
protected abstract MetricValuesProvider |
metricValuesProvider() |
defineApplication, setUp, tearDownassemblyException, initApplication, newApplicationInstance, newApplicationModelpublic void assemble(ModuleAssembly module)
Assembler
An Assembler may create new Modules by calling
ModuleAssembly.layer() and
then LayerAssembly.module(String) (String)}.
This allows an Assembler to bootstrap an entire Layer with
more Modules.
module - the Module to assembleprotected abstract Assemblers.Visible<? extends Assembler> metricsAssembler()
protected abstract MetricValuesProvider metricValuesProvider()
public void givenNonInstrumentedCompositeExpectNoTimers()
public void givenInstrumentedWithAllCompositeWhenCallingUpdateNameExpectTimers()
public void givenOneMethodAnnotatedWhenCallingUpdateNameExpectTimerForThatMethodOnly()