001/*-------------------------------------------------------------------------+ 002| | 003| Copyright (c) 2009-2019 CQSE GmbH | 004| | 005+-------------------------------------------------------------------------*/ 006package eu.cqse.check.framework.core.util; 007 008import java.util.Set; 009 010import org.conqat.lib.commons.collections.CollectionUtils; 011 012/** Utilities for checks that involve test methods. */ 013public class CheckForTestUtils { 014 015 /** Test annotation names in JUnit 4+. */ 016 public static final Set<String> TEST_ANNOTATION_SIMPLE_NAMES = CollectionUtils.asHashSet("Test", "RepeatedTest", 017 "ParameterizedTest"); 018 019 /** Qualified Test annotation names in JUnit 4+. */ 020 public static final Set<String> TEST_ANNOTATION_QUALIFIED_NAMES = CollectionUtils.asHashSet("org.junit.Test", 021 "org.junit.jupiter.api.Test", "org.junit.jupiter.api.RepeatedTest", 022 "org.junit.jupiter.params.ParameterizedTest"); 023}