public void testDescribeAll_noTables() throws IOException, SQLException
{
DatabaseMetaDataMock dbmdm = new DatabaseMetaDataMock();
+ DbDriverMock driver = new DbDriverMock();
Describe describe = new Describe();
try (
PrintWriter pw = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));
)
{
- describe.describeAll(pw, dbmdm);
+ describe.describeAll(driver, pw, dbmdm);
pw.close();
baos.close();
String actual = baos.toString();
throws IOException, SQLException
{
DatabaseMetaDataMock dbmdm = new DatabaseMetaDataMock();
+ DbDriverMock driver = new DbDriverMock();
Describe describe = new Describe();
try (
PrintWriter pw = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));
)
{
- describe.describeTable(pw, dbmdm, "%");
+ describe.describeTable(driver, pw, dbmdm, "%");
pw.close();
baos.close();
String actual = baos.toString();
throws IOException, SQLException
{
DatabaseMetaDataMock dbmdm = construct_runs_dbmdm();
+ DbDriverMock driver = new DbDriverMock();
Describe describe = new Describe();
try (
PrintWriter pw = new PrintWriter(new OutputStreamWriter(baos, StandardCharsets.UTF_8));
)
{
- describe.describeTable(pw, dbmdm, "runs");
+ describe.describeTable(driver, pw, dbmdm, "runs");
pw.close();
baos.close();
String actual = baos.toString();