Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for testOk (0.21 sec)

  1. src/cmd/cgo/internal/test/test.go

    // issue 8092
    
    func test8092(t *testing.T) {
    	tests := []struct {
    		s    string
    		a, b *C.char
    	}{
    		{"text", &C.text[0], C.ctext()},
    		{"data", &C.data[0], C.cdata()},
    	}
    	for _, test := range tests {
    		if test.a != test.b {
    			t.Errorf("%s: pointer mismatch: %v != %v", test.s, test.a, test.b)
    		}
    		if got := C.GoString(test.a); got != test.s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/go/internal/load/test.go

    //   - pmain, the package main corresponding to the test binary (running tests in ptest and pxtest).
    //   - ptest, the package p compiled with added "package p" test files.
    //   - pxtest, the result of compiling any "package p_test" (external) test files.
    //
    // If the package has no "package p_test" test files, pxtest will be nil.
    // If the non-test compilation of package p can be reused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

            boolean isModule
        ) {
            DeprecationLogger.deprecateIndirectUsage("The automatic loading of test framework implementation dependencies")
                .withAdvice("Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath.")
                .willBeRemovedInGradle9()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            return workerProcessBuilder -> workerProcessBuilder.sharedPackages("org.testng");
        }
    
        @Override
        public boolean getUseDistributionDependencies() {
            // We have no (default) implementation dependencies (see above).
            // The user must add their TestNG dependency to the test's runtimeClasspath themselves
            // or preferably use test suites where the dependencies are automatically managed.
            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    	}
    	for _, test := range tl {
    		if test.got != test.exp {
    			t.Errorf("On %v, expected '%v', but got '%v'",
    				test.name, test.exp, test.got)
    		}
    	}
    }
    
    func TestPrintDeployment(t *testing.T) {
    
    	testDeployment := apps.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:              "test1",
    			CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. cluster/gce/config-test.sh

    ENABLE_VOLUME_SNAPSHOTS=${ENABLE_VOLUME_SNAPSHOTS:-true}
    
    # Optional: Enable legacy ABAC policy that makes all service accounts superusers.
    # Disabling this by default in tests ensures default RBAC policies are sufficient from 1.6+
    # Upgrade test jobs that go from a version < 1.6 to a version >= 1.6 should override this to be true.
    ENABLE_LEGACY_ABAC=${ENABLE_LEGACY_ABAC:-false} # true, false
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. src/cmd/go/script_test.go

    	"golang.org/x/telemetry/counter/countertest"
    )
    
    var testSum = flag.String("testsum", "", `may be tidy, listm, or listall. If set, TestScript generates a go.sum file at the beginning of each test and updates test files if they pass.`)
    
    // TestScript runs the tests in testdata/script/*.txt.
    func TestScript(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. cluster/gce/windows/smoke-test.sh

    #     fails.
    #   - Move copy-pasted code into reusable functions.
    #   - Continue running all checks after one fails.
    #   - Test service connectivity by running a test pod with an http server and
    #     exposing it as a service (rather than curl-ing from existing system
    #     services that don't serve http requests).
    #   - Add test retries for transient errors, such as:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. 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)
Back to top