public class AllureAttachAspects extends Object
Attachment.| Constructor and Description |
|---|
AllureAttachAspects() |
| Modifier and Type | Method and Description |
|---|---|
void |
anyMethod()
Pointcut for any methods
|
void |
attachment(org.aspectj.lang.JoinPoint joinPoint,
Object result)
Process data returned from method annotated with
Attachment
If returned data is not a byte array, then use toString() method, and get bytes from it using
AllureConfig.attachmentsEncoding |
void |
withAttachmentAnnotation()
Pointcut for things annotated with
Attachment |
public void withAttachmentAnnotation()
Attachmentpublic void anyMethod()
public void attachment(org.aspectj.lang.JoinPoint joinPoint,
Object result)
Attachment
If returned data is not a byte array, then use toString() method, and get bytes from it using
AllureConfig.attachmentsEncodingjoinPoint - result - Copyright © 2016 Yandex. All rights reserved.