assertEquals("name count", expectedNames.length, actualNames.length); for (int i = 0; i < actualNames.length; i++)
assertEquals("name count", expectedNames.length, actualNames.length); for (int i = 0; i < actualNames.length; i++) { String expected = DataSetUtils.getQualifiedName( _connection.getSchema(), expectedNames[i]); String actual = actualNames[i]; assertEquals("name", expected, actual); } } finally
    public void testGetQualifiedTableNames() throws Exception    {        String[] expectedNames = getExpectedNames();        sort(expectedNames);        try        {            System.setProperty(DatabaseDataSet.QUALIFIED_TABLE_NAMES, "true");            IDatabaseConnection connection = new DatabaseConnection(                    _connection.getConnection(), _connection.getSchema());            IDataSet dataSet = removeExtraTestTables(connection.createDataSet());            String[] actualNames = dataSet.getTableNames();            sort(actualNames);            assertEquals("name count", expectedNames.length, actualNames.length);            for (int i = 0; i < actualNames.length; i++)            {                String expected = DataSetUtils.getQualifiedName(                        _connection.getSchema(), expectedNames[i]);                String actual = actualNames[i];                assertEquals("name", expected, actual);            }        }        finally        {            System.setProperty(DatabaseDataSet.QUALIFIED_TABLE_NAMES, "false");        }    }