This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch corrupt-jar-fixes
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/corrupt-jar-fixes by this push:
new 4160458953 Update tests for deprecated class removal
4160458953 is described below
commit 41604589536c2fb588cf9c756c698bb161f34960
Author: James Daugherty <[email protected]>
AuthorDate: Thu May 15 17:51:21 2025 -0400
Update tests for deprecated class removal
---
.../web/taglib/AbstractGrailsTagTests.groovy | 33 +++++++++++-----------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git
a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/AbstractGrailsTagTests.groovy
b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/AbstractGrailsTagTests.groovy
index a26736f496..514eb4c925 100644
---
a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/AbstractGrailsTagTests.groovy
+++
b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/AbstractGrailsTagTests.groovy
@@ -1,20 +1,18 @@
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
- * https://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package org.grails.web.taglib
@@ -84,7 +82,10 @@ import javax.xml.xpath.XPath
import javax.xml.xpath.XPathConstants
import javax.xml.xpath.XPathFactory
-import static org.junit.jupiter.api.Assertions.*
+import static org.junit.jupiter.api.Assertions.assertEquals
+import static org.junit.jupiter.api.Assertions.assertFalse
+import static org.junit.jupiter.api.Assertions.assertTrue
+import static org.junit.jupiter.api.Assertions.fail
abstract class AbstractGrailsTagTests {
@@ -300,7 +301,7 @@ abstract class AbstractGrailsTagTests {
def dependantPluginClasses = []
dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.CoreGrailsPlugin')
- dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.CodecsGrailsPlugin')
+ dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.codecs.CodecsGrailsPlugin')
dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.domain.DomainClassGrailsPlugin')
dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.i18n.I18nGrailsPlugin')
dependantPluginClasses <<
gcl.loadClass('org.grails.plugins.web.mapping.UrlMappingsGrailsPlugin')