1 // Copyright 2022 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.base.test.util; 6 7 import java.lang.annotation.ElementType; 8 import java.lang.annotation.Retention; 9 import java.lang.annotation.RetentionPolicy; 10 import java.lang.annotation.Target; 11 12 /** 13 * This annotation is for disabled tests that should not be run in Test Reviver. Tests that cause 14 * other tests to fail or caue problems to the testing the infrastructure should have this 15 * annotation. <p> This should be used in conjunction with @DisabledTest or @DisableIf to prevent a 16 * test from running on normal bots. 17 */ 18 @Target({ElementType.METHOD, ElementType.TYPE}) 19 @Retention(RetentionPolicy.RUNTIME) 20 public @interface DoNotRevive { reason()21 String reason(); 22 } 23