com.wesleyhome.test.jupiter.annotations.number.DoubleSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-jupiter-params-generated Show documentation
Show all versions of junit-jupiter-params-generated Show documentation
Library to help generate test parameter permutations for parameterized tests in JUnit.
This version is an initial attempt to convert to building with Gradle.
The newest version!
package com.wesleyhome.test.jupiter.annotations.number
import com.wesleyhome.test.jupiter.annotations.ext.SourceProvider
import com.wesleyhome.test.jupiter.provider.number.DoubleValueSourceDataProvider
/**
* Annotation to indicate that the annotated double parameter should be populated with a random value from the provided
* [values] array.
*
* @sample examples.DoubleSource.example
*/
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME)
@SourceProvider(DoubleValueSourceDataProvider::class)
@MustBeDocumented
annotation class DoubleSource(val values: DoubleArray)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy