001package arez.testng; 002 003import java.lang.annotation.Documented; 004import java.lang.annotation.ElementType; 005import java.lang.annotation.Retention; 006import java.lang.annotation.RetentionPolicy; 007import java.lang.annotation.Target; 008 009/** 010 * Annotation applied to test methods that indicate that observer errors should not cause the test to fail. 011 * Instead the errors should be collected and added to any fields of type {@link ObserverErrorCollector} that 012 * are contained in the test. 013 */ 014@Documented 015@Target( ElementType.METHOD ) 016@Retention( RetentionPolicy.RUNTIME ) 017public @interface CollectObserverErrors 018{ 019}