Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for paramStub (0.08 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            def jApiMethod = Stub(JApiMethod)
            jApiMethod.name >> implicitMethod
            jApiMethod.jApiClass >> jApiClassifier
            jApiMethod.parameters >> paramTypes.collect { paramStub(it) }
    
            when:
            sourceFile.text = """
                public enum $TEST_INTERFACE_SIMPLE_NAME {
                }
            """
    
            then:
            rule.maybeViolation(jApiMethod) == null
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top