Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 149 for helloWorld1 (0.17 sec)

  1. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy

            """
    
            then:
            succeeds("customHello")
    
            and:
            output.contains("Hello World!")
    
            and:
            fails("helloWorld")
        }
    
        def "Can apply plugins to subprojects"() {
            when:
            createDirs("sub")
            settingsFile << """
                include 'sub'
            """
            buildScript """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/objective-c/groovy/src/main/objc/greeter.m

    #import "greeter.h"
    
    @implementation Greeter
    
    - (void) sayHello {
        NSString *helloWorld = @"Hello world!";
        fprintf(stdout, "%s\n", [helloWorld UTF8String]);
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 172 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/gopath_paths.txt

    # Regression test for GOPATH validation in GOPATH mode.
    env GO111MODULE=off
    
    env ORIG_GOPATH=$GOPATH
    
    # The literal path '.' in GOPATH should be rejected.
    env GOPATH=.
    ! go build go-cmd-test/helloworld.go
    stderr 'GOPATH entry is relative'
    
    # It should still be rejected if the requested package can be
    # found using another entry.
    env GOPATH=${:}$ORIG_GOPATH${:}.
    ! go build go-cmd-test
    stderr 'GOPATH entry is relative'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 21:48:52 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/objective-cpp/groovy/src/main/objcpp/greeter.mm

    #import <iostream>
    #import "greeter.h"
    
    @implementation Greeter
    
    - (void) sayHello {
        NSString *helloWorld = @"Hello world!";
        std::cout << [helloWorld UTF8String] << std::endl;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 192 bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/pod-con-sec-uid.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: con-sec-uid
      labels:
        app: helloworld
        version: v1
    spec:
      containers:
      - name: helloworld
        image: docker.io/istio/examples-helloworld-v1
        securityContext:
          runAsUser: 1337
        resources:
          requests:
            cpu: "100m"
        imagePullPolicy: IfNotPresent #Always
        ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 364 bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/pod-sec-uid.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: pod-sec-uid
      labels:
        app: helloworld
        version: v2
    spec:
      securityContext:
        runAsUser: 1337
      containers:
      - name: helloworld
        image: docker.io/istio/examples-helloworld-v2
        resources:
          requests:
            cpu: "100m"
        imagePullPolicy: IfNotPresent #Always
        ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 361 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testKit/junitQuickstart/kotlin/src/test/java/org/gradle/sample/BuildLogicFunctionalTest.java

            BuildResult result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments("helloWorld")
                .build();
    
            assertTrue(result.getOutput().contains("Hello world!"));
            assertEquals(SUCCESS, result.task(":helloWorld").getOutcome());
        }
    
        private void writeFile(File destination, String content) throws IOException {
            BufferedWriter output = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testKit/junitQuickstart/groovy/src/test/java/org/gradle/sample/BuildLogicFunctionalTest.java

            BuildResult result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments("helloWorld")
                .build();
    
            assertTrue(result.getOutput().contains("Hello world!"));
            assertEquals(SUCCESS, result.task(":helloWorld").getOutcome());
        }
    
        private void writeFile(File destination, String content) throws IOException {
            BufferedWriter output = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionCustomTestSourceSet/groovy/src/functionalTest/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

                    id 'org.gradle.sample.helloworld'
                }
            """
    
            when:
            def result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments('helloWorld')
                .withPluginClasspath()
                .build()
    
            then:
            result.output.contains('Hello world!')
            result.task(":helloWorld").outcome == SUCCESS
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionQuickstart/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

                    id 'org.gradle.sample.helloworld'
                }
            """
    
            when:
            def result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments('helloWorld')
                .withPluginClasspath()
                .build()
    
            then:
            result.output.contains('Hello world!')
            result.task(":helloWorld").outcome == SUCCESS
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top