Search in sources :

Example 1 with DefaultTagsConveter

use of br.com.caelum.restfulie.opensearch.conveter.DefaultTagsConveter in project restfulie-java by caelum.

the class OpenSearchTest method setUp.

@Before
public void setUp() {
    xstream = new XStream();
    xstream.registerConverter(new DefaultUrlConverter(Restfulie.custom()));
    xstream.registerConverter(new DefaultTagsConveter());
    xstream.processAnnotations(SearchDescription.class);
}
Also used : XStream(com.thoughtworks.xstream.XStream) DefaultUrlConverter(br.com.caelum.restfulie.opensearch.conveter.DefaultUrlConverter) DefaultTagsConveter(br.com.caelum.restfulie.opensearch.conveter.DefaultTagsConveter) Before(org.junit.Before)

Example 2 with DefaultTagsConveter

use of br.com.caelum.restfulie.opensearch.conveter.DefaultTagsConveter in project restfulie-java by caelum.

the class TagsConverterTest method setUp.

@Before
public void setUp() {
    stream.registerConverter(new DefaultTagsConveter());
    stream.processAnnotations(SearchDescription.class);
}
Also used : DefaultTagsConveter(br.com.caelum.restfulie.opensearch.conveter.DefaultTagsConveter) Before(org.junit.Before)

Aggregations

DefaultTagsConveter (br.com.caelum.restfulie.opensearch.conveter.DefaultTagsConveter)2 Before (org.junit.Before)2 DefaultUrlConverter (br.com.caelum.restfulie.opensearch.conveter.DefaultUrlConverter)1 XStream (com.thoughtworks.xstream.XStream)1