Package com.hazelcast.test.archunit
Class TestsHaveRunnersCondition
java.lang.Object
com.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
com.hazelcast.test.archunit.TestsHaveRunnersCondition
public class TestsHaveRunnersCondition
extends com.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
Asserts that tests are annotated with `@RunWith` to ensure property isolation
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tngtech.archunit.lang.ArchConditioncom.tngtech.archunit.lang.ArchCondition.ConditionByPredicate<T extends com.tngtech.archunit.base.HasDescription & com.tngtech.archunit.core.domain.properties.HasSourceCodeLocation>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheck(com.tngtech.archunit.core.domain.JavaClass clazz, com.tngtech.archunit.lang.ConditionEvents events) Methods inherited from class com.tngtech.archunit.lang.ArchConditionand, as, finish, forSubtype, from, getDescription, init, or, toString
- 
Constructor Details- 
TestsHaveRunnersConditionpublic TestsHaveRunnersCondition()
 
- 
- 
Method Details- 
checkpublic void check(com.tngtech.archunit.core.domain.JavaClass clazz, com.tngtech.archunit.lang.ConditionEvents events) - Specified by:
- checkin class- com.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
 
 
-