mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Resolve undetected BaseTest data providers
This commit is contained in:
parent
4d1eaf2a1f
commit
624a4e37eb
@ -237,7 +237,7 @@ public class BaseRowSetTests extends CommonRowSetTests {
|
|||||||
* Validate setNull specifying the supported type values
|
* Validate setNull specifying the supported type values
|
||||||
*/
|
*/
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource("TODO: cannot automatically find data provider named 'jdbcTypes', please resolve manually.")
|
@MethodSource("jdbcTypes")
|
||||||
public void baseRowSetTest0011(Integer type) throws Exception {
|
public void baseRowSetTest0011(Integer type) throws Exception {
|
||||||
brs = new StubBaseRowSet();
|
brs = new StubBaseRowSet();
|
||||||
brs.setNull(1, type);
|
brs.setNull(1, type);
|
||||||
@ -249,7 +249,7 @@ public class BaseRowSetTests extends CommonRowSetTests {
|
|||||||
* typeName is set internally
|
* typeName is set internally
|
||||||
*/
|
*/
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource("TODO: cannot automatically find data provider named 'jdbcTypes', please resolve manually.")
|
@MethodSource("jdbcTypes")
|
||||||
public void baseRowSetTest0012(Integer type) throws Exception {
|
public void baseRowSetTest0012(Integer type) throws Exception {
|
||||||
brs = new StubBaseRowSet();
|
brs = new StubBaseRowSet();
|
||||||
brs.setNull(1, type, "SUPERHERO");
|
brs.setNull(1, type, "SUPERHERO");
|
||||||
|
|||||||
@ -36,6 +36,7 @@ import org.junit.jupiter.api.TestInstance;
|
|||||||
import org.junit.jupiter.params.ParameterizedTest;
|
import org.junit.jupiter.params.ParameterizedTest;
|
||||||
import org.junit.jupiter.params.provider.MethodSource;
|
import org.junit.jupiter.params.provider.MethodSource;
|
||||||
|
|
||||||
|
import org.junit.jupiter.params.provider.ValueSource;
|
||||||
import util.BaseTest;
|
import util.BaseTest;
|
||||||
|
|
||||||
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
||||||
@ -519,7 +520,7 @@ public class RowSetMetaDataTests extends BaseTest {
|
|||||||
* Validate that the correct type is returned for the column
|
* Validate that the correct type is returned for the column
|
||||||
*/
|
*/
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource("TODO: cannot automatically find data provider named 'jdbcTypes', please resolve manually.")
|
@MethodSource("jdbcTypes")
|
||||||
public void test39(Integer type) throws Exception {
|
public void test39(Integer type) throws Exception {
|
||||||
rsmd.setColumnType(1, type);
|
rsmd.setColumnType(1, type);
|
||||||
assertTrue(type == rsmd.getColumnType(1));
|
assertTrue(type == rsmd.getColumnType(1));
|
||||||
@ -529,7 +530,7 @@ public class RowSetMetaDataTests extends BaseTest {
|
|||||||
* Validate that the correct value is returned from the isXXX methods
|
* Validate that the correct value is returned from the isXXX methods
|
||||||
*/
|
*/
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
@MethodSource("TODO: cannot automatically find data provider named 'trueFalse', please resolve manually.")
|
@ValueSource(booleans = {true, false})
|
||||||
public void test40(Boolean b) throws Exception {
|
public void test40(Boolean b) throws Exception {
|
||||||
rsmd.setAutoIncrement(1, b);
|
rsmd.setAutoIncrement(1, b);
|
||||||
rsmd.setCaseSensitive(1, b);
|
rsmd.setCaseSensitive(1, b);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user