Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertHasJavadoc (0.17 sec)

  1. 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)
            assert libraryEntry.source.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

            }
    
            void assertHasSource(List<String> filenames) {
                assert source.collect { it.replaceFirst('!/$', '').split('/').last() } == filenames
            }
    
            void assertHasJavadoc(List<String> filenames) {
                assert javadoc.collect { it.replaceFirst('!/$', '').split('/').last() } == filenames
            }
    
            void assertHasNoJavadoc() {
                assert javadoc.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy

            }
    
            String getJavadocLocation() {
                assert entry.attributes
                entry.attributes[0].find { it.@name == 'javadoc_location' }.@value
            }
    
            void assertHasJavadoc(File file) {
                assert entry.attributes
                assert entry.attributes[0].attribute[0].@name == 'javadoc_location'
                assert entry.attributes[0].attribute[0].@value == jarUrl(file)
            }
    
    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

            libraries[0].assertHasSource('REPO_DIR/coolGroup/niceArtifact/1.0/niceArtifact-1.0-sources.jar')
            libraries[1].assertHasJar('LIB_DIR/dep.jar')
    
            //javadoc is not substituted
            libraries[0].assertHasJavadoc(file("maven-repo/coolGroup/niceArtifact/1.0/niceArtifact-1.0-javadoc.jar"))
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void canCustomizeTheClasspathModel() {
            //when
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
Back to top