mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 05ef801405962a0960a4b818f0dce26213f97d0d
16 lines
497 B
Java
16 lines
497 B
Java
import org.junit.jupiter.params.ParameterizedTest;
|
|
import org.junit.jupiter.params.provider.MethodSource;
|
|
import java.util.stream.Stream;
|
|
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|
|
|
public class Test {
|
|
@org.junit.jupiter.params.ParameterizedTest
|
|
@org.junit.jupiter.params.provider.MethodSource
|
|
@SuppressWarnings("unused")
|
|
void testMethod(String argument) {
|
|
assertNotNull(argument);
|
|
}
|
|
static Stream<String> testMethod() {
|
|
return Stream.of("foo", "bar");
|
|
}
|
|
} |