Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sayHello (0.13 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

                }
            """
            file('src/main/java/Text.java') << '''import org.apache.commons.lang3.StringUtils;
                public class Text {
                    public static String sayHello(String name) { return "Hello, " + StringUtils.capitalize(name); }
                }
            '''
            file('src/test/java/TextTest.java') << '''
                import org.junit.Test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            when:
            file("greeter/src/main/swift/greeter.swift").replace("sayHello", "sayAloha")
            then:
            fails ":app:compileDebugSwift"
            failure.assertHasErrorOutput("value of type 'Greeter' has no member 'sayHello'")
    
            when:
            file("app/src/main/swift/main.swift").replace("sayHello", "sayAloha")
            then:
            succeeds ":app:assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top