Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

                    outputs.cacheIf { true }
                    doLast {
                        outFile << "xxx"
                        if (System.getProperty("fail")) {
                            throw new RuntimeException("Boo!")
                        }
                    }
                }
            """
    
            expect:
            executer.withStackTraceChecksDisabled()
            withBuildCache().fails "foo", "-Dfail=yes"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. pkg/kubelet/container/helpers_test.go

    				{
    					Name:  "VAR_TEST",
    					Value: "zoo",
    				},
    				{
    					Name:  "VAR_TEST2",
    					Value: "boo",
    				},
    				{
    					Name:  "VAR_TEST3",
    					Value: "roo",
    				},
    			},
    			expectedCommand: []string{"boo--zoo", "foo", "roo"},
    			expectedArgs:    []string{"foo", "zoo", "boo"},
    		},
    	}
    
    	for _, tc := range cases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                    it.prefer('1.2')
                    it.strictly('[1.0, 2.0[')
                }
                library('bar', 'group', 'bar').versionRef('barVersion')
                library('boo', 'group', 'boo').withoutVersion()
                plugin('fooPlugin', 'org.foo.plugin').version('1.0')
                plugin('barPlugin', 'org.bar.plugin').versionRef('barVersion')
                plugin('bazPlugin', 'org.baz.plugin').version('')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

        }
    
        def "handler can be closed and contended action does not run"() {
            when:
            int port = handler.reservePort();
            handler.start(10, { throw new RuntimeException("Boo!") })
            handler.stop()
    
            client.maybePingOwner(port, 10, "lock 1", 50000, null)
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pilot/pkg/status/distribution/reporter_test.go

    		{
    			Meta: config.Meta{
    				Namespace:       "default",
    				Name:            "bar",
    				ResourceVersion: "1",
    			},
    		},
    		{
    			Meta: config.Meta{
    				Namespace:       "alternate",
    				Name:            "boo",
    				ResourceVersion: "1",
    			},
    		},
    	}
    	// cast our model.Configs to Resource because these types aren't compatible
    	var myResources []status.Resource
    	col := collections.VirtualService
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			manifestShouldChange: true,
    		},
    		{
    			description: "any wait error should result in a rollback and an abort 1",
    			waitErrsToReturn: map[string]error{
    				waitForHashes:        errors.New("boo! failed"),
    				waitForHashChange:    nil,
    				waitForPodsWithLabel: nil,
    			},
    			moveFileFunc:         os.Rename,
    			expectedErr:          true,
    			manifestShouldChange: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilderSpec.groovy

            node("c", ComponentSelectionReasons.of(ComponentSelectionReasons.CONFLICT_RESOLUTION))
            node("d")
            resolvedConf("a", [dep("a", "b"), dep("a", "c"), dep("a", "d", new RuntimeException("Boo!"))])
            resolvedConf("b", [])
            resolvedConf("c", [])
            resolvedConf("d", [])
    
            when:
            def deps = builder.getRoot(id("a")).dependencies
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilderTest.groovy

            def dep1 = node(2, "org", "dep1", "2.0", of(CONFLICT_RESOLUTION))
            root.outgoingEdges >> [
                    dep(selector1, 1, 2),
                    dep(selector2, 1, new RuntimeException("Boo!"))
            ]
    
            builder.start(root)
    
            builder.visitNode(root)
            builder.visitNode(dep1)
            builder.visitSelector(selector1)
            builder.visitSelector(selector2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top