Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Add github references to tests.

See #1446
See #1448
Original pull request: #1622
  • Loading branch information
schauder authored and mp911de committed Sep 27, 2023
1 parent 9e41d25 commit 9e795d1
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AliasFactoryUnitTests {

@Nested
class SimpleAlias {
@Test
@Test // GH-1446
void aliasForRoot() {

String alias = aliasFactory
Expand All @@ -43,7 +43,7 @@ void aliasForRoot() {
assertThat(alias).isEqualTo("c_dummy_entity_1");
}

@Test
@Test // GH-1446
void aliasSimpleProperty() {

String alias = aliasFactory
Expand All @@ -52,7 +52,7 @@ void aliasSimpleProperty() {
assertThat(alias).isEqualTo("c_name_1");
}

@Test
@Test // GH-1446
void nameGetsSanitized() {

String alias = aliasFactory.getColumnAlias(
Expand All @@ -61,7 +61,7 @@ void nameGetsSanitized() {
assertThat(alias).isEqualTo("c_ameannamecontains3illegal_characters_1");
}

@Test
@Test // GH-1446
void aliasIsStable() {

String alias1 = aliasFactory.getColumnAlias(
Expand All @@ -76,7 +76,7 @@ void aliasIsStable() {
@Nested
class RnAlias {

@Test
@Test // GH-1446
void aliasIsStable() {

String alias1 = aliasFactory.getRowNumberAlias(
Expand All @@ -87,7 +87,7 @@ void aliasIsStable() {
assertThat(alias1).isEqualTo(alias2);
}

@Test
@Test // GH-1446
void aliasProjectsOnTableReferencingPath() {

String alias1 = aliasFactory.getRowNumberAlias(
Expand All @@ -99,7 +99,7 @@ void aliasProjectsOnTableReferencingPath() {
assertThat(alias1).isEqualTo(alias2);
}

@Test
@Test // GH-1446
void rnAliasIsIndependentOfTableAlias() {

String alias1 = aliasFactory.getRowNumberAlias(
Expand All @@ -114,7 +114,7 @@ void rnAliasIsIndependentOfTableAlias() {

@Nested
class BackReferenceAlias {
@Test
@Test // GH-1446
void testBackReferenceAlias() {

String alias = aliasFactory.getBackReferenceAlias(
Expand All @@ -126,7 +126,7 @@ void testBackReferenceAlias() {

@Nested
class KeyAlias {
@Test
@Test // GH-1446
void testKeyAlias() {

String alias = aliasFactory.getKeyAlias(
Expand Down

0 comments on commit 9e795d1

Please sign in to comment.