Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 669 for broken1 (0.12 sec)

  1. src/cmd/go/internal/work/build_test.go

    		in   []byte
    		want []string
    	}{
    		// broken quotation
    		{[]byte(`"     \r\n      `), nil},
    		{[]byte(`"-r:foo" "-L/usr/white space/lib "-lfoo bar" "-lbar baz"`), nil},
    		{[]byte(`"-lextra fun arg\\`), nil},
    		// broken char escaping
    		{[]byte(`broken flag\`), nil},
    		{[]byte(`extra broken flag \`), nil},
    		{[]byte(`\`), nil},
    		{[]byte(`"broken\"" "extra" \`), nil},
    	} {
    		got, err := splitPkgConfigOutput(test.in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        }
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
        try {
          broken.next();
          fail();
        } catch (MyException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 17:19:08 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResultTest.groovy

            descriptor.authoritative
            descriptor.hasResult()
        }
    
        def "can mark as failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            descriptor.failed(failure)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-groovy/taskExecutionEvents.groovy.sample.conf

    # tag::cli[]
    # gradle --quiet broken
    # end::cli[]
    executable: gradle
    args: broken
    flags: --quiet
    expect-failure: true
    expected-output-file: taskExecutionEvents.groovy.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 201 bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test.go

    			},
    			workingPodDiedPreviously,
    			false,
    		},
    		{
    			"Testing broken pod (in waiting state) with only ExitCode check",
    			config.RepairConfig{
    				SidecarAnnotation: "sidecar.istio.io/status",
    				InitContainerName: constants.ValidationContainerName,
    				InitExitCode:      126,
    			},
    			brokenPodWaiting,
    			true,
    		},
    		{
    			"Testing broken pod (in terminating state) with only ExitCode check",
    			config.RepairConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy

    """
            buildFile << """
        evaluationDependsOn 'child'
        task t
    """
            final childBuildFile = file("child/build.gradle")
            childBuildFile << """
        def broken = { ->
            throw new RuntimeException('failure')
        }
        broken()
    """
    
            when:
            fails()
    
            then:
            failure.assertHasDescription("A problem occurred evaluating project ':child'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/kotlin/build.gradle.kts

    tasks.register("ok")
    
    tasks.register("broken") {
        dependsOn("ok")
        doLast {
            throw RuntimeException("broken")
        }
    }
    
    gradle.taskGraph.beforeTask {
        println("executing $this ...")
    }
    
    gradle.taskGraph.afterTask {
        if (state.failure != null) {
            println("FAILED")
        } else {
            println("done")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 333 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    }
    
    // newAdmissionMetrics create a new AdmissionMetrics, configured with default metric names.
    func newAdmissionMetrics() *AdmissionMetrics {
    	// Admission metrics for a step of the admission flow. The entire admission flow is broken down into a series of steps
    	// Each step is identified by a distinct type label value.
    	// Use buckets ranging from 5 ms to 2.5 seconds.
    	step := &metricSet{
    		latencies: metrics.NewHistogramVec(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

        }
    
        def "reports command-line parse failure"() {
            when:
            def commandLineExecution = factory.convert(['--broken'])
            commandLineExecution.execute(executionListener)
    
            then:
            outputs.stdErr.contains('--broken')
            outputs.stdErr.contains('USAGE: gradle [option...] [task...]')
            outputs.stdErr.contains('--help')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            """.stripIndent()
        }
    
        def doesNotRunStaleTests() {
            given:
            file('src/test/java/Broken.java') << """
                ${testFrameworkImports}
                public class Broken {
                    @Test
                    public void broken() {
                        throw new RuntimeException("broken");
                    }
                }
            """.stripIndent()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top