Package com._1c.g5.v8.dt.ptests.aspects
Class AbstractProfilingAspectForVoidMethod
java.lang.Object
com._1c.g5.v8.dt.ptests.aspects.AbstractProfilingAspect
com._1c.g5.v8.dt.ptests.aspects.AbstractProfilingAspectForVoidMethod
Implementation of
AbstractProfilingAspect for profiling method without returning value-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.ptests.aspects.AbstractProfilingAspect
DELIMETER, NAME_LIMIT, testClassName, testName, topLevelMethod -
Constructor Summary
ConstructorsConstructorDescriptionAbstractProfilingAspectForVoidMethod(String topLevelMethod, Map<String, CustomPerformanceMeter> methodMetrics) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaroundProfileMethods(org.aspectj.lang.ProceedingJoinPoint thisJoinPoint) Special aspect code that will be executed around profiling method linking through "Pointcut" "profile"Methods inherited from class com._1c.g5.v8.dt.ptests.aspects.AbstractProfilingAspect
afterTestStop, afterTestStop, assertPerformanceInRelativeBand, beforeTestStart, beforeTestStart, getDimensions, getPerformanceMeter, getScenarioName, getShortScenarioName, profile
-
Constructor Details
-
AbstractProfilingAspectForVoidMethod
public AbstractProfilingAspectForVoidMethod(String topLevelMethod, Map<String, CustomPerformanceMeter> methodMetrics) Constructor- Parameters:
topLevelMethod- name of the profiling method, can't benullmethodMetrics- need for accumulation performance metrics by performance scenario name, can't benull
-
-
Method Details
-
aroundProfileMethods
public void aroundProfileMethods(org.aspectj.lang.ProceedingJoinPoint thisJoinPoint) throws Throwable Special aspect code that will be executed around profiling method linking through "Pointcut" "profile"- Parameters:
thisJoinPoint- actualProceedingJoinPoint, can't benull- Throws:
Throwable
-