Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for testfn (0.22 sec)

  1. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestFakeHistory_ListControllerRevisions(t *testing.T) {
    	type testcase struct {
    		name      string
    		parent    metav1.Object
    		selector  labels.Selector
    		revisions []*apps.ControllerRevision
    		want      map[string]bool
    	}
    	testFn := func(test *testcase, t *testing.T) {
    		client := fake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute_test.go

    				"test-headless.com:8888": {"test-headless.com:8888": true, "*.test-headless.com:8888": true},
    				"test-private-2.com:60": {
    					"test-private-2.com:60": true, "9.9.9.10:60": true,
    				},
    				"test-private.com:70": {
    					"test-private.com:70": true, "9.9.9.9:70": true,
    				},
    				"test-private.com:80": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. src/testing/testing.go

    // For example, using "matching" to mean "whose name contains":
    //
    //	go test -run ''        # Run all tests.
    //	go test -run Foo       # Run top-level tests matching "Foo", such as "TestFooBar".
    //	go test -run Foo/A=    # For top-level tests matching "Foo", run subtests matching "A=".
    //	go test -run /A=1      # For all top-level tests, run subtests matching "A=1".
    //	go test -fuzz FuzzFoo  # Fuzz the target matching "FuzzFoo"
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    	utilstrings "k8s.io/utils/strings"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cmd/test-utils_test.go

    	return prepareErasure(ctx, 16)
    }
    
    // TestErrHandler - Go testing.T satisfy this interface.
    // 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 (
    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. .teamcity/test-buckets.json

    					"enterprise",
    					"execution",
    					"execution-e2e-tests",
    					"file-collections",
    					"file-watching",
    					"ide",
    					"ide-plugins",
    					"integ-test",
    					"internal-integ-testing",
    					"internal-performance-testing",
    					"ivy",
    					"java-platform",
    					"jvm-services",
    					"kotlin-dsl",
    					"kotlin-dsl-integ-tests",
    					"language-java",
    					"language-jvm",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 15:56:44 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  9. src/os/os_test.go

    			if err != nil {
    				return err
    			}
    			return fd.Close()
    		}},
    	}
    
    	for _, test := range tests {
    		pt.Run(test.name, func(t *testing.T) {
    			defer chtmpdir(t)()
    
    			if err := test.create(); err != nil {
    				t.Fatalf("failed to create test file: %s", err)
    			}
    
    			if _, err := Stat(to); err != nil {
    				// Sanity check that the underlying filesystem is not case sensitive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h

    class BaseTest : public ::testing::Test {
      // You can inherit all the usual members for a non-parameterized test
      // fixture here.
    };
    
    class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
      // The usual test fixture members go here too.
    };
    
    TEST_F(BaseTest, HasFoo) {
      // This is an ordinary non-parameterized test.
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 74.1K bytes
    - Viewed (0)
Back to top