- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestConversion (0.11 sec)
-
src/cmd/internal/src/xpos_test.go
import ( "testing" "unsafe" ) func TestNoXPos(t *testing.T) { var tab PosTable if tab.Pos(NoXPos) != NoPos { t.Errorf("failed to translate NoXPos to Pos using zero PosTable") } } func TestConversion(t *testing.T) { b1 := NewFileBase("b1", "b1") b2 := NewFileBase("b2", "b2") b3 := NewLinePragmaBase(MakePos(b1, 10, 0), "b3", "b3", 123, 0) var tab PosTable for _, want := range []Pos{ NoPos,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter_test.go
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/util/webhook" ) func TestConversion(t *testing.T) { tests := []struct { Name string ValidVersions []string ClusterScoped bool ToVersion string SourceObject runtime.Object ExpectedObject runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 5.6K bytes - Viewed (0)