diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-04-13 22:18:11 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-04-13 22:18:11 +0200 |
commit | 8c54be83e36fa4ba28c747fec2b8040832002b49 (patch) | |
tree | c63d75c05930352205e46fd405b2ddc5272dcd1f /container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java | |
parent | 41969051757a99e5c8ed09fac31fa0658f039c7c (diff) |
Remove usage of old junit
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java index f2f8c3f7cf9..cda5bf91fd4 100644 --- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataNotTestCase.java @@ -1,6 +1,9 @@ // Copyright 2017 Yahoo Holdings. 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; + /** * Tests that ![a] is interpreted as "default:![a]", not as "!default:[a]", * that is, in negative conditions we still only want to match the default index by default. @@ -9,14 +12,16 @@ package com.yahoo.prelude.semantics.test; */ public class AutomataNotTestCase extends RuleBaseAbstractTestCase { - public AutomataNotTestCase(String name) { - super(name,"automatanot.sr","semantics.fsa"); + public AutomataNotTestCase() { + super("automatanot.sr", "semantics.fsa"); } + @Test + @Ignore // TODO: MAKE THIS WORK! public void testAutomataNot() { - if (System.currentTimeMillis() > 0) return; // TODO: MAKE THIS WORK! - assertSemantics("carpenter","carpenter"); - assertSemantics("RANK brukbar busname:brukbar","brukbar"); + if (System.currentTimeMillis() > 0) return; + assertSemantics("carpenter", "carpenter"); + assertSemantics("RANK brukbar busname:brukbar", "brukbar"); } } |