From ee0a59d464630f91ae310cafa05908422b808a58 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 14 Sep 2009 10:24:42 +0000 Subject: [PATCH] Test -> Tests --- ...ppingJacksonHttpMessageConverterTests.java} | 2 +- ... MarshallingHttpMessageConverterTests.java} | 18 +++++++++++++++++- ...va => SourceHttpMessageConverterTests.java} | 18 +++++++++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) rename org.springframework.web/src/test/java/org/springframework/http/converter/json/{MappingJacksonHttpMessageConverterTest.java => MappingJacksonHttpMessageConverterTests.java} (98%) rename org.springframework.web/src/test/java/org/springframework/http/converter/xml/{MarshallingHttpMessageConverterTest.java => MarshallingHttpMessageConverterTests.java} (72%) rename org.springframework.web/src/test/java/org/springframework/http/converter/xml/{SourceHttpMessageConverterTest.java => SourceHttpMessageConverterTests.java} (85%) diff --git a/org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTest.java b/org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTests.java similarity index 98% rename from org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTest.java rename to org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTests.java index a25ba9497c..ce50033a2c 100644 --- a/org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTest.java +++ b/org.springframework.web/src/test/java/org/springframework/http/converter/json/MappingJacksonHttpMessageConverterTests.java @@ -31,7 +31,7 @@ import org.springframework.http.MockHttpInputMessage; import org.springframework.http.MockHttpOutputMessage; /** @author Arjen Poutsma */ -public class MappingJacksonHttpMessageConverterTest { +public class MappingJacksonHttpMessageConverterTests { private MappingJacksonHttpMessageConverter converter; diff --git a/org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTest.java b/org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTests.java similarity index 72% rename from org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTest.java rename to org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTests.java index c03e582d1d..845d5d897a 100644 --- a/org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTest.java +++ b/org.springframework.web/src/test/java/org/springframework/http/converter/xml/MarshallingHttpMessageConverterTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2002-2009 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.springframework.http.converter.xml; import javax.xml.transform.stream.StreamResult; @@ -15,7 +31,7 @@ import org.springframework.oxm.Marshaller; import org.springframework.oxm.Unmarshaller; /** @author Arjen Poutsma */ -public class MarshallingHttpMessageConverterTest { +public class MarshallingHttpMessageConverterTests { private MarshallingHttpMessageConverter converter; diff --git a/org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTest.java b/org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java similarity index 85% rename from org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTest.java rename to org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java index a6ddf2f3e3..f063b6decd 100644 --- a/org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTest.java +++ b/org.springframework.web/src/test/java/org/springframework/http/converter/xml/SourceHttpMessageConverterTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2002-2009 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.springframework.http.converter.xml; import java.io.InputStreamReader; @@ -21,7 +37,7 @@ import org.springframework.http.MockHttpOutputMessage; import org.springframework.util.FileCopyUtils; /** @author Arjen Poutsma */ -public class SourceHttpMessageConverterTest { +public class SourceHttpMessageConverterTests { @Test public void readDOMSource() throws Exception {