import java.util.Iterator;
import java.util.List;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
// CSOFF: LineLengthCheck
/**
}
private static class CoverageSetClassTable extends GlyphMappingTable.EmptyMappingTable implements GlyphClassMapping {
+ private static final Log LOG = LogFactory.getLog(CoverageSetClassTable.class);
public CoverageSetClassTable(List entries) {
- throw new UnsupportedOperationException("coverage set class table not yet supported");
+ LOG.warn("coverage set class table not yet supported");
}
/** {@inheritDoc} */
public int getType() {
import java.io.File;
import java.nio.IntBuffer;
+import java.util.Collections;
import org.junit.Test;
}
}
+ @Test
+ public void testCreateClassTable() {
+ GlyphCoverageTable coverageTable = GlyphCoverageTable.createCoverageTable(null);
+ GlyphClassTable classTable = GlyphClassTable.createClassTable(Collections.singletonList(coverageTable));
+ assertNotNull(classTable);
+ }
}