Fix tests by moving JAXB2 types back into sub-package

This commit is contained in:
Rossen Stoyanchev
2016-06-30 14:09:09 -04:00
parent 6d089cdc08
commit 39253b314a
9 changed files with 14 additions and 7 deletions

View File

@@ -29,6 +29,12 @@ 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.jaxb.XmlRootElement;
import org.springframework.http.codec.xml.jaxb.XmlRootElementWithName;
import org.springframework.http.codec.xml.jaxb.XmlRootElementWithNameAndNamespace;
import org.springframework.http.codec.xml.jaxb.XmlType;
import org.springframework.http.codec.xml.jaxb.XmlTypeWithName;
import org.springframework.http.codec.xml.jaxb.XmlTypeWithNameAndNamespace;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;

View File

@@ -23,6 +23,7 @@ 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.http.codec.xml;
package org.springframework.http.codec.xml.jaxb;
/**
* @author Arjen Poutsma

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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