You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/06/08 15:31:01 UTC
incubator-joshua git commit: converted stray testng to junit
Repository: incubator-joshua
Updated Branches:
refs/heads/master 3171b6a8c -> 21a3f7c31
converted stray testng to junit
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/21a3f7c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/21a3f7c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/21a3f7c3
Branch: refs/heads/master
Commit: 21a3f7c319c677eb2190082584cc91f6c080b067
Parents: 3171b6a
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed Jun 8 11:31:00 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed Jun 8 11:31:00 2016 -0400
----------------------------------------------------------------------
pom.xml | 6 ------
.../java/org/apache/joshua/corpus/vocab/VocabularyTest.java | 5 ++---
2 files changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/21a3f7c3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6abf973..fad6906 100644
--- a/pom.xml
+++ b/pom.xml
@@ -221,12 +221,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>6.9.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.0.52-beta</version>
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/21a3f7c3/src/test/java/org/apache/joshua/corpus/vocab/VocabularyTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/joshua/corpus/vocab/VocabularyTest.java b/src/test/java/org/apache/joshua/corpus/vocab/VocabularyTest.java
index c1af5ab..2a0deb1 100644
--- a/src/test/java/org/apache/joshua/corpus/vocab/VocabularyTest.java
+++ b/src/test/java/org/apache/joshua/corpus/vocab/VocabularyTest.java
@@ -23,8 +23,8 @@ import java.io.IOException;
import java.io.PrintStream;
import java.util.Date;
import org.apache.joshua.corpus.Vocabulary;
-import org.testng.Assert;
-import org.testng.annotations.Test;
+import org.junit.Assert;
+import org.junit.Test;
/**
*
@@ -128,7 +128,6 @@ public class VocabularyTest {
}
@SuppressWarnings("static-access")
- @Test(enabled=false)
public void loadVocabFromFile() {
String filename = "data/tiny.en";