Commit da44d9d7e8f8c097f623fa9755254b1aa7bea1ac

Authored by Diego Ceccarelli
1 parent 97edb3d2

added hdis to english locale disambiguation labels

src/main/resources/lang/locale-en.properties
1 1 language=English
2   -disambiguation=disambiguation
  2 +disambiguation=disambiguation,hndis
3 3  
4 4 list=list
5 5  
... ...
src/test/java/it/cnr/isti/hpc/wikipedia/article/en/ArticleTest.java
... ... @@ -62,6 +62,16 @@ public class ArticleTest {
62 62 }
63 63  
64 64  
  65 + @Test
  66 + public void testDisambiguation() throws IOException {
  67 + Article a = new Article();
  68 + String mediawiki = IOUtils.getFileAsUTF8String("./src/test/resources/en/hdis.txt");
  69 + parser.parse(a, mediawiki);
  70 + assertTrue(a.isDisambiguation());
  71 +
  72 + }
  73 +
  74 +
65 75  
66 76  
67 77 }
... ...