The tests pass because ALL of them use the constructor based on a producer...but there is NO test using the constructor based on another data set.
The problem is that this CachedDataSet does not copy any more the original data set (as it states in the JavaDoc). It basically does nothing with the original data set in the constructor...hence it's just an empty dataset.
CachedDataSet does not work
This commit actually breaks CachedDataSet...just look at the constructor: /** * Creates a copy of the specified dataset. */ public CachedDataSet(IDataSet dataSet) throws DataSetException { super(dataSet.isCaseSensitiveTableNames()); initialize(); } How can you create a (in-memory) copy of a dataset if the only thing you're using from the original dataset is its case sensitivity flag??? Please put back the original code in there which does the actual copying of the input dataset, i.e.: ITableIterator...