1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
package com_braillo;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.daisy.braille.embosser.EmbosserFeatures;
import org.daisy.braille.embosser.UnsupportedWidthException;
import org.junit.Test;
import org.xml.sax.SAXException;
public class Braillo440SWSFEmbosserTest extends AbstractTestBraillo440Embosser {
public Braillo440SWSFEmbosserTest() {
super(new Braillo440SFEmbosser("Braillo 440SWSF", "Embosser table must match hardware setup."));
emb.setFeature(EmbosserFeatures.PAGE_FORMAT, fa44_4p);
}
@Test
public void testEmbossing() throws IOException, ParserConfigurationException, SAXException, UnsupportedWidthException, TransformerException {
performTest("resource-files/test-input-1.pef", "resource-files/test-input-1_braillo440SWSF_us_fa44-", ".prn", 3);
}
}
|