mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
improved/updated Javadoc in JUnit tests
This commit is contained in:
parent
46fa288388
commit
dd0eb5a55e
4 changed files with 7 additions and 6 deletions
|
@ -34,7 +34,7 @@ import static org.junit.Assert.assertEquals;
|
|||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
/**
|
||||
* <p> Base class for {@link clinicService} integration tests. </p> <p> Subclasses should specify Spring context
|
||||
* <p> Base class for {@link ClinicService} integration tests. </p> <p> Subclasses should specify Spring context
|
||||
* configuration using {@link ContextConfiguration @ContextConfiguration} annotation </p> <p>
|
||||
* AbstractclinicServiceTests and its subclasses benefit from the following services provided by the Spring
|
||||
* TestContext Framework: </p> <ul> <li><strong>Spring IoC container caching</strong> which spares us unnecessary set up
|
||||
|
|
|
@ -21,7 +21,8 @@ import org.springframework.test.context.ContextConfiguration;
|
|||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
/**
|
||||
* <p> Integration tests for the {@link JdbcClinicImpl} implementation. </p> <p> </p>
|
||||
* <p> Integration test using the jdbc profile.
|
||||
* @see AbstractClinicServiceTests AbstractClinicServiceTests for more details. </p>
|
||||
*
|
||||
* @author Thomas Risberg
|
||||
* @author Michael Isvy
|
||||
|
|
|
@ -7,10 +7,8 @@ import org.springframework.test.context.ContextConfiguration;
|
|||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
/**
|
||||
* <p> Provides the following services: <ul> <li>Injects test dependencies, meaning that we don't need to perform
|
||||
* application context lookups. See the setClinic() method. Injection uses autowiring by type.</li> <li>Executes each
|
||||
* test method in its own transaction, which is automatically rolled back by default. This means that even if tests
|
||||
* insert or otherwise change database state, there is no need for a teardown or cleanup script.</li> </ul> <p> </p>
|
||||
* <p> Integration test using the jpa profile.
|
||||
* @see AbstractClinicServiceTests AbstractClinicServiceTests for more details. </p>
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @author Sam Brannen
|
||||
|
|
|
@ -7,6 +7,8 @@ import org.springframework.test.context.ContextConfiguration;
|
|||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
/**
|
||||
* <p> Integration test using the 'Spring Data' profile.
|
||||
* @see AbstractClinicServiceTests AbstractClinicServiceTests for more details. </p>
|
||||
* @author Michael Isvy
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue