Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Boo (0.02 sec)

  1. pilot/pkg/config/file/util/kubeyaml/kubeyaml_test.go

    	{
    		merged: `
    yaml: foo
    ---
    bar: boo
    `,
    		split: []string{
    			`
    yaml: foo
    `,
    			`bar: boo
    `,
    		},
    	},
    	{
    		merged: `
    yaml: foo
    ---
    bar: boo
    `,
    		split: []string{
    			`
    yaml: foo
    `,
    			``,
    			`bar: boo
    `,
    		},
    	},
    	{
    		merged: `
    yaml: foo
    ---
    bar: boo`,
    		split: []string{
    			`
    yaml: foo`,
    			`bar: boo`,
    		},
    	},
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/FailingIncrementalTasksIntegrationTest.groovy

                            throw new RuntimeException("Boo!")
                        }
                        outFile << "xxx"
                    }
                }
            """
    
            expect:
            succeeds "foo"
    
            when:
            file("out.txt") << "force rerun"
            fails "foo"
            then:
            failureHasCause "Boo!"
    
            when:
            fails "foo", "--info"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 01 14:32:13 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/FileUtilsTest.groovy

            withExtension("/some/path/to/foo.baz", ".bar") == "/some/path/to/foo.bar"
            withExtension("\\some\\path\\to\\foo.baz", ".bar") == "\\some\\path\\to\\foo.bar"
            withExtension("/some/path/to/foo.boo.baz", ".bar") == "/some/path/to/foo.boo.bar"
            withExtension("/some/path/to/foo.bar", ".bar") == "/some/path/to/foo.bar"
        }
    
        def "can determine if one path start with another"(String path, String startsWithPath, boolean result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

                        throw new RuntimeException("Boo!");
                    }
                }
            """
            file("src/test/java/org/gradle/OtherTest.java") << """
                package org.gradle;
                ${testFrameworkImports}
                public class OtherTest {
                    @Test public void pass() {}
                    @Test public void fail() { throw new RuntimeException("Boo!"); }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. pkg/config/schema/resource/schema_test.go

    				Proto:        "google.protobuf.Empty",
    			},
    			expectError: true,
    		},
    		{
    			name: "invalid proto",
    			b: Builder{
    				Kind:         "Boo",
    				Plural:       "Boos",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "boo",
    			},
    			expectError: true,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

            }
            generator.xmlWriter.write(fooTest, _) >> { throw new IOException("Boo!") }
    
            when:
            generator.generate()
    
            then:
            def ex = thrown(MultipleBuildOperationFailures)
            ex.causes.size() == 1
            ex.causes[0].message.startsWith('Could not write XML test results for FooTest')
            ex.causes[0].cause.message == "Boo!"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/TestFilteringCrossVersionSpec.groovy

            file("src/test/java/FooTest.java") << """
                public class FooTest {
                    @org.junit.Test public void passes() {}
                    @org.junit.Test public void fails() { throw new RuntimeException("Boo!"); }
                }
            """
    
            when:
            withConnection { it.newBuild().withArguments('test', '--tests', 'FooTest.passes').run() }
    
            then:
            noExceptionThrown()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializerTest.groovy

            def requested = DefaultModuleComponentSelector.newSelector(mid, new DefaultMutableVersionConstraint("1.0"))
            def failure = new ModuleVersionResolveException(newSelector(mid, "1.2"), new RuntimeException("Boo!"))
    
            def failed = Mock(DependencyGraphEdge) {
                getSelector() >> Stub(DependencyGraphSelector) {
                    getResultId() >> 4L
                    getRequested() >> requested
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. hack/testdata/scale-deploy-3.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      labels:
        foo: boo
      name: scale-3
    spec:
      replicas: 1
      selector:
        matchLabels:
          run: hello
      strategy:
        rollingUpdate:
          maxSurge: 1
          maxUnavailable: 1
        type: RollingUpdate
      template:
        metadata:
          labels:
            run: hello
        spec:
          containers:
          - image: aronchick/hello-node:2.0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 02:28:04 UTC 2019
    - 434 bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

            1 * clientsManager.reserveIdleClient(options) >> client
    
            then:
            1 * buildOperationRunner.call(_) >> { args -> args[0].call() }
            1 * client.execute(spec) >> { throw new RuntimeException("Boo!") }
    
            then:
            thrown(RuntimeException)
            1 * clientsManager.release(client)
        }
    
        def "build operation is started and finished when client is executed"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top