Project

General

Profile

Revision 351ba84b

ID351ba84b6d82b1daa1113c303a1819016c1f6603
Parent 9ee6e0cd
Child 24134ae2

Added by Andreas Kohlbecker about 3 years ago

adding additional testcase for QueryFactory

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/search/QueryFactoryTest.java
55 55
        Assert.assertEquals("ComplexPhraseQuery", qf.newTermQuery("titleCache", "\"*ctuca perennis\"", true).getClass().getSimpleName());
56 56
        Assert.assertEquals("ComplexPhraseQuery", qf.newTermQuery("titleCache", "\"*ctu* perennis\"", true).getClass().getSimpleName());
57 57
        Assert.assertEquals("ComplexPhraseQuery", qf.newTermQuery("titleCache", "\"*ctu* *enn*\"", true).getClass().getSimpleName());
58
        Assert.assertEquals("ComplexPhraseQuery", qf.newTermQuery("titleCache", "\"*ctuca per*\"", true).getClass().getSimpleName());
58 59
    }
59 60

  
61

  
60 62
    /**
61 63
     * {@inheritDoc}
62 64
     */

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)