Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for expectAction (0.37 sec)

  1. src/internal/trace/reader_test.go

    				ev.Task()
    			case trace.EventSync:
    			case trace.EventStackSample:
    			case trace.EventBad:
    			}
    		}
    	})
    }
    
    func testReader(t *testing.T, tr io.Reader, exp *testtrace.Expectation) {
    	r, err := trace.NewReader(tr)
    	if err != nil {
    		if err := exp.Check(err); err != nil {
    			t.Error(err)
    		}
    		return
    	}
    	v := testtrace.NewValidator()
    	for {
    		ev, err := r.ReadEvent()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/internal/trace/internal/testgen/go122/trace.go

    	// Trace data state.
    	ver             version.Version
    	names           map[string]event.Type
    	specs           []event.Spec
    	events          []raw.Event
    	gens            []*Generation
    	validTimestamps bool
    
    	// Expectation state.
    	bad      bool
    	badMatch *regexp.Regexp
    }
    
    // NewTrace creates a new trace.
    func NewTrace() *Trace {
    	ver := version.Go122
    	return &Trace{
    		names:           event.Names(ver.Specs()),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    		if actual != test.result {
    			t.Errorf("Test %d - expected %v but received %v",
    				i+1, test.result, actual)
    		}
    	}
    }
    
    // Tests RemoveStandardStorageClass method. Expectation is metadata map
    // should be cleared of x-amz-storage-class, if it is set to STANDARD
    func TestRemoveStandardStorageClass(t *testing.T) {
    	tests := []struct {
    		name     string
    		metadata map[string]string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			t.Fatalf("unexpected err: %v", err)
    		}
    	} else if err != nil {
    		t.Fatalf("%v", err)
    	} else if expectResult != nil {
    		converted := res.Equal(expectResult).Value().(bool)
    		require.True(t, converted, "expectation not equal to output: %v", cmp.Diff(expectResult.Value(), res.Value()))
    	} else {
    		t.Fatal("expected result must not be nil")
    	}
    
    }
    
    func TestQuantity(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/internal/coverage/encodecounter/encode.go

    	r.stab.Lookup("")
    	return r
    }
    
    // CounterVisitor describes a helper object used during counter file
    // writing; when writing counter data files, clients pass a
    // CounterVisitor to the write/emit routines, then the expectation is
    // that the VisitFuncs method will then invoke the callback "f" with
    // data for each function to emit to the file.
    type CounterVisitor interface {
    	VisitFuncs(f CounterVisitorFn) error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers.go

    	"Request URI Too Long":            http.StatusRequestURITooLong,
    	"Unsupported Media Type":          http.StatusUnsupportedMediaType,
    	"Requested Range Not Satisfiable": http.StatusRequestedRangeNotSatisfiable,
    	"Expectation Failed":              http.StatusExpectationFailed,
    	"I'm a teapot":                    http.StatusTeapot,
    	"Misdirected Request":             http.StatusMisdirectedRequest,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server_test.go

    					t.Errorf("Istiod failed to generate new DNS cert")
    				}
    			} else {
    				if len(c.expCert) != 0 {
    					if !checkCert(t, s, c.expCert, c.expKey) {
    						t.Errorf("Istiod certificate does not match the expectation")
    					}
    				} else {
    					if _, err := s.getIstiodCertificate(nil); err == nil {
    						t.Errorf("Istiod should not generate new DNS cert")
    					}
    				}
    			}
    
    			if c.expSecureDiscoveryService {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    If multiple selection reasons exist, the insight report lists all of them.
    
    == Troubleshooting
    
    [[sec:resolving-version-conflict]]
    === Version Conflicts
    
    If the selected version does not match your expectation, Gradle offers a series of tools to help you <<dependency_constraints.adoc#dependency-constraints,control transitive dependencies>>.
    
    [[sec:resolving-variant-aware-errors]]
    === Variant Selection Errors
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/buildid.go

    // and a.built for use by parent actions and then returns true.
    // Otherwise it sets a.buildID to a temporary build ID for use in the build
    // and returns false. When useCache returns false the expectation is that
    // the caller will build the target and then call updateBuildID to finish the
    // build ID computation.
    // When useCache returns false, it may have initiated buffering of output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top