From: <fg...@us...> - 2009-03-15 15:35:54
|
Revision: 1096 http://openutils.svn.sourceforge.net/openutils/?rev=1096&view=rev Author: fgiust Date: 2009-03-15 15:35:47 +0000 (Sun, 15 Mar 2009) Log Message: ----------- renamed to avoid conflict with the standard pattern for surefire tests Modified Paths: -------------- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/PropertyInjectBeanPostProcessorTest.java Added Paths: ----------- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/SampleBean.java Removed Paths: ------------- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/TestBean.java Modified: trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/PropertyInjectBeanPostProcessorTest.java =================================================================== --- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/PropertyInjectBeanPostProcessorTest.java 2009-03-15 15:34:35 UTC (rev 1095) +++ trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/PropertyInjectBeanPostProcessorTest.java 2009-03-15 15:35:47 UTC (rev 1096) @@ -32,7 +32,7 @@ { @Autowired(required = true) - private TestBean testBean; + private SampleBean testBean; @Test public void testIntProperty() Copied: trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/SampleBean.java (from rev 1095, trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/TestBean.java) =================================================================== --- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/SampleBean.java (rev 0) +++ trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/SampleBean.java 2009-03-15 15:35:47 UTC (rev 1096) @@ -0,0 +1,52 @@ +/* + * Copyright Openmind http://www.openmindonline.it + * + * 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 it.openutils.deployment.spring; + +import org.springframework.stereotype.Component; + + +/** + * @author fgiust + * @version $Id$ + */ +@Component +public class SampleBean +{ + + @Property("intProperty") + private Integer intProperty; + + @Property("stringProperty") + private String stringProperty; + + /** + * Returns the intProperty. + * @return the intProperty + */ + public Integer getIntProperty() + { + return intProperty; + } + + /** + * Returns the stringProperty. + * @return the stringProperty + */ + public String getStringProperty() + { + return stringProperty; + } +} Property changes on: trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/SampleBean.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Author Date Id Revision Added: svn:mergeinfo + Added: svn:eol-style + native Deleted: trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/TestBean.java =================================================================== --- trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/TestBean.java 2009-03-15 15:34:35 UTC (rev 1095) +++ trunk/openutils-deployment/src/test/java/it/openutils/deployment/spring/TestBean.java 2009-03-15 15:35:47 UTC (rev 1096) @@ -1,52 +0,0 @@ -/* - * Copyright Openmind http://www.openmindonline.it - * - * 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 it.openutils.deployment.spring; - -import org.springframework.stereotype.Component; - - -/** - * @author fgiust - * @version $Id$ - */ -@Component -public class TestBean -{ - - @Property("intProperty") - private Integer intProperty; - - @Property("stringProperty") - private String stringProperty; - - /** - * Returns the intProperty. - * @return the intProperty - */ - public Integer getIntProperty() - { - return intProperty; - } - - /** - * Returns the stringProperty. - * @return the stringProperty - */ - public String getStringProperty() - { - return stringProperty; - } -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |