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

@@ -23,7 +23,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

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

import static org.junit.Assert.assertEquals;
@@ -37,7 +36,6 @@ import org.apache.fop.hyphenation.Hyphenator;

public class HyphenationTestCase {

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

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

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

@@ -2,12 +2,16 @@
<hyphenation-info>
<hyphen-min before="2" after="3"/>

<classes>
h
e
l
o
</classes>

<exceptions>
</exceptions>

<classes>

</classes>
<patterns>
1he
1lo

Loading…
Cancel
Save