Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for testfs (0.46 sec)

  1. src/os/os_test.go

    	from, to := "renameFROM", "RENAMEfrom"
    	tests := []struct {
    		name   string
    		create func() error
    	}{
    		{"dir", func() error {
    			return Mkdir(from, 0777)
    		}},
    		{"file", func() error {
    			fd, err := Create(from)
    			if err != nil {
    				return err
    			}
    			return fd.Close()
    		}},
    	}
    
    	for _, test := range tests {
    		pt.Run(test.name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    					},
    				},
    			},
    		},
    	}
    
    	expectedns := []string{
    		"testns/super-high-priority", "testns/high-priority", "testns/default-priority", "testns/a-medium-priority",
    		"testns/b-medium-priority", "testns/b-low-priority", "testns/a-low-priority",
    	}
    
    	expectedns1 := []string{"testns-1/default-priority", "testns-1/a-medium-priority", "testns-1/b-medium-priority"}
    
    	for _, cfg := range envoyFilters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/file"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/workloadapi"
    	"istio.io/istio/pkg/workloadapi/security"
    )
    
    const (
    	testNS   = "ns1"
    	systemNS = "istio-system"
    	testNW   = "testnetwork"
    	testC    = "cluster0"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    	// Do the simple thing to start with.
    	for _, pkg := range test.packages() {
    		test1 := *test
    		test1.pkg, test1.pkgs = pkg, nil
    		register1(&test1)
    	}
    }
    
    // dirCmd constructs a Cmd intended to be run in the foreground.
    // The command will be run in dir, and Stdout and Stderr will go to os.Stdout
    // and os.Stderr.
    func (t *tester) dirCmd(dir string, cmdline ...interface{}) *exec.Cmd {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/test.go

    test ./...', and even 'go test .'). In this mode, go test compiles
    and tests each of the packages listed on the command line. If a
    package test passes, go test prints only the final 'ok' summary
    line. If a package test fails, go test prints the full test output.
    If invoked with the -bench or -v flag, go test prints the full
    output even for passing package tests, in order to display the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    	// ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests.
    	ErasureSDStr string = "ErasureSD"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  8. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestFindEqualRevisions(t *testing.T) {
    	type testcase struct {
    		name      string
    		revision  *apps.ControllerRevision
    		revisions []*apps.ControllerRevision
    		want      map[string]bool
    	}
    	testFn := func(test *testcase, t *testing.T) {
    		found := FindEqualRevisions(test.revisions, test.revision)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    // Functions producing parameter generators.
    //
    // Google Test uses these generators to produce parameters for value-
    // parameterized tests. When a parameterized test case is instantiated
    // with a particular generator, Google Test creates and runs tests
    // for each element in the sequence produced by the generator.
    //
    // In the following sample, tests from test case FooTest are instantiated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 74.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    //
    // Macros indicating available Google Test features (defined to 1 if
    // the corresponding feature is supported; otherwise undefined):
    //   GTEST_HAS_COMBINE      - the Combine() function (for value-parameterized
    //                            tests)
    //   GTEST_HAS_DEATH_TEST   - death tests
    //   GTEST_HAS_PARAM_TEST   - value-parameterized tests
    //   GTEST_HAS_TYPED_TEST   - typed tests
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
Back to top