Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 47 of 47 for loadToolingModel (0.26 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m4/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

    eclipse.project {
        linkedResource name: 'foo', location: '/path/to/foo', type : '2'
        linkedResource name: 'bar', locationUri: 'file://..', type : '3'
    }
    '''
            when:
            HierarchicalEclipseProject minimalProject = loadToolingModel(HierarchicalEclipseProject)
    
            then:
            minimalProject.linkedResources.size() == 2
    
            minimalProject.linkedResources[0].name == 'foo'
            minimalProject.linkedResources[0].type == '2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiEclipseModelCrossVersionSpec.groovy

    project(':impl') {
        task implTask {}
    }
    """
            createDirs("api", "impl")
            file('settings.gradle').text = "include 'api', 'impl'; rootProject.name = 'root'"
    
            when:
            def root = loadToolingModel(EclipseProject)
    
            then:
            def impl = root.children.find { it.name == 'impl'}
    
            root.gradleProject.tasks.find { it.name == 'rootTask' && it.path == ':rootTask' && it.project == root.gradleProject }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiBuildableEclipseModelFixesCrossVersionSpec.groovy

        apply plugin: 'eclipse'
    }
    '''
            createDirs("api", "impl")
            file('settings.gradle').text = "include 'api', 'impl'"
    
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    
            then:
            def rootTasks = eclipseProject.gradleProject.tasks.collect { it.name }
    
            EclipseProject api = eclipseProject.children.find { it.name == "api" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCustomLibrarySourceAndJavadocCrossVersionSpec.groovy

                                lib.sourcePath  = fileReference('$customSourcePath')
                            }
                        }
                    }
                }
            """
    
            when:
            def project = loadToolingModel(EclipseProject)
            def dependency = project.classpath[0]
    
            then:
            dependency.source == customSource
            dependency.javadoc == customJavadoc
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r11rc1/DependencyMetaDataCrossVersionSpec.groovy

            then:
            containModuleInfo(libs)
        }
    
        def "eclipse libraries contain gradle module information"() {
            given:
            prepareBuild()
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            def libs = project.classpath
    
            then:
            containModuleInfo(libs)
        }
    
        private void prepareBuild() {
            def fakeRepo = file("repo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r27/ToolingApiEclipseLinkedResourcesCrossVersionSpec.groovy

        main {
            java {
                srcDirs = ['src', '../subprojectB/src-sibling', '../src-root', '../src', '../subprojectB/src']
            }
        }
    }
    """
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject subprojectA = rootProject.children.find {EclipseProject project -> project.name == "subprojectA"}
            then:
            subprojectA.linkedResources.size() == 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

            file('build.gradle') << '''
    task a {
       description = 'this is task a'
    }
    task b
    task c
    '''
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            def taskA = project.gradleProject.tasks.find { it.name == 'a' }
            taskA != null
            taskA.path == ':a'
            taskA.description == 'this is task a'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top