Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toSourceFiles (0.1 sec)

  1. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy

                "class C { static final int CONSTANT = B.CONSTANT; }",
                "class D { static final int CONSTANT = C.CONSTANT; }",
                "class E { }",
            ]
            List<File> sourceFiles = toSourceFiles(classes) + getConstants("int", "1")
    
            when:
            compiler.compile(sourceFiles)
    
            then:
            accessibleDependentToConstants["A"] == ["Constant1"] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top