Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 949 for Bad (0.04 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginIntegrationTest.groovy

        }
    
        def "jar issues correct warnings if built jar contains multiple bad descriptors" (String descriptorContents, String warningMessage, int messageCount) {
            given:
            buildFile()
            badPluginDescriptor('bad-plugin1', descriptorContents)
            badPluginDescriptor('bad-plugin2', descriptorContents)
            goodPlugin()
    
            expect:
            succeeds "jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector_test.go

    					absentOwnerCache: []objectReference{pod2ns1}, // cached absence of bad parent
    				}),
    			},
    		},
    		// child that is cluster-scoped with owner reference to namespaced type in namespace B
    		// * should not be deleted
    		// * event should be logged in namespace kube-system with involvedObject of bad-child indicating the error
    		{
    			name: "bad cluster-scoped child -> owner in ns1 (child first)",
    			steps: []step{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. src/internal/trace/testtrace/format.go

    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[0].Name)
    	}
    	if ar.Files[1].Name != "trace" {
    		return nil, nil, fmt.Errorf("malformed test %s: bad filename %s", testPath, ar.Files[1].Name)
    	}
    	tr, err := raw.NewTextReader(bytes.NewReader(ar.Files[1].Data))
    	if err != nil {
    		return nil, nil, fmt.Errorf("malformed test %s: bad trace file: %v", testPath, err)
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tools/bug-report/pkg/filter/filter_test.go

    	tests := []struct {
    		name    string
    		config  string
    		want    []string
    		wantErr string
    	}{
    		{
    			name: "bad namespace",
    			config: `
    include:
      - bad*
      - ns1`,
    			want: ns1,
    		},
    		{
    			name: "bad deployments",
    			config: `
    include:
      - ns1/bad*
      - ns1/d1`,
    			want: d1,
    		},
    		{
    			name: "container multiple",
    			config: `
    include:
      - /*/*/*/*/c1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pkg/registry/networking/servicecidr/strategy_test.go

    	}
    	obj := &networking.ServiceCIDR{Spec: networking.ServiceCIDRSpec{CIDRs: []string{"bad cidr"}}}
    
    	errors := Strategy.Validate(context.TODO(), obj)
    	if len(errors) != 2 {
    		t.Errorf("Expected 2 validation errors for invalid object, got %d", len(errors))
    	}
    
    	oldObj := newServiceCIDR()
    	newObj := oldObj.DeepCopy()
    	newObj.Spec.CIDRs = []string{"bad cidr"}
    	errors = Strategy.ValidateUpdate(context.TODO(), newObj, oldObj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 15:09:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- f/f.go --
    package f
    
    func Id() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

            given:
            def output = """
    FAILURE: Build completed with 2 failures.
    
    * Where: build file 'build.gradle' line: 123
    
    * What went wrong:
    something bad
    
    * Try:
    fixing
    
    * What went wrong:
    something else bad
    
    * Try:
    fixing
    """
            when:
            def failure = OutputScrapingExecutionFailure.from(output, "")
    
            then:
            failure.assertHasFailures(2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/runtime/runtime1.go

    	if unsafe.Sizeof(a) != 1 {
    		throw("bad a")
    	}
    	if unsafe.Sizeof(b) != 1 {
    		throw("bad b")
    	}
    	if unsafe.Sizeof(c) != 2 {
    		throw("bad c")
    	}
    	if unsafe.Sizeof(d) != 2 {
    		throw("bad d")
    	}
    	if unsafe.Sizeof(e) != 4 {
    		throw("bad e")
    	}
    	if unsafe.Sizeof(f) != 4 {
    		throw("bad f")
    	}
    	if unsafe.Sizeof(g) != 8 {
    		throw("bad g")
    	}
    	if unsafe.Sizeof(h) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/go/types/context_test.go

    	if got := ctxt.update("", nullaryP, []Type{Typ[Int]}, inst); got != inst {
    		t.Error("bad")
    	}
    
    	// unaryP is not identical to nullaryP, so we should not get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/coro.go

    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	return nil
    }
    
    func callerExhaustLocked(i iter.Seq[int]) error {
    	runtime.LockOSThread()
    	next, _ := iter.Pull(i)
    	for {
    		v, ok := next()
    		if !ok {
    			break
    		}
    		if v != 5 {
    			return fmt.Errorf("bad iterator: wanted value %d, got %d", 5, v)
    		}
    	}
    	runtime.UnlockOSThread()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top