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 9aa9008113 test: typo
add 14018b7f98 build: change back to property `gebAtCheckWaiting`
add 343f2acb51 chore: whitespace
add dfe40a4716 feat: http client testing support with the JDK http client
No new revisions were added by this update.
Summary of changes:
.github/workflows/gradle.yml | 2 +-
.github/workflows/groovy-joint-workflow.yml | 2 +-
DEVELOPMENT.md | 2 +-
dependencies.gradle | 28 +-
gradle.properties | 1 +
gradle/functional-test-config.gradle | 3 +-
grails-doc/src/en/guide/introduction/whatsNew.adoc | 11 +
.../src/en/guide/testing/integrationTesting.adoc | 118 ++++
.../groovy/functionaltests/AtResourceSpec.groovy | 6 +-
.../BookRestfulControllerSpec.groovy | 18 +-
.../functionaltests/async/AsyncPromiseSpec.groovy | 253 ++++----
.../binding/AdvancedDataBindingSpec.groovy | 336 +++++------
.../functionaltests/caching/CachingSpec.groovy | 106 ++--
.../codecs/SecurityCodecsSpec.groovy | 349 +++++------
.../commanddi/CommandObjectDISpec.groovy | 257 ++++----
.../contentneg/ContentNegotiationSpec.groovy | 261 +++------
.../functionaltests/cors/CorsAdvancedSpec.groovy | 246 ++++----
.../errorhandling/ErrorHandlingSpec.groovy | 164 ++----
.../fileupload/FileUploadSpec.groovy | 326 +++++------
.../flow/FlashChainForwardSpec.groovy | 234 ++++----
.../i18n/InternationalizationSpec.groovy | 326 +++++------
.../InterceptorAdvancedMatchingSpec.groovy | 201 +++----
.../interceptors/InterceptorOrderingSpec.groovy | 192 +++---
.../requestresponse/RequestResponseSpec.groovy | 340 +++++------
.../springevents/SpringEventsSpec.groovy | 113 ++--
.../functionaltests/taglib/TagLibSpec.groovy | 648 +++++++--------------
.../urlmappings/UrlMappingsSpec.groovy | 240 +++-----
.../groovy/pubsub/demo/TaskControllerSpec.groovy | 8 +-
.../com/demo/AdvancedCachingIntegrationSpec.groovy | 138 ++---
.../groovy/demo/JsonControllerSpec.groovy | 15 +-
.../MultiDataSourceWithSessionSpec.groovy | 22 +-
.../groovy/example/BookControllerSpec.groovy | 8 +-
.../groovy/issue11102/TestControllerSpec.groovy | 11 +-
.../groovy/issue11767/app/ConfigLoadingSpec.groovy | 4 +-
.../issue11767/app/GsonViewRespondSpec.groovy | 42 +-
.../groovy/views182/CustomErrorSpec.groovy | 8 +-
.../micronaut/MicronautErsatzAdvancedSpec.groovy | 45 +-
.../micronaut/MicronautErsatzPatternSpec.groovy | 27 +-
.../micronaut/MicronautErsatzRoundtripSpec.groovy | 72 +--
.../groovy/functional/tests/BookSpec.groovy | 160 ++---
.../groovy/functional/tests/BulletinSpec.groovy | 8 +-
.../groovy/functional/tests/CircularSpec.groovy | 42 +-
.../groovy/functional/tests/CustomerSpec.groovy | 20 +-
.../groovy/functional/tests/EmbeddedSpec.groovy | 35 +-
.../groovy/functional/tests/InheritanceSpec.groovy | 18 +-
.../tests/ModelInterceptorIntSpec.groovy | 10 +-
.../functional/tests/ObjectTemplateSpec.groovy | 6 +-
.../functional/tests/PersonInheritanceSpec.groovy | 12 +-
.../groovy/functional/tests/ProductSpec.groovy | 197 +++----
.../groovy/functional/tests/ProjectSpec.groovy | 9 +-
.../groovy/functional/tests/ProxySpec.groovy | 10 +-
.../groovy/functional/tests/TeamSpec.groovy | 51 +-
.../functional/tests/TestControllerSpec.groovy | 8 +-
.../functional/tests/TestGmlControllerSpec.groovy | 6 +-
.../functional/tests/TestGsonControllerSpec.groovy | 51 +-
.../groovy/functional/tests/VehicleSpec.groovy | 28 +-
.../functional/tests/api/NamespacedBookSpec.groovy | 120 ++--
grails-testing-support-httpclient/build.gradle | 24 +-
.../httpclient/HttpClientConfigurationUtils.groovy | 138 -----
.../testing/httpclient/HttpClientSupport.groovy | 414 ++++++++++---
.../httpclient/HttpResponseExtensions.groovy | 574 ++++++++++++++++++
.../grails/testing/httpclient/MultipartBody.groovy | 171 ++++++
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
.../HttpClientConfigurationUtilsSpec.groovy | 77 ---
.../httpclient/HttpClientSupportSpec.groovy | 238 ++++++--
.../httpclient/HttpResponseExtensionsSpec.groovy | 292 ++++++++++
.../testing/httpclient/MultipartBodySpec.groovy | 67 +++
67 files changed, 4094 insertions(+), 3878 deletions(-)
delete mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/HttpClientConfigurationUtils.groovy
create mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/HttpResponseExtensions.groovy
create mode 100644
grails-testing-support-httpclient/src/main/groovy/org/apache/grails/testing/httpclient/MultipartBody.groovy
create 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/HttpClientConfigurationUtilsSpec.groovy
create mode 100644
grails-testing-support-httpclient/src/test/groovy/org/apache/grails/testing/httpclient/HttpResponseExtensionsSpec.groovy
create mode 100644
grails-testing-support-httpclient/src/test/groovy/org/apache/grails/testing/httpclient/MultipartBodySpec.groovy