All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bedrin.jdbc.sniffer.NoQueriesAllowed Maven / Gradle / Ivy

package com.github.bedrin.jdbc.sniffer;

import com.github.bedrin.jdbc.sniffer.junit.QueryCounter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Alias for {@code @Expectation(0)}
 * @see Expectation
 * @see QueryCounter
 * @since 2.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Expectation(value = 0, threads = Threads.ANY)
public @interface NoQueriesAllowed {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy