Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for goapi (0.1 sec)

  1. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTestSupport.groovy

        protected ApiContainer toApi(Map<String, String> sources) {
            toApi(DEFAULT_TARGET_VERSION, [], sources)
        }
    
        protected ApiContainer toApi(String targetVersion, Map<String, String> sources) {
            toApi(targetVersion, [], sources)
        }
    
        protected ApiContainer toApi(List<String> packages, Map<String, String> sources) {
            toApi(DEFAULT_TARGET_VERSION, packages, sources)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorInnerClassTest.groovy

        private final static int ACC_PROTECTEDSTATIC = Opcodes.ACC_PROTECTED | Opcodes.ACC_STATIC
    
        def "should not remove #modifier inner class if no API is declared"() {
            given:
            def api = toApi 'A': """
                public class A {
                   $modifier class Inner {
                      public void foo() {}
                   }
                }
            """
    
            when:
            def outer = api.classes.A
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTestSupportTest.groovy

                                   String getName() { return "foo"; }
                               }
                           '''
        }
    
        def "should compile classes together"() {
            given:
            def api = toApi([
                'com.acme.A': '''
                    package com.acme;
                    public class A extends B {}
                ''',
                'com.acme.B': '''
                    package com.acme;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DocsDistributionIntegrationSpec.groovy

            0
        }
    
        @Requires([UnitTestPreconditions.NotWindows, UnitTestPreconditions.StableGroovy]) // cannot link to public javadocs of Groovy snapshots like https://docs.groovy-lang.org/docs/groovy-4.0.5-SNAPSHOT/html/gapi/
        def docsZipContents() {
            given:
            TestFile contentsDir = unpackDistribution()
    
            expect:
            contentsDir.file("LICENSE").assertIsFile()
            assertDocsExist(contentsDir, version)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/AllDistributionIntegrationSpec.groovy

            return 224 * 1024 * 1024
        }
    
        @Requires(UnitTestPreconditions.StableGroovy) // cannot link to public javadocs of Groovy snapshots like https://docs.groovy-lang.org/docs/groovy-4.0.5-SNAPSHOT/html/gapi/
        def allZipContents() {
            given:
            TestFile contentsDir = unpackDistribution()
    
            expect:
            checkMinimalContents(contentsDir)
    
            // Source
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top