Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 407 for xHello (0.26 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

            file('sub1/build.gradle') << """
    task sayHello {
        group = 'Build'
    
        doLast {
            println "Hello!"
        }
    }"""
            file('sub2/build.gradle') << """
    task sayHello {
        group = 'Build'
    
        doLast {
            println "Hello!"
        }
    }"""
    
            when:
            succeeds "tasks", "--types", "--all"
    
            then:
            output.contains("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

            "map values"              | ["key1": "Hello", "key2": null]                                         | IllegalStateException | "Null value is not allowed for the nested collection property 'nested.key2'"
            "map keys"                | ["key1": "Hello", (null): "Hello"]                                      | NullPointerException  | "Null keys in nested map 'nested' are not allowed."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            when:
            configurationCacheRun "greet"
    
            then:
            configurationCache.assertStateStored()
            output.contains("Hello!")
    
            when:
            configurationCacheRun "greet"
    
            then:
            configurationCache.assertStateLoaded()
            output.contains("Hello!")
        }
    
        def "#usage property from properties file used as build logic input"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            then:
            groupedOutput.strippedOutput == '''
    > Task :run
    Hello, World!
    
    
    BUILD SUCCESSFUL in 6s
    1 actionable task: 1 executed
    '''
            groupedOutput.task(':run').output == 'Hello, World!'
        }
    
        def "accepts start of embedded build as end of group"() {
            def consoleOutput = """
    > Task :helloWorld
    Hello, World!
    
    > :otherBuild > :abc"""
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/README

    create in the script's temporary file system before it starts executing.
    
    As an example, run_hello.txt says:
    
    	# hello world
    	go run hello.go
    	stderr 'hello world'
    	! stdout .
    
    	-- hello.go --
    	package main
    	func main() { println("hello world") }
    
    Each script runs in a fresh temporary work directory tree, available to scripts as $WORK.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

            project.tasks.register("greeting") { task ->                // Register a task
                task.doLast {
                    println("Hello from plugin 'com.tutorial.greeting'")  // Hello world printout
                }
            }
        }
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .gradle/license-plugin/plugin/src/main/groovy/license/LicensePlugin.groovy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingWithPluginManagementSpec.groovy

                            useModule("org.gradle:gradle-hello-world-plugin:0.1")
                        }
                    }
                    repositories {
                        gradlePluginPortal()
                    }
                }
            """
    
            when:
            succeeds("helloWorld")
    
            then:
            output.contains("Hello World!")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        Mac mac = Mac.getInstance("HmacSHA1");
        mac.init(SHA1_KEY);
        mac.update("hello".getBytes(UTF_8));
        mac.update("world".getBytes(UTF_8));
    
        assertEquals(
            HashCode.fromBytes(mac.doFinal()),
            Hashing.hmacSha1(SHA1_KEY)
                .newHasher()
                .putString("hello", UTF_8)
                .putString("world", UTF_8)
                .hash());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/values.yaml

        #
        # templates:
        #   hello: |
        #     metadata:
        #       labels:
        #         hello: world
        #
        # Then starting a pod with the `inject.istio.io/templates: hello` annotation, will result in the pod
        # being injected with the hello=world labels.
        # This is intended for advanced configuration only; most users should use the built in template
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesTest.java

        PrintWriter w = new PrintWriter(Files.newWriter(temp, Charsets.UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
    
        assertEquals("hello", Files.readFirstLine(temp, Charsets.UTF_8));
        assertEquals(
            ImmutableList.of("hello", "", " world  ", ""), Files.readLines(temp, Charsets.UTF_8));
    
        assertTrue(temp.delete());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top