Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
added some test
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 13, 2019
1 parent 82bd7c4 commit ac4e367
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/andromeda/araserver/util/KeyWord.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package com.andromeda.araserver.util

import opennlp.tools.cmdline.parser.ParserTool
import opennlp.tools.langdetect.LanguageDetectorModel
import opennlp.tools.parser.Parse
import opennlp.tools.parser.ParserFactory
import opennlp.tools.parser.ParserModel
import java.io.FileInputStream
import java.io.InputStream


Expand Down
21 changes: 21 additions & 0 deletions src/test/java/com/andromeda/araserver/test/test1.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.andromeda.araserver.test;

import com.andromeda.araserver.util.KeyWord;
import junit.framework.TestCase;
import junit.framework.TestResult;

import java.io.FileInputStream;
import java.io.InputStream;

public class test1 extends TestCase {
@Override
protected void runTest() throws Throwable {
System.out.println(new KeyWord("this is a test", new FileInputStream("")));
super.runTest();
}

@Override
public TestResult run() {
return super.run();
}
}

0 comments on commit ac4e367

Please sign in to comment.