You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/08/25 15:26:50 UTC
(grails-core) 02/02: Drop the persistence tasks whose tests are gone
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch revert/16192-async-changes
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 2ce5fad4ea6d993e5a8b81487b20df9a5a3f20ff
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Aug 25 11:26:34 2026 -0400
Drop the persistence tasks whose tests are gone
testGrailsDomainBinder and testIsolatedPersistentOne each ran a class of its own
and had it excluded from `test`. None of GrailsDomainBinderTests,
ComponentValidationTests or HibernateMappingUniqueConstraintTests has existed
since ac96f5d5a0 moved the Hibernate code out to grails-data-mapping in March
2013, so the tasks selected nothing and the exclusions excluded nothing.
Both tasks were also NO-SOURCE for the reason the uber and web suites were, so
removing them loses no coverage that was not already lost: there is nothing left
here for them to run.
---
grails-test-suite-persistence/build.gradle | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/grails-test-suite-persistence/build.gradle b/grails-test-suite-persistence/build.gradle
index 476fd2609b..1f33bba3b0 100644
--- a/grails-test-suite-persistence/build.gradle
+++ b/grails-test-suite-persistence/build.gradle
@@ -93,23 +93,8 @@ test {
if(!isCiBuild) {
maxHeapSize = '2048m'
}
- excludes = ['**/GrailsDomainBinderTests.class',
- '**/ComponentValidationTests.class',
- '**/HibernateMappingUniqueConstraintTests.class']
}
-task testGrailsDomainBinder(type: Test) { includes = [
- '**/GrailsDomainBinderTests.class'
- ] }
-
-
-task testIsolatedPersistentOne(type: Test) {
- includes = ['**/ComponentValidationTests.class']
- includes = ['**/HibernateMappingUniqueConstraintTests.class']
-}
-
-test.dependsOn testGrailsDomainBinder, testIsolatedPersistentOne
-
tasks.withType(Groovydoc).configureEach {
// tests do not have groovydoc
enabled = false