From cc5ee7ca50e4bc874d6144f96d8829e9e53cded3 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Tue, 13 Nov 2018 16:16:38 +0100 Subject: [PATCH] #146 - Polishing. Unified test comments and tried to improve test names. Original pull request: #147. --- .../support/RepositoryIntegrationTests.java | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java b/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java index f747465..ee49ef6 100755 --- a/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java +++ b/src/test/java/org/springframework/data/envers/repository/support/RepositoryIntegrationTests.java @@ -61,7 +61,7 @@ public class RepositoryIntegrationTests { } @Test - public void testname() { + public void testLifeCycle() { License license = new License(); license.name = "Schnitzel"; @@ -99,15 +99,12 @@ public class RepositoryIntegrationTests { }); } - @Test + @Test // #1 public void returnsEmptyRevisionsForUnrevisionedEntity() { assertThat(countryRepository.findRevisions(100L)).isEmpty(); } - /** - * @see #31 - */ - @Test + @Test // #31 public void returnsParticularRevisionForAnEntity() { Country de = new Country(); @@ -137,10 +134,7 @@ public class RepositoryIntegrationTests { }); } - /** - * @see #55 - */ - @Test + @Test // #55 public void considersRevisionNumberSortOrder() { Country de = new Country(); @@ -161,10 +155,7 @@ public class RepositoryIntegrationTests { .isGreaterThan(page.getContent().get(1).getRequiredRevisionNumber()); } - /** - * @see #21 - */ - @Test + @Test // #21 public void findsDeletedRevisions() { Country de = new Country();