This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from bcca4dd2ba Merge pull request #15455 from 
apache/fix/flaky-ersatz-listener-test
     add 8fad2d4803 Add a new feature that assists in database truncation in 
tests
     add 4b10c1dde7 Add postgresql clean up support
     add 9d44bc0031 Ensure cleanup runs even if the clean methods fail on the 
spec
     add 47dfa5f836 Add detailed timing to debug stats
     add ccb37bb363 fix ordering & resolution of applicaiton context without 
depending on grails-core
     add c1e8230e06 windows & mac os agents can't run this test in CI since 
they don't have docker
     add 6e7494dc5d Clean up
     add b5b8ecc691 Expand test coverage for cleaner validations
     add c5570fcb97 Dependency cleanup
     add bdca07627b Postgresql cleaner cleanup
     add 28056b25a6 Clean up postgresql cleaner
     add 1b7d204ba6 feedback: spelling typo
     add 9794c9aad9 feedback: add postgresql cleanup library
     add f2c07512bb feedback: dedupe
     add aa84dd3716 cleanup readme since documentation in grails doc
     add ba3a4ab8f3 add missing publish to the postgresql project
     add 588eab185a style: groovy cleanup
     add 3dfc3d6544 refactor: rename to `grails-testing-support-dbcleanup-*`
     add 711f3ce910 fix: remove string escape from error message
     add 8560aeed69 feedback: use for instead of each
     add ca37457782 chore: style compliance
     add 8dd5dc3fa5 Merge pull request #15453 from 
apache/database-cleanup-feature-feedback
     new a0e1b37bff Merge pull request #15436 from 
apache/database-cleanup-feature

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gradle/publish-root-config.gradle                  |   3 +
 .../src/en/guide/testing/integrationTesting.adoc   | 143 ++++++
 .../{gorm => database-cleanup}/build.gradle        |  27 +-
 .../grails-app/conf/application.yml                |  25 +-
 .../grails-app/conf/logback.xml                    |   0
 .../controllers/dbcleanup}/UrlMappings.groovy      |   2 +-
 .../grails-app/domain/dbcleanup/Author.groovy}     |  11 +-
 .../grails-app/domain/dbcleanup}/Book.groovy       |   9 +-
 .../grails-app/init/dbcleanup}/Application.groovy  |   3 +-
 .../grails-app/views/error.gsp}                    |   6 +-
 .../groovy/dbcleanup/ClassLevelCleanupSpec.groovy  |  74 +++
 .../groovy/dbcleanup/MethodLevelCleanupSpec.groovy |  87 ++++
 grails-testing-support-dbcleanup-core/README.md    |  79 ++++
 .../build.gradle                                   |  18 +-
 .../cleanup/core/ApplicationContextResolver.groovy |  50 ++
 .../testing/cleanup/core/DatabaseCleaner.groovy    |  91 ++++
 .../testing/cleanup/core/DatabaseCleanup.groovy    | 106 +++++
 .../cleanup/core/DatabaseCleanupContext.groovy     | 220 +++++++++
 .../cleanup/core/DatabaseCleanupExtension.groovy   | 203 ++++++++
 .../cleanup/core/DatabaseCleanupInterceptor.groovy | 176 +++++++
 .../cleanup/core/DatabaseCleanupStats.groovy       | 200 ++++++++
 .../cleanup/core/DatasourceCleanupMapping.groovy   | 156 +++++++
 .../core/DefaultApplicationContextResolver.groovy  |  67 +++
 .../cleanup/core/TestContextHolderListener.groovy  |  59 +++
 ...ockframework.runtime.extension.IGlobalExtension |   1 +
 .../src/main/resources/META-INF/spring.factories   |   1 +
 .../cleanup/core/DatabaseCleanupContextSpec.groovy | 478 +++++++++++++++++++
 .../core/DatabaseCleanupExtensionSpec.groovy       | 382 +++++++++++++++
 .../core/DatabaseCleanupInterceptorSpec.groovy     | 516 +++++++++++++++++++++
 .../cleanup/core/DatabaseCleanupStatsSpec.groovy   | 297 ++++++++++++
 .../core/DatasourceCleanupMappingSpec.groovy       | 175 +++++++
 .../DefaultApplicationContextResolverSpec.groovy   |  96 ++++
 .../README.md                                      |  16 +-
 .../build.gradle                                   |  28 +-
 .../testing/cleanup/h2/H2DatabaseCleaner.groovy    | 103 ++++
 .../cleanup/h2/H2DatabaseCleanupHelper.groovy      | 121 +++++
 ...che.grails.testing.cleanup.core.DatabaseCleaner |   1 +
 .../cleanup/h2/H2DatabaseCleanerSpec.groovy        | 229 +++++++++
 .../cleanup/h2/H2DatabaseCleanupHelperSpec.groovy  | 137 ++++++
 .../README.md                                      |  32 ++
 .../build.gradle                                   |  36 +-
 .../postgresql/PostgresDatabaseCleaner.groovy      | 132 ++++++
 .../PostgresDatabaseCleanupHelper.groovy           | 100 ++++
 .../postgresql/PostgresContainerHolder.groovy      |  66 +++
 .../PostgresDatabaseCleanerFunctionalSpec.groovy   | 318 +++++++++++++
 .../postgresql/PostgresDatabaseCleanerSpec.groovy  | 114 +++++
 .../PostgresDatabaseCleanupHelperSpec.groovy       |  83 ++++
 settings.gradle                                    |   5 +
 48 files changed, 5196 insertions(+), 86 deletions(-)
 copy grails-test-examples/{gorm => database-cleanup}/build.gradle (70%)
 copy 
grails-data-hibernate5/dbmigration/src/integration-test/resources/application-single-datasource.yml
 => grails-test-examples/database-cleanup/grails-app/conf/application.yml (76%)
 copy grails-test-examples/{hibernate5/grails-data-service-multi-datasource => 
database-cleanup}/grails-app/conf/logback.xml (100%)
 copy grails-test-examples/{gorm/grails-app/controllers/gorm => 
database-cleanup/grails-app/controllers/dbcleanup}/UrlMappings.groovy (98%)
 copy grails-test-examples/{demo33/grails-app/domain/demo/Car.groovy => 
database-cleanup/grails-app/domain/dbcleanup/Author.groovy} (90%)
 copy 
{grails-data-graphql/examples/grails-test-app/grails-app/domain/grails/test/app 
=> 
grails-test-examples/database-cleanup/grails-app/domain/dbcleanup}/Book.groovy 
(87%)
 copy 
grails-test-examples/{hibernate5/grails-multitenant-multi-datasource/grails-app/init/example
 => database-cleanup/grails-app/init/dbcleanup}/Application.groovy (98%)
 copy grails-test-examples/{app1/grails-app/views/forwarding/displayFlash.gsp 
=> database-cleanup/grails-app/views/error.gsp} (91%)
 create mode 100644 
grails-test-examples/database-cleanup/src/integration-test/groovy/dbcleanup/ClassLevelCleanupSpec.groovy
 create mode 100644 
grails-test-examples/database-cleanup/src/integration-test/groovy/dbcleanup/MethodLevelCleanupSpec.groovy
 create mode 100644 grails-testing-support-dbcleanup-core/README.md
 copy {grails-testing-support-mongodb => 
grails-testing-support-dbcleanup-core}/build.gradle (71%)
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/ApplicationContextResolver.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleaner.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanup.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupContext.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupExtension.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupInterceptor.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupStats.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DatasourceCleanupMapping.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/DefaultApplicationContextResolver.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/groovy/org/apache/grails/testing/cleanup/core/TestContextHolderListener.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/resources/META-INF/services/org.spockframework.runtime.extension.IGlobalExtension
 create mode 100644 
grails-testing-support-dbcleanup-core/src/main/resources/META-INF/spring.factories
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupContextSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupExtensionSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupInterceptorSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DatabaseCleanupStatsSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DatasourceCleanupMappingSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-core/src/test/groovy/org/apache/grails/testing/cleanup/core/DefaultApplicationContextResolverSpec.groovy
 copy {grails-data-graphql => grails-testing-support-dbcleanup-h2}/README.md 
(61%)
 copy {grails-async/core => grails-testing-support-dbcleanup-h2}/build.gradle 
(72%)
 create mode 100644 
grails-testing-support-dbcleanup-h2/src/main/groovy/org/apache/grails/testing/cleanup/h2/H2DatabaseCleaner.groovy
 create mode 100644 
grails-testing-support-dbcleanup-h2/src/main/groovy/org/apache/grails/testing/cleanup/h2/H2DatabaseCleanupHelper.groovy
 create mode 100644 
grails-testing-support-dbcleanup-h2/src/main/resources/META-INF/services/org.apache.grails.testing.cleanup.core.DatabaseCleaner
 create mode 100644 
grails-testing-support-dbcleanup-h2/src/test/groovy/org/apache/grails/testing/cleanup/h2/H2DatabaseCleanerSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-h2/src/test/groovy/org/apache/grails/testing/cleanup/h2/H2DatabaseCleanupHelperSpec.groovy
 create mode 100644 grails-testing-support-dbcleanup-postgresql/README.md
 copy {grails-logging => 
grails-testing-support-dbcleanup-postgresql}/build.gradle (69%)
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/main/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresDatabaseCleaner.groovy
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/main/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresDatabaseCleanupHelper.groovy
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/test/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresContainerHolder.groovy
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/test/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresDatabaseCleanerFunctionalSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/test/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresDatabaseCleanerSpec.groovy
 create mode 100644 
grails-testing-support-dbcleanup-postgresql/src/test/groovy/org/apache/grails/testing/cleanup/postgresql/PostgresDatabaseCleanupHelperSpec.groovy

Reply via email to