From 14be6655e65cb434c7d22eb9da1bc238b848a8ab Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Thu, 8 Feb 2024 23:24:48 -0300 Subject: [PATCH 1/3] add domain asserts --- generators/java/entity-files.ts | 6 +- generators/java/files.ts | 5 +- .../domain/_persistClass_Asserts.java.ejs | 87 +++++++++++++++++++ .../_package_/domain/AssertUtils.java.ejs | 15 ++++ 4 files changed, 111 insertions(+), 2 deletions(-) create mode 100644 generators/java/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Asserts.java.ejs create mode 100644 generators/java/templates/src/test/java/_package_/domain/AssertUtils.java.ejs diff --git a/generators/java/entity-files.ts b/generators/java/entity-files.ts index f6dcd28e6c1f..dd04fd6b21d5 100644 --- a/generators/java/entity-files.ts +++ b/generators/java/entity-files.ts @@ -29,7 +29,11 @@ export const entityServerFiles: WriteFileSection = { modelTestFiles: [ javaTestPackageTemplatesBlock({ condition: ctx => ctx.entityDomainLayer, - templates: ['_entityPackage_/domain/_persistClass_Test.java', '_entityPackage_/domain/_persistClass_TestSamples.java'], + templates: [ + '_entityPackage_/domain/_persistClass_Asserts.java', + '_entityPackage_/domain/_persistClass_Test.java', + '_entityPackage_/domain/_persistClass_TestSamples.java', + ], }), ], server: [ diff --git a/generators/java/files.ts b/generators/java/files.ts index 2b34ddc6418c..86b6aef07084 100644 --- a/generators/java/files.ts +++ b/generators/java/files.ts @@ -20,7 +20,7 @@ import Generator from './generator.js'; import { WriteFileSection } from '../base/api.js'; import { JavaApplication } from './types.js'; import { SERVER_MAIN_SRC_DIR } from '../generator-constants.js'; -import { moveToJavaPackageSrcDir } from './support/index.js'; +import { javaTestPackageTemplatesBlock, moveToJavaPackageSrcDir } from './support/index.js'; const files: WriteFileSection = { baseFiles: [ @@ -29,6 +29,9 @@ const files: WriteFileSection = { renameTo: moveToJavaPackageSrcDir, templates: ['GeneratedByJHipster.java'], }, + javaTestPackageTemplatesBlock({ + templates: ['domain/AssertUtils.java'], + }), ], }; diff --git a/generators/java/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Asserts.java.ejs b/generators/java/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Asserts.java.ejs new file mode 100644 index 000000000000..dcf6f03b2c75 --- /dev/null +++ b/generators/java/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Asserts.java.ejs @@ -0,0 +1,87 @@ +<%# + Copyright 2013-2024 the original author or authors from the JHipster project. + + This file is part of the JHipster project, see https://www.jhipster.tech/ + for more information. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +-%> +package <%= entityAbsolutePackage %>.domain; + +import static org.junit.jupiter.api.Assertions.assertAll; +import static org.assertj.core.api.Assertions.assertThat; + +<%_ if (anyFieldIsBigDecimal) { _%> +import static <%- packageName %>.domain.AssertUtils.bigDecimalCompareTo; +<%_ } _%> +<%_ if (anyFieldIsZonedDateTime) { _%> +import static <%- packageName %>.domain.AssertUtils.zonedDataTimeSameInstant; +<%_ } _%> + +public class <%= persistClass %>Asserts { + + public static void assert<%- persistClass %>AllPropertiesEquals(<%- persistClass %> expected, <%- persistClass %> actual) { + assert<%- persistClass %>AutoGeneratedPropertiesEquals(expected, actual); + assert<%- persistClass %>AllUpdatablePropertiesEquals(expected, actual); + } + + public static void assert<%- persistClass %>AllUpdatablePropertiesEquals(<%- persistClass %> expected, <%- persistClass %> actual) { + assert<%- persistClass %>UpdatableFieldsEquals(expected, actual); + assert<%- persistClass %>UpdatableRelationshipsEquals(expected, actual); + } + + public static void assert<%- persistClass %>AutoGeneratedPropertiesEquals(<%- persistClass %> expected, <%- persistClass %> actual) { +<%_ if (fields.some(field => !field.transient && field.autoGenerate)) { _%> + assertThat(expected) + .as("Verify <%- persistClass %> auto generated properties") + <%_ for (const field of fields.filter(field => !field.transient && field.autoGenerate)) { _%> + .satisfies(e -> assertThat(e.get<%- field.fieldInJavaBeanMethod %>()).as("check <%- field.propertyName %>").isEqualTo(actual.get<%- field.fieldInJavaBeanMethod %>())) + <%_ } _%> + <%_ for (const relationship of relationships.filter(relationship => relationship.autoGenerate && !relationship.otherEntity.builtInUser)) { _%> + .satisfies(e -> assertThat(e.get<%- relationship.propertyJavaBeanName %>()).as("check <%- relationship.propertyName %>").isEqualTo(actual.get<%- relationship.propertyJavaBeanName %>())) + <%_ } _%> + ; +<%_ } _%> + } + + public static void assert<%- persistClass %>UpdatableFieldsEquals(<%- persistClass %> expected, <%- persistClass %> actual) { +<%_ if (fields.some(field => !field.transient && !field.autoGenerate)) { _%> + assertThat(expected) + .as("Verify <%- persistClass %> relevant properties") + <%_ for (const field of fields.filter(field => !field.transient && !field.autoGenerate)) { _%> + <%_ if (field.fieldTypeZonedDateTime) { _%> + .satisfies(e -> assertThat(e.get<%- field.fieldInJavaBeanMethod %>()).as("check <%- field.propertyName %>").usingComparator(zonedDataTimeSameInstant).isEqualTo(actual.get<%- field.fieldInJavaBeanMethod %>())) + <%_ } else if (field.fieldTypeBigDecimal) { _%> + .satisfies(e -> assertThat(e.get<%- field.fieldInJavaBeanMethod %>()).as("check <%- field.propertyName %>").usingComparator(bigDecimalCompareTo).isEqualTo(actual.get<%- field.fieldInJavaBeanMethod %>())) + <%_ } else { _%> + .satisfies(e -> assertThat(e.get<%- field.fieldInJavaBeanMethod %>()).as("check <%- field.propertyName %>").isEqualTo(actual.get<%- field.fieldInJavaBeanMethod %>())) + <%_ if (field.fieldTypeBinary && !field.blobContentTypeText) { _%> + .satisfies(e -> assertThat(e.get<%- field.fieldInJavaBeanMethod %>ContentType()).as("check <%- field.propertyName %> contenty type").isEqualTo(actual.get<%- field.fieldInJavaBeanMethod %>ContentType())) + <%_ } -%> + <%_ } -%> + <%_ } -%> + ; +<%_ } _%> + } + + public static void assert<%- persistClass %>UpdatableRelationshipsEquals(<%- persistClass %> expected, <%- persistClass %> actual) { +<%_ if (relationships.some(relationship => !relationship.autoGenerate && !relationship.otherEntity.builtInUser)) { _%> + assertThat(expected) + .as("Verify <%- persistClass %> relationships") + <%_ for (const relationship of relationships.filter(relationship => !relationship.autoGenerate && !relationship.otherEntity.builtInUser)) { _%> + .satisfies(e -> assertThat(e.get<%- relationship.propertyJavaBeanName %>()).as("check <%- relationship.propertyName %>").isEqualTo(actual.get<%- relationship.propertyJavaBeanName %>())) + <%_ } _%> + ; +<%_ } _%> + } +} \ No newline at end of file diff --git a/generators/java/templates/src/test/java/_package_/domain/AssertUtils.java.ejs b/generators/java/templates/src/test/java/_package_/domain/AssertUtils.java.ejs new file mode 100644 index 000000000000..3e083b5cd084 --- /dev/null +++ b/generators/java/templates/src/test/java/_package_/domain/AssertUtils.java.ejs @@ -0,0 +1,15 @@ +package <%= packageName %>.domain; + +import java.math.BigDecimal; +import java.time.ZonedDateTime; +import java.time.ZoneOffset; +import java.util.Comparator; +import java.util.Objects; + +public class AssertUtils { + + public static Comparator zonedDataTimeSameInstant = (ZonedDateTime e, ZonedDateTime a) -> Objects.compare(e, a, (e1, a2) -> e1.withZoneSameInstant(ZoneOffset.UTC).compareTo(a2.withZoneSameInstant(ZoneOffset.UTC))); + + public static Comparator bigDecimalCompareTo = (BigDecimal e, BigDecimal a) -> Objects.compare(e, a, (e1, a2) -> e1.compareTo(a2)); + +} From bc40c6792a6a14e3ade29c4b9be5ef6aa52d8065 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Fri, 9 Feb 2024 01:25:17 -0300 Subject: [PATCH 2/3] add test to mapper --- .../mapper/_entityClass_MapperTest.java.ejs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/generators/server/templates/src/test/java/_package_/_entityPackage_/service/mapper/_entityClass_MapperTest.java.ejs b/generators/server/templates/src/test/java/_package_/_entityPackage_/service/mapper/_entityClass_MapperTest.java.ejs index fb790df1ba81..5ff855748dc2 100644 --- a/generators/server/templates/src/test/java/_package_/_entityPackage_/service/mapper/_entityClass_MapperTest.java.ejs +++ b/generators/server/templates/src/test/java/_package_/_entityPackage_/service/mapper/_entityClass_MapperTest.java.ejs @@ -18,19 +18,25 @@ -%> package <%= entityAbsolutePackage %>.service.mapper; +import static <%= entityAbsoluteClass %>Asserts.*; +import static <%= entityAbsoluteClass %>TestSamples.*; + import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import static org.assertj.core.api.Assertions.assertThat; -<%_ if (primaryKey && primaryKey.hasUUID) { _%> -import java.util.UUID; -<%_ } _%> class <%= entityClass %>MapperTest { private <%= entityClass %>Mapper <%= entityInstance %>Mapper; @BeforeEach - public void setUp() { + void setUp() { <%= entityInstance %>Mapper = new <%= entityClass %>MapperImpl(); } + + @Test + void shouldConvertToDtoAndBack() { + var expected = get<%= persistClass %>Sample1(); + var actual = <%= entityInstance %>Mapper.toEntity(<%= entityInstance %>Mapper.toDto(expected)); + assert<%= persistClass %>AllPropertiesEquals(expected, actual); + } } From cf109fce2c073d85ce9ce023284398718ddcd612 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Fri, 9 Feb 2024 01:38:35 -0300 Subject: [PATCH 3/3] update asserts snapshots --- .../__snapshots__/generator.spec.ts.snap | 15 ++ .../java/__snapshots__/generator.spec.ts.snap | 12 ++ .../__snapshots__/generator.spec.js.snap | 21 ++ .../__snapshots__/needles.spec.ts.snap | 6 + .../__snapshots__/generator.spec.ts.snap | 9 + .../__snapshots__/generator.spec.ts.snap | 90 ++++++++ .../__snapshots__/generator.spec.ts.snap | 99 +++++++++ .../__snapshots__/generator.spec.ts.snap | 153 ++++++++++++++ .../__snapshots__/generator.spec.ts.snap | 99 +++++++++ .../__snapshots__/generator.spec.ts.snap | 99 +++++++++ .../__snapshots__/generator.spec.ts.snap | 195 ++++++++++++++++++ .../__snapshots__/sql-entities.spec.ts.snap | 126 +++++++++++ 12 files changed, 924 insertions(+) diff --git a/generators/entities/__snapshots__/generator.spec.ts.snap b/generators/entities/__snapshots__/generator.spec.ts.snap index 2edca06ff87c..40919b37c45a 100644 --- a/generators/entities/__snapshots__/generator.spec.ts.snap +++ b/generators/entities/__snapshots__/generator.spec.ts.snap @@ -311,18 +311,27 @@ exports[`generator - entities regenerating all entities should match snapshot 1` "src/main/webapp/i18n/en/user-management.json": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/BarAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/BarTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/BarTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/FooAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/FooTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/FooTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/SkipAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/SkipTest.java": { "stateCleared": "modified", }, @@ -631,12 +640,18 @@ exports[`generator - entities regenerating some entities should match snapshot 1 "src/main/webapp/i18n/en/user-management.json": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/BarAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/BarTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/BarTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/FooAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/FooTest.java": { "stateCleared": "modified", }, diff --git a/generators/java/__snapshots__/generator.spec.ts.snap b/generators/java/__snapshots__/generator.spec.ts.snap index 019c71737ac6..7de1d6b24e4d 100644 --- a/generators/java/__snapshots__/generator.spec.ts.snap +++ b/generators/java/__snapshots__/generator.spec.ts.snap @@ -35,18 +35,30 @@ exports[`generator - java with default config should match files snapshot 1`] = "src/main/java/com/mycompany/myapp/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/myapp/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/BarAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/BarTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/BarTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/FooAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/FooTest.java": { "stateCleared": "modified", }, diff --git a/generators/server/__snapshots__/generator.spec.js.snap b/generators/server/__snapshots__/generator.spec.js.snap index 2c16f6d3aafe..ed5f3296ad22 100644 --- a/generators/server/__snapshots__/generator.spec.js.snap +++ b/generators/server/__snapshots__/generator.spec.js.snap @@ -191,6 +191,9 @@ exports[`generator - server composing databaseType option no with jwt should mat "src/test/java/com/mycompany/myapp/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -442,6 +445,9 @@ exports[`generator - server composing databaseType option no with oauth2 should "src/test/java/com/mycompany/myapp/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -657,6 +663,9 @@ exports[`generator - server composing databaseType option no with session should "src/test/java/com/mycompany/myapp/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -1121,18 +1130,30 @@ exports[`generator - server with entities should match files snapshot 1`] = ` "src/test/java/com/mycompany/myapp/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/myapp/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/BarAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/BarTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/myapp/domain/BarTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/FooAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/FooTest.java": { "stateCleared": "modified", }, diff --git a/generators/server/support/__snapshots__/needles.spec.ts.snap b/generators/server/support/__snapshots__/needles.spec.ts.snap index cdd8d18f3077..ac3f20828eb6 100644 --- a/generators/server/support/__snapshots__/needles.spec.ts.snap +++ b/generators/server/support/__snapshots__/needles.spec.ts.snap @@ -374,6 +374,12 @@ exports[`generator - server - support - needles generated project should match s "src/test/java/com/mycompany/myapp/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/myapp/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/AuthorityTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-boot/__snapshots__/generator.spec.ts.snap b/generators/spring-boot/__snapshots__/generator.spec.ts.snap index f20111394800..a4922f619090 100644 --- a/generators/spring-boot/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-boot/__snapshots__/generator.spec.ts.snap @@ -287,6 +287,12 @@ exports[`generator - spring-boot with jwt should match generated files snapshot "src/test/java/com/mycompany/myapp/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/myapp/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -586,6 +592,9 @@ exports[`generator - spring-boot with oauth2 should match generated files snapsh "src/test/java/com/mycompany/myapp/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/myapp/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap b/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap index c28e7fe46f5d..d7de171c54e3 100644 --- a/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap @@ -374,12 +374,21 @@ exports[`generator - cassandra gateway-jwt-gradle-enableTranslation(true)-com.my "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -736,12 +745,21 @@ exports[`generator - cassandra microservice-jwt-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1083,12 +1101,21 @@ exports[`generator - cassandra microservice-jwt-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1439,12 +1466,21 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1861,12 +1897,21 @@ exports[`generator - cassandra monolith-jwt-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2262,12 +2307,21 @@ exports[`generator - cassandra monolith-jwt-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2633,12 +2687,21 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3010,12 +3073,21 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -3435,12 +3507,21 @@ exports[`generator - cassandra monolith-session-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3803,12 +3884,21 @@ exports[`generator - cassandra monolith-session-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap b/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap index f6693895556b..070399d6f483 100644 --- a/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap @@ -395,18 +395,30 @@ exports[`generator - couchbase gateway-jwt-gradle-enableTranslation(true)-com.my "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -769,12 +781,21 @@ exports[`generator - couchbase microservice-jwt-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1116,12 +1137,21 @@ exports[`generator - couchbase microservice-jwt-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1472,12 +1502,21 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1915,18 +1954,30 @@ exports[`generator - couchbase monolith-jwt-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2331,12 +2382,21 @@ exports[`generator - couchbase monolith-jwt-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2702,12 +2762,21 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3082,12 +3151,21 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -3528,18 +3606,30 @@ exports[`generator - couchbase monolith-session-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3911,12 +4001,21 @@ exports[`generator - couchbase monolith-session-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap b/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap index 9fd04976d9b3..840ef505d3d0 100644 --- a/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap @@ -395,6 +395,9 @@ exports[`generator - elasticsearch gateway-jwt-gradle-enableTranslation(true)-co "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -404,18 +407,30 @@ exports[`generator - elasticsearch gateway-jwt-gradle-enableTranslation(true)-co "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -802,6 +817,9 @@ exports[`generator - elasticsearch microservice-jwt-reactive(false)-maven-enable "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -811,18 +829,30 @@ exports[`generator - elasticsearch microservice-jwt-reactive(false)-maven-enable "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1209,6 +1239,9 @@ exports[`generator - elasticsearch microservice-jwt-reactive(true)-gradle-enable "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -1218,18 +1251,30 @@ exports[`generator - elasticsearch microservice-jwt-reactive(true)-gradle-enable "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1595,6 +1640,9 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -1604,18 +1652,30 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2059,6 +2119,9 @@ exports[`generator - elasticsearch monolith-jwt-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -2068,18 +2131,30 @@ exports[`generator - elasticsearch monolith-jwt-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2505,6 +2580,9 @@ exports[`generator - elasticsearch monolith-jwt-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -2514,18 +2592,30 @@ exports[`generator - elasticsearch monolith-jwt-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2933,6 +3023,9 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -2942,18 +3035,30 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3385,6 +3490,9 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -3394,18 +3502,30 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -3873,6 +3993,9 @@ exports[`generator - elasticsearch monolith-session-reactive(false)-maven-enable "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -3882,24 +4005,39 @@ exports[`generator - elasticsearch monolith-session-reactive(false)-maven-enable "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -4325,6 +4463,9 @@ exports[`generator - elasticsearch monolith-session-reactive(true)-gradle-enable "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -4334,18 +4475,30 @@ exports[`generator - elasticsearch monolith-session-reactive(true)-gradle-enable "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap b/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap index 04b8dde41752..ac362217b227 100644 --- a/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap @@ -365,18 +365,30 @@ exports[`generator - mongodb gateway-jwt-gradle-enableTranslation(true)-com.myco "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -727,12 +739,21 @@ exports[`generator - mongodb microservice-jwt-reactive(false)-maven-enableTransl "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1062,12 +1083,21 @@ exports[`generator - mongodb microservice-jwt-reactive(true)-gradle-enableTransl "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1403,12 +1433,21 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1822,18 +1861,30 @@ exports[`generator - mongodb monolith-jwt-reactive(false)-maven-enableTranslatio "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2220,12 +2271,21 @@ exports[`generator - mongodb monolith-jwt-reactive(true)-gradle-enableTranslatio "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2579,12 +2639,21 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2941,12 +3010,21 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -3363,18 +3441,30 @@ exports[`generator - mongodb monolith-session-reactive(false)-maven-enableTransl "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3728,12 +3818,21 @@ exports[`generator - mongodb monolith-session-reactive(true)-gradle-enableTransl "src/test/java/com/mycompany/config/TestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap b/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap index 782018676b11..320ff17b2600 100644 --- a/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap @@ -371,18 +371,30 @@ exports[`generator - neo4j gateway-jwt-gradle-enableTranslation(true)-com.mycomp "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -727,12 +739,21 @@ exports[`generator - neo4j microservice-jwt-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1059,12 +1080,21 @@ exports[`generator - neo4j microservice-jwt-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1400,12 +1430,21 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1822,18 +1861,30 @@ exports[`generator - neo4j monolith-jwt-reactive(false)-maven-enableTranslation( "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2217,12 +2268,21 @@ exports[`generator - neo4j monolith-jwt-reactive(true)-gradle-enableTranslation( "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -2573,12 +2633,21 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -2935,12 +3004,21 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -3360,18 +3438,30 @@ exports[`generator - neo4j monolith-session-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/WebConfigurerTestController.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -3722,12 +3812,21 @@ exports[`generator - neo4j monolith-session-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/SpringBootTestClassOrderer.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap b/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap index 1e5f87399796..a09b8526e7f5 100644 --- a/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap @@ -356,6 +356,12 @@ exports[`generator - sql gateway-jwt-mysql-gradle-enableTranslation(true)-com.my "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -820,6 +826,12 @@ exports[`generator - sql gateway-jwt-oracle-gradle-enableTranslation(true)-com.m "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -1269,6 +1281,12 @@ exports[`generator - sql gateway-jwt-postgresql-gradle-enableTranslation(true)-c "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -1682,6 +1700,12 @@ exports[`generator - sql gateway-oauth2-mariadb-gradle-enableTranslation(true)-c "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -2077,6 +2101,12 @@ exports[`generator - sql gateway-oauth2-mssql-gradle-enableTranslation(true)-com "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -2370,6 +2400,9 @@ exports[`generator - sql microservice-jwt-mariadb-reactive(true)-gradle-enableTr "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -2645,6 +2678,9 @@ exports[`generator - sql microservice-jwt-mssql-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -2902,6 +2938,9 @@ exports[`generator - sql microservice-jwt-mysql-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -3183,6 +3222,9 @@ exports[`generator - sql microservice-jwt-mysql-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -3434,6 +3476,9 @@ exports[`generator - sql microservice-jwt-oracle-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -3706,6 +3751,9 @@ exports[`generator - sql microservice-jwt-oracle-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -3951,6 +3999,9 @@ exports[`generator - sql microservice-jwt-postgresql-reactive(false)-maven-enabl "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -4232,6 +4283,9 @@ exports[`generator - sql microservice-jwt-postgresql-reactive(true)-gradle-enabl "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -4489,6 +4543,9 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(false)-maven-enabl "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -4761,6 +4818,9 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(true)-gradle-enabl "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -5000,6 +5060,9 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(false)-maven-enableT "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -5266,6 +5329,9 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(true)-gradle-enableT "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -5532,6 +5598,9 @@ exports[`generator - sql microservice-oauth2-mysql-reactive(true)-gradle-enableT "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -5795,6 +5864,9 @@ exports[`generator - sql microservice-oauth2-oracle-reactive(true)-gradle-enable "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -6055,6 +6127,9 @@ exports[`generator - sql microservice-oauth2-postgresql-reactive(true)-gradle-en "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -6405,6 +6480,12 @@ exports[`generator - sql monolith-jwt-mariadb-reactive(false)-maven-enableTransl "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -6758,6 +6839,9 @@ exports[`generator - sql monolith-jwt-mariadb-reactive(true)-gradle-enableTransl "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -7144,6 +7228,12 @@ exports[`generator - sql monolith-jwt-mssql-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -7497,6 +7587,9 @@ exports[`generator - sql monolith-jwt-mssql-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -7880,6 +7973,12 @@ exports[`generator - sql monolith-jwt-mysql-reactive(false)-maven-enableTranslat "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -8227,6 +8326,9 @@ exports[`generator - sql monolith-jwt-mysql-reactive(true)-gradle-enableTranslat "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -8598,6 +8700,12 @@ exports[`generator - sql monolith-jwt-oracle-reactive(false)-maven-enableTransla "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -8948,6 +9056,9 @@ exports[`generator - sql monolith-jwt-oracle-reactive(true)-gradle-enableTransla "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -9334,6 +9445,12 @@ exports[`generator - sql monolith-jwt-postgresql-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -9687,6 +9804,9 @@ exports[`generator - sql monolith-jwt-postgresql-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/management/SecurityMetersServiceTests.java": { "stateCleared": "modified", }, @@ -9986,6 +10106,9 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -10294,6 +10417,9 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -10575,6 +10701,9 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -10889,6 +11018,9 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -11182,6 +11314,9 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -11496,6 +11631,9 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -11783,6 +11921,9 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -12088,6 +12229,9 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -12369,6 +12513,9 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/repository/timezone/DateTimeWrapper.java": { "stateCleared": "modified", }, @@ -12683,6 +12830,9 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/test/java/com/mycompany/config/TestSecurityConfiguration.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -13045,6 +13195,12 @@ exports[`generator - sql monolith-session-mariadb-reactive(false)-maven-enableTr "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -13362,6 +13518,9 @@ exports[`generator - sql monolith-session-mariadb-reactive(true)-gradle-enableTr "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -13715,6 +13874,12 @@ exports[`generator - sql monolith-session-mssql-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -14032,6 +14197,9 @@ exports[`generator - sql monolith-session-mssql-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -14385,6 +14553,12 @@ exports[`generator - sql monolith-session-mysql-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -14702,6 +14876,9 @@ exports[`generator - sql monolith-session-mysql-reactive(true)-gradle-enableTran "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -15052,6 +15229,12 @@ exports[`generator - sql monolith-session-oracle-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -15366,6 +15549,9 @@ exports[`generator - sql monolith-session-oracle-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, @@ -15719,6 +15905,12 @@ exports[`generator - sql monolith-session-postgresql-reactive(false)-maven-enabl "src/test/java/tech/jhipster/config/timezone/HibernateTimeZoneIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AssertUtils.java": { + "stateCleared": "modified", + }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, @@ -16036,6 +16228,9 @@ exports[`generator - sql monolith-session-postgresql-reactive(true)-gradle-enabl "src/test/java/com/mycompany/config/SqlTestContainersSpringContextCustomizerFactory.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AssertUtils.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/security/SecurityUtilsUnitTest.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap b/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap index c617e941f7b5..7d41cd4bc2a3 100644 --- a/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap +++ b/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap @@ -170,6 +170,9 @@ exports[`generator - sql - entities gateway-jwt-gradle-enableTranslation(true)-c "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -179,18 +182,27 @@ exports[`generator - sql - entities gateway-jwt-gradle-enableTranslation(true)-c "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -334,6 +346,9 @@ exports[`generator - sql - entities microservice-jwt-reactive(false)-maven-enabl "src/main/java/tech/jhipster/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -343,18 +358,27 @@ exports[`generator - sql - entities microservice-jwt-reactive(false)-maven-enabl "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -528,6 +552,9 @@ exports[`generator - sql - entities microservice-jwt-reactive(true)-gradle-enabl "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -537,18 +564,27 @@ exports[`generator - sql - entities microservice-jwt-reactive(true)-gradle-enabl "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -722,6 +758,9 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -731,18 +770,27 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -907,6 +955,9 @@ exports[`generator - sql - entities monolith-jwt-reactive(false)-maven-enableTra "src/main/java/tech/jhipster/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -916,24 +967,36 @@ exports[`generator - sql - entities monolith-jwt-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1122,6 +1185,9 @@ exports[`generator - sql - entities monolith-jwt-reactive(true)-gradle-enableTra "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -1131,18 +1197,27 @@ exports[`generator - sql - entities monolith-jwt-reactive(true)-gradle-enableTra "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1274,6 +1349,9 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -1283,18 +1361,27 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1468,6 +1555,9 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -1477,18 +1567,27 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", }, @@ -1653,6 +1752,9 @@ exports[`generator - sql - entities monolith-session-reactive(false)-maven-enabl "src/main/java/tech/jhipster/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/custom/domain/EntityWithCustomIdEntityTest.java": { "stateCleared": "modified", }, @@ -1662,24 +1764,36 @@ exports[`generator - sql - entities monolith-session-reactive(false)-maven-enabl "src/test/java/tech/jhipster/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AnotherSimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AnotherSimpleEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/AuthorityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/AuthorityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/AuthorityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/MicroserviceEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/domain/MicroserviceEntityTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/tech/jhipster/domain/SimpleEntityAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/tech/jhipster/domain/SimpleEntityTest.java": { "stateCleared": "modified", }, @@ -1868,6 +1982,9 @@ exports[`generator - sql - entities monolith-session-reactive(true)-gradle-enabl "src/main/java/com/mycompany/web/rest/package-info.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/custom/domain/EntityWithCustomIdTest.java": { "stateCleared": "modified", }, @@ -1877,18 +1994,27 @@ exports[`generator - sql - entities monolith-session-reactive(true)-gradle-enabl "src/test/java/com/mycompany/custom/web/rest/EntityWithCustomIdResourceIT.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/AnotherSimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/AnotherSimpleTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/AnotherSimpleTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/MicroserviceAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/MicroserviceTest.java": { "stateCleared": "modified", }, "src/test/java/com/mycompany/domain/MicroserviceTestSamples.java": { "stateCleared": "modified", }, + "src/test/java/com/mycompany/domain/SimpleAsserts.java": { + "stateCleared": "modified", + }, "src/test/java/com/mycompany/domain/SimpleTest.java": { "stateCleared": "modified", },