diff options
author | gjoranv <gv@oath.com> | 2018-10-10 15:31:09 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2019-01-21 15:09:23 +0100 |
commit | 3283ac626f69d7b2333e4fa31f9b04c8ba374142 (patch) | |
tree | 780ba849380bcc7035bc762f1bd860b9ac609baa /linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java | |
parent | efa0bdb5ad7c8669c183af15e564e65efe23bb20 (diff) |
Remove deprecated apis in linguistics.
Diffstat (limited to 'linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java')
-rw-r--r-- | linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java b/linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java deleted file mode 100644 index 6433d0d491a..00000000000 --- a/linguistics/src/test/java/com/yahoo/language/process/StemModeTestCase.java +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.language.process; - -import org.junit.Test; - -import static org.junit.Assert.assertEquals; - -/** - * @author Simon Thoresen Hult - */ -public class StemModeTestCase { - - @Test - @SuppressWarnings("deprecation") - public void requireThatValueOfWorks() { - for (StemMode mode : StemMode.values()) { - assertEquals(mode, StemMode.valueOf(mode.getValue())); - } - } - - @Test - @SuppressWarnings("deprecation") - public void requireThatValueOfUnknownIsNone() { - assertEquals(StemMode.NONE, StemMode.valueOf(-1)); - } - -} |