Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for XmlSlurper (0.15 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

            publishedFiles.find { it.name == 'maven-metadata.xml' }.exists()
            new XmlSlurper().parseText(publishedFiles.find { it.name == 'maven-metadata.xml' }.text).versioning.snapshot.timestamp.text() == '20100101.120001'
            new XmlSlurper().parseText(publishedFiles.find { it.name == 'maven-metadata.xml' }.text).versioning.snapshot.buildNumber.text() == '1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.fixtures
    
    import groovy.xml.XmlSlurper
    import groovy.xml.slurpersupport.GPathResult
    import org.gradle.test.fixtures.file.TestFile
    import org.hamcrest.Matcher
    
    import static org.hamcrest.CoreMatchers.hasItems
    import static org.hamcrest.CoreMatchers.not
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.fixtures
    
    import groovy.xml.XmlSlurper
    import groovy.xml.slurpersupport.GPathResult
    import groovy.xml.slurpersupport.NodeChild
    import org.hamcrest.CoreMatchers
    import org.hamcrest.Matcher
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.publish.maven.internal.tasks
    
    import com.google.common.collect.ImmutableList
    import groovy.xml.XmlSlurper
    import org.gradle.api.artifacts.ExcludeRule
    import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.MetaDataParser
    import org.gradle.api.publish.maven.internal.dependencies.DefaultMavenDependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GradleVersionsPluginSmokeTest.groovy

        def 'can check for updated versions'() {
            Assume.assumeTrue('Incompatible with Groovy 4: Execution failed for task \':dependencyUpdates\'. > groovy/util/XmlSlurper', VersionNumber.parse(GroovySystem.version).major < 4) // TODO Watch for merge and release of https://github.com/ben-manes/gradle-versions-plugin/pull/656
            given:
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

         * assumes the file path to that file and loads it using Groovy's XmlSlurper
         * which can then be used to extract information from the XML.
         */
        private static getTestResultsFileAsXml(TestFile sampleDir, String testClassName, String taskName = "test") {
            return new XmlSlurper().parse(getTestResultsFile(sampleDir, testClassName, taskName))
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.publish.ivy.internal.publisher
    
    import groovy.xml.XmlSlurper
    import org.gradle.api.Action
    import org.gradle.api.XmlProvider
    import org.gradle.api.artifacts.DependencyArtifact
    import org.gradle.api.artifacts.ExcludeRule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.xml
    
    import groovy.xml.XmlSlurper
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    import javax.xml.parsers.DocumentBuilderFactory
    
    class SimpleXmlWriterSpec extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 14.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            def noRelocationClassNames = ['org/gradle/MyClass',
                                          'java/lang/String',
                                          'javax/inject/Inject',
                                          'groovy/util/XmlSlurper',
                                          'groovyjarjarantlr/TokenStream',
                                          'net/rubygrapefruit/platform/FileInfo',
                                          'org/codehaus/groovy/ant/Groovyc',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top