Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertHasSource (1.08 sec)

  1. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

            }
    
            void assertHasInheritedJdk() {
                assert dependencies.any { ImlDependency it ->
                    it.type == 'inheritedJdk'
                }
            }
    
            void assertHasSource(String forTests) {
                assert dependencies.findAll { it.type == 'sourceFolder' }.any { ImlSource it -> it.forTests == forTests }
            }
    
            void assertHasModule(List<String> scopes, String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaSourcesAndJavadocJarsIntegrationTest.groovy

            assert libraryEntry != null : "entry for jar ${jar} not found, found entries: ${iml.dependencies.libraries.collect({it.jarName})}"
            libraryEntry.assertHasSource(sources)
            libraryEntry.assertHasJavadoc(javadocs)
        }
    
        @Override
        void ideFileContainsGradleApi(String apiJarPrefix) {
            def libraryEntry = findApiLibrary(apiJarPrefix)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy

            }
    
            void assertHasSource(File jar) {
                assert entry.@sourcepath == jar.path.replace(File.separator, '/')
            }
    
            String getSourcePath() {
                entry.@sourcepath
            }
    
            void assertHasSource(String jar) {
                assert entry.@sourcepath == jar
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

        implementation files('lib/dep.jar')
    }
    """
    
            //then
            def libraries = classpath.libs
            assert libraries.size() == 3
            libraries[0].assertHasJar(jar)
            libraries[0].assertHasSource(srcJar)
            libraries[0].assertHasNoJavadoc()
            libraries[1].assertHasCachedJar('commons-lang', 'commons-lang', '2.6')
            libraries[1].assertHasCachedSource('commons-lang', 'commons-lang', '2.6')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaMultiModuleIntegrationTest.groovy

            //then
            def dependencies = parseIml("app/app.iml").dependencies
            assert dependencies.modules.size() == 3
            dependencies.assertHasInheritedJdk()
            dependencies.assertHasSource('false')
            dependencies.assertHasModule('COMPILE', 'api')
            dependencies.assertHasModule(['RUNTIME','TEST'], 'impl')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top