Remove trailing whitespace in source files

find . -type f -name "*.java" -or -name "*.aj" | \
    xargs perl -p -i -e "s/[ \t]*$//g" {} \;

Issue: SPR-10127
This commit is contained in:
Phillip Webb
2012-12-18 13:45:00 -08:00
committed by Chris Beams
parent 44a474a014
commit 1762157ad1
1400 changed files with 5920 additions and 5923 deletions

View File

@@ -1,13 +1,13 @@
/*
* Copyright 2002-2005 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.
@@ -18,7 +18,7 @@
package org.springframework.beans;
public class Employee extends TestBean {
private String co;
/**
@@ -27,11 +27,11 @@ public class Employee extends TestBean {
public Employee() {
super();
}
public String getCompany() {
return co;
}
public void setCompany(String co) {
this.co = co;
}

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 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.

View File

@@ -1,13 +1,13 @@
/*
* Copyright 2002-2005 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.

View File

@@ -1,12 +1,12 @@
/*
* Copyright 2002-2005 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.

View File

@@ -35,7 +35,7 @@ import org.springframework.util.ObjectUtils;
/**
* Simple test bean used for testing bean factories, the AOP framework etc.
*
*
* @author Rod Johnson
* @author Juergen Hoeller
* @since 15 April 2001

View File

@@ -24,7 +24,7 @@ import org.springframework.context.ApplicationContext;
* Abstract JUnit 3.8 based unit test which verifies new functionality requested
* in <a href="http://opensource.atlassian.com/projects/spring/browse/SPR-3550"
* target="_blank">SPR-3350</a>.
*
*
* @author Sam Brannen
* @since 2.5
*/
@@ -51,7 +51,7 @@ public abstract class AbstractSpr3350SingleSpringContextTests extends AbstractDe
* configured
* {@link #createBeanDefinitionReader(org.springframework.context.support.GenericApplicationContext)
* BeanDefinitionReader}.
*
*
* @see org.springframework.test.AbstractSingleSpringContextTests#getConfigPath()
*/
protected abstract String getConfigPath();

View File

@@ -20,7 +20,7 @@ package org.springframework.test;
* JUnit 3.8 based unit test which verifies new functionality requested in <a
* href="http://opensource.atlassian.com/projects/spring/browse/SPR-3264"
* target="_blank">SPR-3264</a>.
*
*
* @author Sam Brannen
* @since 2.5
* @see Spr3264SingleSpringContextTests

View File

@@ -20,7 +20,7 @@ package org.springframework.test;
* JUnit 3.8 based unit test which verifies new functionality requested in <a
* href="http://opensource.atlassian.com/projects/spring/browse/SPR-3264"
* target="_blank">SPR-3264</a>.
*
*
* @author Sam Brannen
* @since 2.5
* @see Spr3264DependencyInjectionSpringContextTests

View File

@@ -23,7 +23,7 @@ import junit.framework.TestResult;
* Verifies proper handling of {@link IfProfileValue @IfProfileValue} and
* {@link ProfileValueSourceConfiguration @ProfileValueSourceConfiguration} in
* conjunction with {@link AbstractAnnotationAwareTransactionalTests}.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -26,7 +26,7 @@ import org.junit.Test;
/**
* Unit tests for {@link ProfileValueUtils}.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -41,7 +41,7 @@ import org.springframework.test.context.support.DirtiesContextTestExecutionListe
* application context caching} in conjunction with the
* {@link SpringJUnit4ClassRunner} and the {@link DirtiesContext
* &#064;DirtiesContext} annotation at the class level.
*
*
* @author Sam Brannen
* @since 3.0
*/
@@ -54,7 +54,7 @@ public class ClassLevelDirtiesContextTests {
/**
* Asserts the statistics of the supplied context cache.
*
*
* @param usageScenario the scenario in which the statistics are used
* @param expectedSize the expected number of contexts in the cache
* @param expectedHitCount the expected hit count

View File

@@ -37,7 +37,7 @@ import org.springframework.web.context.support.GenericWebApplicationContext;
/**
* Unit tests for {@link ContextLoaderUtils}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -31,10 +31,10 @@ import org.springframework.test.context.support.GenericXmlContextLoader;
/**
* Unit tests for {@link MergedContextConfiguration}.
*
*
* <p>These tests primarily exist to ensure that {@code MergedContextConfiguration}
* can safely be used as the cache key for {@link ContextCache}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -40,7 +40,7 @@ import org.springframework.test.context.support.DirtiesContextTestExecutionListe
* application context caching} in conjunction with the
* {@link SpringJUnit4ClassRunner} and the {@link DirtiesContext
* &#064;DirtiesContext} annotation at the method level.
*
*
* @author Sam Brannen
* @author Juergen Hoeller
* @since 2.5
@@ -59,7 +59,7 @@ public class SpringRunnerContextCacheTests {
/**
* Asserts the statistics of the context cache in {@link TestContextManager}.
*
*
* @param usageScenario the scenario in which the statistics are used
* @param expectedSize the expected number of contexts in the cache
* @param expectedHitCount the expected hit count
@@ -73,7 +73,7 @@ public class SpringRunnerContextCacheTests {
/**
* Asserts the statistics of the supplied context cache.
*
*
* @param contextCache the cache to assert against
* @param usageScenario the scenario in which the statistics are used
* @param expectedSize the expected number of contexts in the cache

View File

@@ -26,9 +26,9 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.test.context.support.AnnotationConfigContextLoader;
/**
* Unit tests for verifying proper behavior of the {@link ContextCache} in
* Unit tests for verifying proper behavior of the {@link ContextCache} in
* conjunction with cache keys used in {@link TestContext}.
*
*
* @author Sam Brannen
* @since 3.1
* @see SpringRunnerContextCacheTests

View File

@@ -38,7 +38,7 @@ import org.springframework.test.context.support.AbstractTestExecutionListener;
* JUnit 4 based unit test for {@link TestContextManager}, which verifies proper
* <em>execution order</em> of registered {@link TestExecutionListener
* TestExecutionListeners}.
*
*
* @author Sam Brannen
* @since 2.5
*/
@@ -64,7 +64,7 @@ public class TestContextManagerTests {
* Asserts the <em>execution order</em> of 'before' and 'after' test method
* calls on {@link TestExecutionListener listeners} registered for the
* configured {@link TestContextManager}.
*
*
* @see #beforeTestMethodCalls
* @see #afterTestMethodCalls
*/
@@ -121,7 +121,7 @@ public class TestContextManagerTests {
/**
* Verifies the expected {@link TestExecutionListener}
* <em>execution order</em> within a test method.
*
*
* @see #verifyListenerExecutionOrderAfterClass()
*/
@Test

View File

@@ -33,7 +33,7 @@ import org.springframework.test.context.support.AbstractTestExecutionListener;
* href="http://opensource.atlassian.com/projects/spring/browse/SPR-3896"
* target="_blank">SPR-3896</a></li>
* </ul>
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.junit4.PropertiesBasedSpringJUnit4ClassR
* be used at all levels within a test class hierarchy when the
* <code>loader</code> is <i>inherited</i> (i.e., not explicitly declared) via
* {@link ContextConfiguration &#064;ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.0
* @see PropertiesBasedSpringJUnit4ClassRunnerAppCtxTests

View File

@@ -32,7 +32,7 @@ import org.springframework.test.context.support.GenericPropertiesContextLoader;
* be used at all levels within a test class hierarchy when the
* <code>loader</code> is explicitly declared via {@link ContextConfiguration
* &#064;ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.0
* @see PropertiesBasedSpringJUnit4ClassRunnerAppCtxTests

View File

@@ -41,7 +41,7 @@ import org.springframework.test.jdbc.SimpleJdbcTestUtils;
/**
* Combined integration test for {@link AbstractJUnit38SpringContextTests} and
* {@link AbstractTransactionalJUnit38SpringContextTests}.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -47,7 +47,7 @@ import org.springframework.test.context.transaction.BeforeTransaction;
* href="http://opensource.atlassian.com/projects/spring/browse/SPR-3960"
* target="_blank">SPR-3960</a>.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -32,7 +32,7 @@ import org.springframework.test.context.TestExecutionListeners;
* Verifies proper handling of {@link IfProfileValue &#064;IfProfileValue} and
* {@link ProfileValueSourceConfiguration &#064;ProfileValueSourceConfiguration}
* in conjunction with {@link AbstractJUnit38SpringContextTests}.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -24,7 +24,7 @@ import org.springframework.test.context.TestExecutionListeners;
/**
* Unit test for {@link AbstractJUnit38SpringContextTests} which focuses on
* proper support of the {@link Repeat @Repeat} annotation.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -23,7 +23,7 @@ import org.springframework.test.context.ContextConfiguration;
* Extension of {@link SpringJUnit4ClassRunnerAppCtxTests}, which verifies that
* we can specify an explicit, <em>absolute path</em> location for our
* application context.
*
*
* @author Sam Brannen
* @since 2.5
* @see SpringJUnit4ClassRunnerAppCtxTests

View File

@@ -26,7 +26,7 @@ import org.springframework.transaction.annotation.Transactional;
* Abstract base class for verifying support of Spring's {@link Transactional
* &#64;Transactional} and {@link NotTransactional &#64;NotTransactional}
* annotations.
*
*
* @author Sam Brannen
* @since 2.5
* @see ClassLevelTransactionalSpringRunnerTests

View File

@@ -55,7 +55,7 @@ import org.springframework.transaction.annotation.Transactional;
* This class specifically tests usage of <code>&#064;Transactional</code>
* defined at the <strong>class level</strong>.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
* @see MethodLevelTransactionalSpringRunnerTests

View File

@@ -45,7 +45,7 @@ import org.springframework.test.jdbc.SimpleJdbcTestUtils;
/**
* Combined integration test for {@link AbstractJUnit4SpringContextTests} and
* {@link AbstractTransactionalJUnit4SpringContextTests}.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.support.GenericPropertiesContextLoader;
* Integration tests which verify that a subclass of {@link SpringJUnit4ClassRunner}
* can specify a custom <em>default ContextLoader class name</em> that overrides
* the standard default class name.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -39,7 +39,7 @@ import org.springframework.test.context.TestExecutionListeners;
* Note that {@link TestExecutionListeners &#064;TestExecutionListeners} is
* explicitly configured with an empty list, thus disabling all default
* listeners.
*
*
* @author Sam Brannen
* @since 2.5
* @see HardCodedProfileValueSourceSpringRunnerTests

View File

@@ -35,7 +35,7 @@ import org.springframework.test.context.TestExecutionListeners;
* <li>JUnit's {@link Test#expected() &#064;Test(expected=...)}</li>
* <li>Spring's {@link ExpectedException &#064;ExpectedException}</li>
* </ul>
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -55,7 +55,7 @@ import org.springframework.test.context.transaction.BeforeTransaction;
* and {@link TestExecutionListener#afterTestClass(TestContext)
* afterTestClass()} lifecycle callback methods.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -29,7 +29,7 @@ import org.springframework.test.annotation.ProfileValueSourceConfiguration;
* <em>explicit, custom defined {@link ProfileValueSource}</em>) annotations in
* conjunction with the {@link SpringJUnit4ClassRunner}.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
* @see EnabledAndIgnoredSpringRunnerTests

View File

@@ -55,7 +55,7 @@ import org.springframework.transaction.annotation.Transactional;
* {@link ClassLevelTransactionalSpringRunnerTests}, this class omits usage of
* <code>&#064;NotTransactional</code>.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
* @see ClassLevelTransactionalSpringRunnerTests

View File

@@ -30,7 +30,7 @@ import org.springframework.util.ResourceUtils;
* to verify support for the new <code>value</code> attribute alias for
* <code>&#064;ContextConfiguration</code>'s <code>locations</code> attribute.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
* @see SpringJUnit4ClassRunnerAppCtxTests

View File

@@ -40,7 +40,7 @@ import org.springframework.test.context.TestExecutionListeners;
* <li>Spring's {@link Repeat &#064;Repeat}</li>
* <li>Spring's {@link Timed &#064;Timed}</li>
* </ul>
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -28,7 +28,7 @@ import org.springframework.test.context.TestExecutionListeners;
* Verifies support for JUnit 4.7 {@link Rule Rules} in conjunction with the
* {@link SpringJUnit4ClassRunner}. The body of this test class is taken from
* the JUnit 4.7 release notes.
*
*
* @author JUnit 4.7 Team
* @author Sam Brannen
* @since 3.0

View File

@@ -69,11 +69,11 @@ import org.springframework.test.context.support.GenericXmlContextLoader;
* dependencies will be injected via {@link Autowired @Autowired},
* {@link Inject @Inject}, and {@link Resource @Resource} from beans defined in
* the {@link ApplicationContext} loaded from the default classpath resource:
*
*
* <code>&quot;/org/springframework/test/context/junit/SpringJUnit4ClassRunnerAppCtxTests-context.xml&quot;</code>
* .
* </p>
*
*
* @author Sam Brannen
* @since 2.5
* @see AbsolutePathSpringJUnit4ClassRunnerAppCtxTests
@@ -88,7 +88,7 @@ public class SpringJUnit4ClassRunnerAppCtxTests implements ApplicationContextAwa
/**
* Default resource path for the application context configuration for
* {@link SpringJUnit4ClassRunnerAppCtxTests}:
*
*
* <code>&quot;/org/springframework/test/context/junit4/SpringJUnit4ClassRunnerAppCtxTests-context.xml&quot;</code>
*/
public static final String DEFAULT_CONTEXT_RESOURCE_PATH = "/org/springframework/test/context/junit4/SpringJUnit4ClassRunnerAppCtxTests-context.xml";

View File

@@ -43,15 +43,15 @@ import org.springframework.test.context.junit4.profile.xml.DevProfileXmlConfigTe
/**
* JUnit test suite for tests involving {@link SpringJUnit4ClassRunner} and the
* <em>Spring TestContext Framework</em>.
*
*
* <p>This test suite serves a dual purpose of verifying that tests run with
* {@link SpringJUnit4ClassRunner} can be used in conjunction with JUnit's
* {@link Suite} runner.
*
*
* <p>Note that tests included in this suite will be executed at least twice if
* run from an automated build process, test runner, etc. that is configured to
* run tests based on a &quot;*Tests.class&quot; pattern match.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -33,7 +33,7 @@ import org.springframework.test.context.TestExecutionListeners;
* <li>JUnit's {@link Test#timeout() @Test(timeout=...)}</li>
* <li>Spring's {@link Timed @Timed}</li>
* </ul>
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.Transactional;
* {@link Transactional &#64;Transactional} and {@link NotTransactional
* &#64;NotTransactional} annotations in conjunction with {@link Timed
* &#64;Timed} and JUnit 4's {@link Test#timeout() timeout} attribute.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -25,7 +25,7 @@ import org.junit.runner.notification.RunListener;
/**
* Simple {@link RunListener} which tracks how many times certain JUnit callback
* methods were called: only intended for the integration test suite.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -22,14 +22,14 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunnerAppCtxTest
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Furthermore, by extending {@link SpringJUnit4ClassRunnerAppCtxTests},
* this class also verifies support for several basic features of the
* Spring TestContext Framework. See JavaDoc in
* <code>SpringJUnit4ClassRunnerAppCtxTests</code> for details.
*
*
* <p>Configuration will be loaded from {@link PojoAndStringConfig}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -28,10 +28,10 @@ import org.springframework.test.context.ContextConfiguration;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesBaseTests.ContextConfiguration}
* and {@link BeanOverridingDefaultConfigClassesInheritedTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -25,10 +25,10 @@ import org.springframework.test.context.ContextConfiguration;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesBaseTests.ContextConfiguration}
* and {@link BeanOverridingDefaultConfigClassesInheritedTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -32,9 +32,9 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesBaseTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
* @see DefaultLoaderDefaultConfigClassesBaseTests

View File

@@ -29,10 +29,10 @@ import org.springframework.test.context.ContextConfiguration;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesBaseTests.ContextConfiguration}
* and {@link DefaultConfigClassesInheritedTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -30,7 +30,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -27,7 +27,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -33,7 +33,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
* @see DefaultConfigClassesBaseTests

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -31,7 +31,7 @@ import org.springframework.test.context.support.DelegatingSmartContextLoader;
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework in conjunction with the
* {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -30,9 +30,9 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesBaseTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -30,10 +30,10 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
/**
* Integration tests that verify support for configuration classes in
* the Spring TestContext Framework.
*
*
* <p>Configuration will be loaded from {@link DefaultConfigClassesInheritedTests.ContextConfiguration}
* and {@link DefaultConfigClassesBaseTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -23,12 +23,12 @@ import org.springframework.context.annotation.Configuration;
/**
* ApplicationContext configuration class for various integration tests.
*
*
* <p>The beans defined in this configuration class map directly to the
* beans defined in <code>SpringJUnit4ClassRunnerAppCtxTests-context.xml</code>.
* Consequently, the application contexts loaded from these two sources
* should be identical with regard to bean definitions.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -37,7 +37,7 @@ import org.springframework.test.context.junit4.orm.service.PersonService;
/**
* Transactional integration tests regarding <i>manual</i> session flushing with
* Hibernate.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -18,7 +18,7 @@ package org.springframework.test.context.junit4.orm.domain;
/**
* DriversLicense POJO.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -18,7 +18,7 @@ package org.springframework.test.context.junit4.orm.domain;
/**
* Person POJO.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -20,7 +20,7 @@ import org.springframework.test.context.junit4.orm.domain.Person;
/**
* Person Repository API.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -24,7 +24,7 @@ import org.springframework.test.context.junit4.orm.repository.PersonRepository;
/**
* Hibernate implementation of the {@link PersonRepository} API.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -20,7 +20,7 @@ import org.springframework.test.context.junit4.orm.domain.Person;
/**
* Person Service API.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -25,7 +25,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Standard implementation of the {@link PersonService} API.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -38,12 +38,12 @@ import org.springframework.test.context.support.DependencyInjectionTestExecution
/**
* Integration tests that investigate the applicability of JSR-250 lifecycle
* annotations in test classes.
*
*
* <p>This class does not really contain actual <em>tests</em> per se. Rather it
* can be used to empirically verify the expected log output (see below). In
* order to see the log output, one would naturally need to ensure that the
* order to see the log output, one would naturally need to ensure that the
* logger category for this class is enabled at {@code INFO} level.
*
*
* <h4>Expected Log Output</h4>
* <pre>
* INFO : org.springframework.test.context.junit4.spr4868.LifecycleBean - initializing
@@ -57,7 +57,7 @@ import org.springframework.test.context.support.DependencyInjectionTestExecution
* INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - tearDown()
* INFO : org.springframework.test.context.junit4.spr4868.LifecycleBean - destroying
* </pre>
*
*
* @author Sam Brannen
* @since 3.2
*/

View File

@@ -30,7 +30,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
* Integration tests to verify claims made in <a
* href="http://jira.springframework.org/browse/SPR-6128"
* target="_blank">SPR-6128</a>.
*
*
* @author Sam Brannen
* @author Chris Beams
* @since 3.0

View File

@@ -42,7 +42,7 @@ import org.springframework.transaction.annotation.Transactional;
* This set of tests (i.e., all concrete subclasses) investigates the claims made in
* <a href="https://jira.springsource.org/browse/SPR-9051" target="_blank">SPR-9051</a>
* with regard to transactional tests.
*
*
* @author Sam Brannen
* @since 3.2
* @see org.springframework.test.context.testng.AnnotationConfigTransactionalTestNGSpringContextTests

View File

@@ -35,7 +35,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* Integration tests that verify proper scoping of beans created in
* <em>{@code @Bean} Lite Mode</em>.
*
*
* @author Sam Brannen
* @since 3.2
*/

View File

@@ -20,7 +20,7 @@ import javax.annotation.PostConstruct;
/**
* Simple POJO that contains lifecycle callbacks.
*
*
* @author Sam Brannen
* @since 3.2
*/

View File

@@ -32,7 +32,7 @@ import org.springframework.transaction.PlatformTransactionManager;
/**
* Concrete implementation of {@link AbstractTransactionalAnnotatedConfigClassTests}
* that uses a true {@link Configuration @Configuration class}.
*
*
* @author Sam Brannen
* @since 3.2
* @see TransactionalAnnotatedConfigClassesWithoutAtConfigurationTests
@@ -43,7 +43,7 @@ public class TransactionalAnnotatedConfigClassWithAtConfigurationTests extends
/**
* This is <b>intentionally</b> annotated with {@code @Configuration}.
*
*
* <p>Consequently, this class contains standard singleton bean methods
* instead of <i>annotated factory bean methods</i>.
*/

View File

@@ -38,7 +38,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* that does <b>not</b> use a true {@link Configuration @Configuration class} but
* rather a <em>lite mode</em> configuration class (see the Javadoc for {@link Bean @Bean}
* for details).
*
*
* @author Sam Brannen
* @since 3.2
* @see Bean
@@ -50,7 +50,7 @@ public class TransactionalAnnotatedConfigClassesWithoutAtConfigurationTests exte
/**
* This is intentionally <b>not</b> annotated with {@code @Configuration}.
*
*
* <p>Consequently, this class contains <i>annotated factory bean methods</i>
* instead of standard singleton bean methods.
*/
@@ -74,10 +74,10 @@ public class TransactionalAnnotatedConfigClassesWithoutAtConfigurationTests exte
/**
* Since this method does not reside in a true {@code @Configuration class},
* it acts as a factory method when invoked directly (e.g., from
* {@link #transactionManager()}) and as a singleton bean when retrieved
* {@link #transactionManager()}) and as a singleton bean when retrieved
* through the application context (e.g., when injected into the test
* instance). The result is that this method will be called twice:
*
*
* <ol>
* <li>once <em>indirectly</em> by the {@link TransactionalTestExecutionListener}
* when it retrieves the {@link PlatformTransactionManager} from the
@@ -110,8 +110,8 @@ public class TransactionalAnnotatedConfigClassesWithoutAtConfigurationTests exte
}
/**
* Overrides {@code afterTransaction()} in order to assert a different result.
*
* Overrides {@code afterTransaction()} in order to assert a different result.
*
* <p>See in-line comments for details.
*
* @see AbstractTransactionalAnnotatedConfigClassTests#afterTransaction()

View File

@@ -21,7 +21,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -23,7 +23,7 @@ import org.junit.Test;
/**
* Unit tests for {@link AnnotationConfigContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -33,7 +33,7 @@ import org.springframework.util.ObjectUtils;
/**
* Unit tests for {@link DelegatingSmartContextLoader}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -18,7 +18,7 @@ package org.springframework.test.context.support;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Configuration;
/**
* Not an actual <em>test case</em>.
*
*
* @author Sam Brannen
* @since 3.1
* @see AnnotationConfigContextLoaderTests

View File

@@ -45,10 +45,10 @@ import org.testng.annotations.Test;
* Integration tests that verify support for
* {@link import org.springframework.context.annotation.Configuration @Configuration}
* classes with TestNG-based tests.
*
*
* <p>Configuration will be loaded from
* {@link AnnotationConfigTransactionalTestNGSpringContextTests.ContextConfiguration}.
*
*
* @author Sam Brannen
* @since 3.1
*/

View File

@@ -43,7 +43,7 @@ import org.testng.annotations.Test;
/**
* Combined integration test for {@link AbstractTestNGSpringContextTests} and
* {@link AbstractTransactionalTestNGSpringContextTests}.
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -43,7 +43,7 @@ import org.testng.annotations.Test;
* individual tests. DirtiesContextTransactionalTestNGSpringContextTests
* therefore verifies the expected behavior and correct semantics.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -57,7 +57,7 @@ import org.testng.TestNG;
* and {@link TestExecutionListener#afterTestClass(TestContext)
* afterTestClass()} lifecycle callback methods.
* </p>
*
*
* @author Sam Brannen
* @since 2.5
*/

View File

@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
* {@link AbstractTransactionalTestNGSpringContextTests}; used to verify claim
* raised in <a href="http://jira.springframework.org/browse/SPR-6124"
* target="_blank">SPR-6124</a>.
*
*
* @author Sam Brannen
* @since 3.0
*/

View File

@@ -26,7 +26,7 @@ import org.springframework.web.context.WebApplicationContext;
* Convenience test suite for integration tests that verify support for
* {@link WebApplicationContext} {@linkplain ContextLoader context loaders}
* in the TestContext framework.
*
*
* @author Sam Brannen
* @since 3.2
*/

View File

@@ -28,7 +28,7 @@ import org.springframework.core.io.support.EncodedResource;
/**
* Unit tests for {@link JdbcTestUtils}.
*
*
* @author Thomas Risberg
* @author Sam Brannen
* @since 2.5.4

View File

@@ -29,7 +29,7 @@ import org.springframework.test.util.subpackage.Person;
/**
* Unit tests for {@link ReflectionTestUtils}.
*
*
* @author Sam Brannen
* @author Juergen Hoeller
*/

View File

@@ -21,7 +21,7 @@ import org.springframework.core.style.ToStringCreator;
/**
* A <em>legacy entity</em> whose {@link #toString()} method has side effects;
* intended for use in unit tests.
*
*
* @author Sam Brannen
* @since 3.2
*/

View File

@@ -21,7 +21,7 @@ import org.springframework.core.style.ToStringCreator;
/**
* Concrete subclass of {@link PersistentEntity} representing a <em>person</em>
* entity; intended for use in unit tests.
*
*
* @author Sam Brannen
* @since 2.5
*/