Move remaining JAXB2 test files from core to http

This commit is contained in:
Rossen Stoyanchev
2016-06-30 13:48:41 -04:00
parent b115f1885d
commit 6d089cdc08
10 changed files with 61 additions and 17 deletions

View File

@@ -25,20 +25,14 @@ import reactor.core.publisher.Flux;
import reactor.core.test.TestSubscriber;
import org.springframework.core.ResolvableType;
import org.springframework.core.codec.support.jaxb.XmlRootElement;
import org.springframework.core.codec.support.jaxb.XmlRootElementWithName;
import org.springframework.core.codec.support.jaxb.XmlRootElementWithNameAndNamespace;
import org.springframework.core.codec.support.jaxb.XmlType;
import org.springframework.core.codec.support.jaxb.XmlTypeWithName;
import org.springframework.core.codec.support.jaxb.XmlTypeWithNameAndNamespace;
import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.http.MediaType;
import org.springframework.http.codec.Pojo;
import org.springframework.http.codec.xml.Jaxb2Decoder;
import org.springframework.http.codec.xml.XmlEventDecoder;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
/**
* @author Sebastien Deleuze

View File

@@ -23,7 +23,6 @@ import reactor.core.publisher.Flux;
import reactor.core.test.TestSubscriber;
import org.springframework.core.io.buffer.AbstractDataBufferAllocatingTestCase;
import org.springframework.http.codec.xml.XmlEventDecoder;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
/**
* @author Arjen Poutsma

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
import javax.xml.bind.annotation.XmlRootElement;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
import javax.xml.bind.annotation.XmlRootElement;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
/**
* @author Arjen Poutsma

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
import javax.xml.bind.annotation.XmlType;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;
import javax.xml.bind.annotation.XmlType;

View File

@@ -1,2 +1,2 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "namespace")
package org.springframework.core.codec.support.jaxb;
package org.springframework.http.codec.xml;