Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getToXmlReader (0.15 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy

            def constructorEntries = [createSomeLibrary()]
    
            when:
            classpath.load(customClasspathReader)
            classpath.configure(constructorEntries)
            def xml = getToXmlReader()
            def other = new Classpath(new XmlTransformer(), fileReferenceFactory)
            other.load(xml)
    
            then:
            classpath == other
        }
    
        def "toXml contains custom values 2"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ProjectTest.groovy

            project.configure(eclipseProject)
            def xml = getToXmlReader()
            def other = new Project(new XmlTransformer())
            other.load(xml)
    
            then:
            project == other
        }
    
        private InputStream getCustomProjectReader() {
            return getClass().getResourceAsStream('customProject.xml')
        }
    
        private InputStream getToXmlReader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/ProjectTest.groovy

            other.load(xml)
    
            then:
            project.wildcards == other.wildcards
            project.modulePaths == other.modulePaths
            project.jdk == other.jdk
        }
    
        private InputStream getToXmlReader() {
            ByteArrayOutputStream toXmlText = new ByteArrayOutputStream()
            project.store(toXmlText)
            return new ByteArrayInputStream(toXmlText.toByteArray())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/ModuleTest.groovy

            when:
            module.load((InputStream) getClass().getResourceAsStream('moduleWithoutContent.xml'))
    
            then:
            noExceptionThrown()
        }
    
        private InputStream getToXmlReader() {
            ByteArrayOutputStream toXmlText = new ByteArrayOutputStream()
            module.store(toXmlText)
            return new ByteArrayInputStream(toXmlText.toByteArray())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top