Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for sayHello (0.2 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy

            when:
            file("src/main/swift/combined.swift").replace("sayHello", "sayAloha")
            then:
            fails("test")
            failure.assertHasErrorOutput("value of type 'Greeter' has no member 'sayHello'")
    
            when:
            file("src/test/swift/CombinedTests.swift").replace("sayHello", "sayAloha")
            then:
            succeeds("test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            when:
            impl.unmanagedValue = "Lajos"
            then:
            unmanagedInstance.unmanagedValue == "Lajos"
    
            when:
            def greeting = impl.sayHello()
            then:
            greeting == "Hello Lajos"
    
            when:
            impl.managedValue = "Tibor"
            then:
            1 * state.set("managedValue", "Tibor")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/build_overlay.txt

    // #include "cgo_header.h"
    import "C"
    
    func main() {
    	C.say_hello()
    }
    -- m/overlay/cgo_hello_angle.go --
    package main
    
    // #include <cgo_header.h>
    import "C"
    
    func main() {
    	C.say_hello()
    }
    -- m/overlay/cgo_head.h --
    void say_hello();
    -- m/overlay/hello.c --
    #include <stdio.h>
    
    void say_hello() { puts("hello cgo\n"); fflush(stdout); }
    -- m/overlay/asm_gc.s --
    // +build gc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  6. docs_src/python_types/tutorial013.py

    from typing_extensions import Annotated
    
    
    def say_hello(name: Annotated[str, "this is just metadata"]) -> str:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 138 bytes
    - Viewed (0)
  7. docs_src/python_types/tutorial013_py39.py

    from typing import Annotated
    
    
    def say_hello(name: Annotated[str, "this is just metadata"]) -> str:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 127 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    -- overlay.json --
    {
    	"Replace": {
    		"hello_overlay/hello.go": "../../overlay/hello.go"
    	}
    }
    -- hello.c --
    #include <stdio.h>
    
    void say_hello() { puts("Hello, world!\n"); }
    
    -- hello.go --
    package main
    
    // void say_hello();
    import "C"
    
    func main() {
    	C.say_hello()
    }
    
    -- list-dwarf/list-dwarf.go --
    package main
    
    import (
    	"debug/dwarf"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"sort"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top