This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch test/expand-integration-test-coverage
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 8ded2b4a4d fix(test): Fix CI failures in cache and app1 modules
add 9df8b009fc test(integration): Add comprehensive integration tests
based on documentation
No new revisions were added by this update.
Summary of changes:
.../controllers/functionaltests/UrlMappings.groovy | 3 +
.../functionaltests/flow/FlowController.groovy | 245 ++++++++++++++
.../flow/FlowTargetController.groovy | 38 ++-
.../interceptors/ActionExcludeInterceptor.groovy} | 24 +-
.../interceptors/AdvancedMatchingController.groovy | 107 ++++++
.../HttpMethodMatchingInterceptor.groovy} | 22 +-
.../interceptors/MultipleRulesInterceptor.groovy} | 24 +-
.../NamespaceMatchingInterceptor.groovy} | 22 +-
.../flow/FlashChainForwardSpec.groovy | 258 +++++++++++++++
.../InterceptorAdvancedMatchingSpec.groovy | 275 ++++++++++++++++
.../services/gorm/TransactionTestService.groovy | 187 +++++++++++
.../groovy/gorm/GormWhereQueryAdvancedSpec.groovy | 365 +++++++++++++++++++++
.../groovy/gorm/TransactionPropagationSpec.groovy | 251 ++++++++++++++
13 files changed, 1768 insertions(+), 53 deletions(-)
create mode 100644
grails-test-examples/app1/grails-app/controllers/functionaltests/flow/FlowController.groovy
copy
build-logic/docs-core/src/main/groovy/grails/doc/filters/HeaderFilter.groovy =>
grails-test-examples/app1/grails-app/controllers/functionaltests/flow/FlowTargetController.groovy
(51%)
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=>
app1/grails-app/controllers/functionaltests/interceptors/ActionExcludeInterceptor.groovy}
(66%)
create mode 100644
grails-test-examples/app1/grails-app/controllers/functionaltests/interceptors/AdvancedMatchingController.groovy
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=>
app1/grails-app/controllers/functionaltests/interceptors/HttpMethodMatchingInterceptor.groovy}
(70%)
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=>
app1/grails-app/controllers/functionaltests/interceptors/MultipleRulesInterceptor.groovy}
(64%)
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=>
app1/grails-app/controllers/functionaltests/interceptors/NamespaceMatchingInterceptor.groovy}
(70%)
create mode 100644
grails-test-examples/app1/src/integration-test/groovy/functionaltests/flow/FlashChainForwardSpec.groovy
create mode 100644
grails-test-examples/app1/src/integration-test/groovy/functionaltests/interceptors/InterceptorAdvancedMatchingSpec.groovy
create mode 100644
grails-test-examples/gorm/grails-app/services/gorm/TransactionTestService.groovy
create mode 100644
grails-test-examples/gorm/src/integration-test/groovy/gorm/GormWhereQueryAdvancedSpec.groovy
create mode 100644
grails-test-examples/gorm/src/integration-test/groovy/gorm/TransactionPropagationSpec.groovy