diff options
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java index fd9003e0e05..9536c1bfb7c 100644 --- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/PhraseMatchTestCase.java @@ -1,8 +1,8 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.semantics.test; -import org.junit.Ignore; -import org.junit.Test; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; /** * Tests that the phrase produced by an automata match can subsequently be replaced by an AND of the @@ -16,14 +16,15 @@ public class PhraseMatchTestCase extends RuleBaseAbstractTestCase { super("phrasematch.sr", "semantics.fsa"); } + // TODO: Work in progress @Test - @Ignore // TODO: Work in progress - public void testLiteralEquals() { - assertSemantics("AND retailer:digital retailer:camera","keyword:digital keyword:camera"); + @Disabled + void testLiteralEquals() { + assertSemantics("AND retailer:digital retailer:camera", "keyword:digital keyword:camera"); } @Test - public void testMatchingPhrase() { + void testMatchingPhrase() { assertSemantics("OR (AND iphone 7) i7", "iphone 7"); } |