diff --git a/src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java b/src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java index e0571f7791d847dd5251ed239ca898ae049458b1..d0d9e55bac1bd20419ea07941e5f159618439705 100644 --- a/src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java +++ b/src/test/java/org/springframework/samples/petclinic/service/AbstractClinicServiceTests.java @@ -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 diff --git a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJdbcTests.java b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJdbcTests.java index 787733c1e11c1e81db8e1c62c64bc8f950d4542d..49e57ea402120f21be330742397071be9c89325f 100644 --- a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJdbcTests.java +++ b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJdbcTests.java @@ -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 diff --git a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJpaTests.java b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJpaTests.java index 2a3d544855bf09468e990d8457f8c8249c5c7c7f..e024f21fd09c37fb8e838e114872b8877fc41971 100644 --- a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJpaTests.java +++ b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceJpaTests.java @@ -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 diff --git a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceSpringDataJpaTests.java b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceSpringDataJpaTests.java index b624abca767012dba6cb656da1d01a27c50da324..e01dda55168a4bdf97a42a3c1258323987c82578 100644 --- a/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceSpringDataJpaTests.java +++ b/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceSpringDataJpaTests.java @@ -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 */