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

com.wesleyhome.test.jupiter.provider.number.LongValueSourceDataProvider.kt Maven / Gradle / Ivy

Go to download

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.provider.number

import com.wesleyhome.test.jupiter.annotations.number.LongSource
import com.wesleyhome.test.jupiter.provider.AbstractAnnotatedParameterDataProvider
import com.wesleyhome.test.jupiter.provider.TestParameter

internal class LongValueSourceDataProvider : AbstractAnnotatedParameterDataProvider() {

    override fun createParameterOptionsData(testParameter: TestParameter): List {
        return findAnnotation(testParameter)!!.values.toList()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy