This is an automated email from the ASF dual-hosted git repository.
matrei pushed a change to branch feat/http-client-testing-support
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 01b03f62a5 test: set extra long timeout on async test
add d5b7934a30 feat: add `@IntegrationTestAutoConfiguration` support
add 476e6526ec docs: add some javadoc to `IntegrationTestAstTransformation`
add 75d4501ac9 fix: use Spring Boot TestConfiguration to autowire
HttpClient
No new revisions were added by this update.
Summary of changes:
gradle/publish-root-config.gradle | 2 +-
grails-doc/src/en/guide/introduction/whatsNew.adoc | 6 +-
.../src/en/guide/testing/integrationTesting.adoc | 41 +-
grails-test-examples/app1/build.gradle | 2 +-
.../groovy/functionaltests/AtResourceSpec.groovy | 10 +-
.../BookRestfulControllerSpec.groovy | 10 +-
.../functionaltests/async/AsyncPromiseSpec.groovy | 42 +-
.../binding/AdvancedDataBindingSpec.groovy | 58 +-
.../functionaltests/caching/CachingSpec.groovy | 48 +-
.../codecs/SecurityCodecsSpec.groovy | 58 +-
.../commanddi/CommandObjectDISpec.groovy | 52 +-
.../contentneg/ContentNegotiationSpec.groovy | 50 +-
.../functionaltests/cors/CorsAdvancedSpec.groovy | 40 +-
.../errorhandling/ErrorHandlingSpec.groovy | 24 +-
.../fileupload/FileUploadSpec.groovy | 40 +-
.../flow/FlashChainForwardSpec.groovy | 58 +-
.../i18n/InternationalizationSpec.groovy | 64 +--
.../InterceptorAdvancedMatchingSpec.groovy | 40 +-
.../interceptors/InterceptorOrderingSpec.groovy | 48 +-
.../requestresponse/RequestResponseSpec.groovy | 54 +-
.../springevents/SpringEventsSpec.groovy | 30 +-
.../functionaltests/taglib/TagLibSpec.groovy | 138 ++---
.../urlmappings/UrlMappingsSpec.groovy | 48 +-
.../async-events-pubsub-demo/build.gradle | 2 +-
.../groovy/pubsub/demo/TaskControllerSpec.groovy | 10 +-
grails-test-examples/cache/build.gradle | 2 +-
.../com/demo/AdvancedCachingIntegrationSpec.groovy | 54 +-
grails-test-examples/demo33/build.gradle | 2 +-
.../groovy/demo/JsonControllerSpec.groovy | 16 +-
.../grails-multiple-datasources/build.gradle | 2 +-
.../MultiDataSourceWithSessionSpec.groovy | 18 +-
.../hibernate5/issue450/build.gradle | 2 +-
.../groovy/example/BookControllerSpec.groovy | 16 +-
grails-test-examples/issue-11102/build.gradle | 2 +-
.../groovy/issue11102/TestControllerSpec.groovy | 10 +-
grails-test-examples/issue-11767/build.gradle | 2 +-
.../groovy/issue11767/app/ConfigLoadingSpec.groovy | 11 +-
grails-test-examples/issue-15228/build.gradle | 2 +-
.../issue11767/app/GsonViewRespondSpec.groovy | 14 +-
grails-test-examples/issue-views-182/build.gradle | 2 +-
.../groovy/views182/CustomErrorSpec.groovy | 10 +-
grails-test-examples/micronaut/build.gradle | 2 +-
.../micronaut/MicronautErsatzAdvancedSpec.groovy | 14 +-
.../micronaut/MicronautErsatzPatternSpec.groovy | 18 +-
.../micronaut/MicronautErsatzRoundtripSpec.groovy | 26 +-
.../test/groovy/example/BookControllerSpec.groovy | 1 -
.../views-functional-tests/build.gradle | 2 +-
.../groovy/functional/tests/BookSpec.groovy | 37 +-
.../groovy/functional/tests/BulletinSpec.groovy | 9 +-
.../groovy/functional/tests/CircularSpec.groovy | 11 +-
.../groovy/functional/tests/CustomerSpec.groovy | 9 +-
.../groovy/functional/tests/EmbeddedSpec.groovy | 15 +-
.../groovy/functional/tests/InheritanceSpec.groovy | 9 +-
.../tests/ModelInterceptorIntSpec.groovy | 8 +-
.../functional/tests/ObjectTemplateSpec.groovy | 9 +-
.../functional/tests/PersonInheritanceSpec.groovy | 11 +-
.../groovy/functional/tests/ProductSpec.groovy | 49 +-
.../groovy/functional/tests/ProjectSpec.groovy | 9 +-
.../groovy/functional/tests/ProxySpec.groovy | 9 +-
.../groovy/functional/tests/TeamSpec.groovy | 15 +-
.../functional/tests/TestControllerSpec.groovy | 9 +-
.../functional/tests/TestGmlControllerSpec.groovy | 9 +-
.../functional/tests/TestGsonControllerSpec.groovy | 29 +-
.../groovy/functional/tests/VehicleSpec.groovy | 11 +-
.../functional/tests/api/NamespacedBookSpec.groovy | 25 +-
.../spring/IntegrationTestAutoConfiguration.groovy | 51 ++
.../IntegrationTestAstTransformation.groovy | 63 ++-
.../IntegrationTestAutoConfigurationSupport.groovy | 262 +++++++++
...egrationTestAutoConfigurationSupportSpec.groovy | 249 +++++++++
grails-testing-support-httpclient/build.gradle | 63 ---
.../testing/httpclient/HttpClientSupport.groovy | 418 ---------------
.../httpclient/HttpResponseExtensions.groovy | 592 ---------------------
.../grails/testing/httpclient/MultipartBody.groovy | 189 -------
.../org.codehaus.groovy.runtime.ExtensionModule | 3 -
.../httpclient/HttpClientSupportSpec.groovy | 263 ---------
.../httpclient/HttpResponseExtensionsSpec.groovy | 292 ----------
.../testing/httpclient/MultipartBodySpec.groovy | 67 ---
settings.gradle | 2 +-
78 files changed, 1437 insertions(+), 2563 deletions(-)
create mode 100644
grails-testing-support-core/src/main/groovy/grails/testing/spring/IntegrationTestAutoConfiguration.groovy
create mode 100644
grails-testing-support-core/src/main/groovy/org/grails/compiler/injection/testing/IntegrationTestAutoConfigurationSupport.groovy
create mode 100644
grails-testing-support-core/src/test/groovy/org/grails/compiler/injection/testing/IntegrationTestAutoConfigurationSupportSpec.groovy
delete mode 100644 grails-testing-support-httpclient/build.gradle
delete mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/HttpClientSupport.groovy
delete mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/HttpResponseExtensions.groovy
delete mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/MultipartBody.groovy
delete mode 100644
grails-testing-support-httpclient/src/main/resources/META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule
delete mode 100644
grails-testing-support-httpclient/src/test/groovy/org/apache/grails/testing/httpclient/HttpClientSupportSpec.groovy
delete mode 100644
grails-testing-support-httpclient/src/test/groovy/org/apache/grails/testing/httpclient/HttpResponseExtensionsSpec.groovy
delete mode 100644
grails-testing-support-httpclient/src/test/groovy/org/apache/grails/testing/httpclient/MultipartBodySpec.groovy