Last change
on this file since 6374 was
6374,
checked in by davor.ostojic@oeaw.ac.at, 9 years ago
|
test
|
-
Property svn:mime-type set to
text/plain
|
File size:
720 bytes
|
Line | |
---|
1 | package eu.clarin.cmdi.vlo.importer; |
---|
2 | |
---|
3 | import static org.junit.Assert.assertEquals; |
---|
4 | |
---|
5 | import org.junit.Test; |
---|
6 | |
---|
7 | public class OrganizationPostProcessorTest extends ImporterTestcase { |
---|
8 | |
---|
9 | |
---|
10 | @Test |
---|
11 | public void testLanguageCode() { |
---|
12 | PostProcessor processor = new OrganisationPostProcessor(); |
---|
13 | assertEquals("Department of Psychology, Ohio State University", processor.process("http://buckeyecorpus.osu.edu").get(0)); |
---|
14 | assertEquals("s.n.", processor.process("s.n").get(0)); |
---|
15 | assertEquals("SELAF", processor.process("Société des Etudes Linguistiques et Anthropologiques de France").get(0)); |
---|
16 | assertEquals("NIAS", processor.process("Netherlands Institute of Advanced Study").get(0)); |
---|
17 | } |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.