Unifying GitHub references to GH-nnn.
Original pull request #903 See #578
This commit is contained in:
@@ -131,7 +131,7 @@ public class BasicJdbcConverterUnitTests {
|
||||
|
||||
}
|
||||
|
||||
@Test // #945
|
||||
@Test // GH-945
|
||||
void conversionOfPrimitiveArrays() {
|
||||
|
||||
int[] ints = { 1, 2, 3, 4, 5 };
|
||||
|
||||
@@ -193,7 +193,7 @@ public class DefaultDataAccessStrategyUnitTests {
|
||||
assertThat(paramSourceCaptor.getValue().getValue("DUMMYENTITYROOT")).isEqualTo(rawId);
|
||||
}
|
||||
|
||||
@Test // #933
|
||||
@Test // GH-933
|
||||
public void insertWithDefinedIdDoesNotRetrieveGeneratedKeys() {
|
||||
|
||||
Object generatedId = accessStrategy.insert(new DummyEntity(ORIGINAL_ID), DummyEntity.class, Identifier.from(additionalParameters));
|
||||
@@ -204,7 +204,7 @@ public class DefaultDataAccessStrategyUnitTests {
|
||||
paramSourceCaptor.capture());
|
||||
}
|
||||
|
||||
@Test // #933
|
||||
@Test // GH-933
|
||||
public void insertWithUndefinedIdRetrievesGeneratedKeys() {
|
||||
|
||||
when(namedJdbcOperations.update(any(), any(), any()))
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.junit.jupiter.api.Test;
|
||||
*/
|
||||
class JdbcCustomConversionsUnitTests {
|
||||
|
||||
@Test // #937
|
||||
@Test // GH-937
|
||||
void registersNonDateDefaultConverter() {
|
||||
|
||||
JdbcCustomConversions conversions = new JdbcCustomConversions();
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.data.jdbc.core.convert.JdbcCustomConversions;
|
||||
*/
|
||||
class JdbcDb2DialectUnitTests {
|
||||
|
||||
@Test // #974
|
||||
@Test // GH-974
|
||||
void testCustomConversions() {
|
||||
|
||||
JdbcCustomConversions customConversions = new JdbcCustomConversions(
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.data.jdbc.core.convert.JdbcValue;
|
||||
*/
|
||||
class JdbcMySqlDialectUnitTests {
|
||||
|
||||
@Test // #974
|
||||
@Test // GH-974
|
||||
void testCustomConversions() {
|
||||
|
||||
JdbcCustomConversions customConversions = new JdbcCustomConversions(
|
||||
|
||||
@@ -96,7 +96,7 @@ public class BasicJdbcPersistentPropertyUnitTests {
|
||||
assertThat(listProperty.getReverseColumnName(path)).isEqualTo(quoted("override_id"));
|
||||
}
|
||||
|
||||
@Test // #938
|
||||
@Test // GH-938
|
||||
void considersAggregateReferenceAnAssociation() {
|
||||
|
||||
RelationalPersistentEntity<?> entity = context.getRequiredPersistentEntity(DummyEntity.class);
|
||||
|
||||
@@ -402,7 +402,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(repository.countByName(one.getName())).isEqualTo(2);
|
||||
}
|
||||
|
||||
@Test // #945
|
||||
@Test // GH-945
|
||||
@EnabledOnFeature(TestDatabaseFeatures.Feature.IS_POSTGRES)
|
||||
public void usePrimitiveArrayAsArgument() {
|
||||
assertThat(repository.unnestPrimitive(new int[] { 1, 2, 3 })).containsExactly(1, 2, 3);
|
||||
@@ -439,7 +439,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(slice.hasNext()).isTrue();
|
||||
}
|
||||
|
||||
@Test // #935
|
||||
@Test // GH-935
|
||||
public void queryByOffsetDateTime() {
|
||||
|
||||
Instant now = createDummyBeforeAndAfterNow();
|
||||
@@ -450,7 +450,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(entities).extracting(DummyEntity::getName).containsExactly("second");
|
||||
}
|
||||
|
||||
@Test // #971
|
||||
@Test // GH-971
|
||||
public void stringQueryProjectionShouldReturnProjectedEntities() {
|
||||
|
||||
repository.save(createDummyEntity());
|
||||
@@ -461,7 +461,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(result.get(0).getName()).isEqualTo("Entity Name");
|
||||
}
|
||||
|
||||
@Test // #971
|
||||
@Test // GH-971
|
||||
public void stringQueryProjectionShouldReturnDtoProjectedEntities() {
|
||||
|
||||
repository.save(createDummyEntity());
|
||||
@@ -472,7 +472,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(result.get(0).getName()).isEqualTo("Entity Name");
|
||||
}
|
||||
|
||||
@Test // #971
|
||||
@Test // GH-971
|
||||
public void partTreeQueryProjectionShouldReturnProjectedEntities() {
|
||||
|
||||
repository.save(createDummyEntity());
|
||||
@@ -483,7 +483,7 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(result.get(0).getName()).isEqualTo("Entity Name");
|
||||
}
|
||||
|
||||
@Test // #971
|
||||
@Test // GH-971
|
||||
public void pageQueryProjectionShouldReturnProjectedEntities() {
|
||||
|
||||
repository.save(createDummyEntity());
|
||||
@@ -494,14 +494,14 @@ public class JdbcRepositoryIntegrationTests {
|
||||
assertThat(result.getContent().get(0).getName()).isEqualTo("Entity Name");
|
||||
}
|
||||
|
||||
@Test // #974
|
||||
@Test // GH-974
|
||||
@EnabledOnFeature(TestDatabaseFeatures.Feature.IS_POSTGRES)
|
||||
void intervalCalculation() {
|
||||
|
||||
repository.updateWithIntervalCalculation(23L, LocalDateTime.now());
|
||||
}
|
||||
|
||||
@Test // #908
|
||||
@Test // GH-908
|
||||
void derivedQueryWithBooleanLiteralFindsCorrectValues() {
|
||||
|
||||
repository.save(createDummyEntity());
|
||||
|
||||
@@ -70,7 +70,7 @@ public class AbstractJdbcConfigurationIntegrationTests {
|
||||
}, AbstractJdbcConfigurationUnderTest.class, Infrastructure.class);
|
||||
}
|
||||
|
||||
@Test // #975
|
||||
@Test // GH-975
|
||||
void registersSimpleTypesFromCustomConversions() {
|
||||
|
||||
assertApplicationContext(context -> {
|
||||
@@ -84,7 +84,7 @@ public class AbstractJdbcConfigurationIntegrationTests {
|
||||
}, AbstractJdbcConfigurationUnderTest.class, Infrastructure.class);
|
||||
}
|
||||
|
||||
@Test // #908
|
||||
@Test // GH-908
|
||||
void userProvidedConversionsOverwriteDialectSpecificConversions() {
|
||||
|
||||
assertApplicationContext(applicationContext -> {
|
||||
|
||||
@@ -117,7 +117,7 @@ public class PartTreeJdbcQueryUnitTests {
|
||||
assertThat(query.getQuery()).isEqualTo(BASE_SELECT + " WHERE " + TABLE + ".\"FIRST_NAME\" = :first_name");
|
||||
}
|
||||
|
||||
@Test // #971
|
||||
@Test // GH-971
|
||||
public void createsQueryToFindAllEntitiesByProjectionAttribute() throws Exception {
|
||||
|
||||
when(returnedType.needsCustomConstruction()).thenReturn(true);
|
||||
|
||||
Reference in New Issue
Block a user