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

com.github.squirrelgrip.jupiter.extension.systemexit.ExpectSystemExitWithStatus.kt Maven / Gradle / Ivy

There is a newer version: 1.3.12
Show newest version
package com.github.squirrelgrip.jupiter.extension.systemexit

import org.junit.jupiter.api.extension.ExtendWith

/**
 * This is a marker annotation that indicates the given test method or class is expected
 * to call System.exit() with a specific code
 */
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
@ExtendWith(SystemExitExtension::class)
annotation class ExpectSystemExitWithStatus(val value: Int)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy