Browse Source

Re-enable hyph test

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1737190 13f79535-47bb-0310-9956-ffa450edef68
pull/3/head
Simon Steiner 8 years ago
parent
commit
58939e9f66

+ 0
- 3
fop-core/src/test/java/org/apache/fop/HyphenationTestCase.java View File

import java.io.IOException; import java.io.IOException;
import java.io.ObjectOutputStream; import java.io.ObjectOutputStream;


import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;


import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;


public class HyphenationTestCase { public class HyphenationTestCase {


@Ignore
@Test @Test
public void testHyphenator() { public void testHyphenator() {
File f = new File("test/resources/fop"); File f = new File("test/resources/fop");
assertEquals(hyph.toString(), "-hel-lo"); assertEquals(hyph.toString(), "-hel-lo");
} }


@Ignore
@Test @Test
public void testHyphenatorBinary() throws HyphenationException, IOException { public void testHyphenatorBinary() throws HyphenationException, IOException {
File f = File.createTempFile("hyp", "fop"); File f = File.createTempFile("hyp", "fop");

+ 7
- 3
fop/test/resources/fop/fr.xml View File

<hyphenation-info> <hyphenation-info>
<hyphen-min before="2" after="3"/> <hyphen-min before="2" after="3"/>


<classes>
h
e
l
o
</classes>

<exceptions> <exceptions>
</exceptions> </exceptions>


<classes>

</classes>
<patterns> <patterns>
1he 1he
1lo 1lo

Loading…
Cancel
Save