Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for testVol (0.13 sec)

  1. src/os/executable_test.go

    	case "openbsd", "freebsd", "aix":
    		t.Skipf("%v does not support reading deleted binary name", runtime.GOOS)
    	}
    	t.Parallel()
    
    	dir := t.TempDir()
    
    	src := filepath.Join(dir, "testdel.go")
    	exe := filepath.Join(dir, "testdel.exe")
    
    	err := os.WriteFile(src, []byte(testExecutableDeletion), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_overlay.txt

    [short] skip
    
    cd $WORK/gopath/src/foo
    go test -list=. -overlay=overlay.json .
    stdout 'TestBar'
    
    -- go.mod --
    module test.pkg
    -- foo/foo_test.go --
    package foo
    
    import "testing"
    
    func TestFoo(t *testing.T) { }
    -- tmp/bar_test.go --
    package foo
    
    import "testing"
    
    func TestBar(t *testing.T) {
    	t.Fatal("dummy failure")
    }
    -- foo/overlay.json --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 31 16:39:16 UTC 2021
    - 393 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_pkgall_multiple_mains.txt

    package main
    
    func main() {}
    
    func Foo() {}
    
    -- $GOPATH/src/example.com/cov/mainwithtest/mainwithtest_test.go --
    package main
    
    import "testing"
    
    func TestFoo(t *testing.T) {
      Foo()
    }
    
    -- $GOPATH/src/example.com/cov/xtest/x.go --
    package x
    
    -- $GOPATH/src/example.com/cov/xtest/x_test.go --
    package x_test
    
    import "testing"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 13 16:25:00 UTC 2019
    - 883 bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/testdata/istio-operator.yaml

          configPath: "/etc/istio/proxy"
          binaryPath: "/usr/local/bin/envoy"
          # The pseudo service name used for Envoy.
          serviceCluster: istio-proxy
      values:
        global:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 689 bytes
    - Viewed (0)
  5. pkg/registry/certificates/certificates/storage/metrics_test.go

    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			t.Parallel()
    
    			testReq := &testCounterVecMetric{}
    			testHon := &testCounterVecMetric{}
    
    			finishFunc, err := countCSRDurationMetric(testReq, testHon)(nil, tt.obj, tt.old, tt.options)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			finishFunc(nil, tt.success)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdRelocationIntegrationTest.groovy

                package org.gradle;
    
                import static org.junit.Assert.assertTrue;
    
                import org.junit.Test;
    
                public class Class1Test {
                    @Test
                    public void testFoo() {
                        Class1 c = new Class1();
                        assertTrue(c.isFoo("foo"));
                    }
                }
                """
    
    
            projectDir.file("build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_var_init_order.txt

    	bar     = flag.Lookup("bar")
    )
    
    func notOK() string {
    	return "not OK"
    }
    
    -- m_test.go --
    
    package main
    
    import (
    	"testing"
    )
    
    func TestFoo(t *testing.T) {
    	if foo == nil {
    		t.Fatal()
    	}
    }
    
    func TestBar(t *testing.T) {
    	if bar == nil {
    		t.Fatal()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:14:15 UTC 2022
    - 784 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/doc.go

    // Skip{,f,Now} methods of *testing.T, must be called from the test goroutine itself.
    // This checker detects calls to these functions that occur within a goroutine
    // started by the test. For example:
    //
    //	func TestFoo(t *testing.T) {
    //	    go func() {
    //	        t.Fatal("oops") // error: (*T).Fatal called from non-test goroutine
    //	    }()
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 853 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/text/TokenizerTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/discovery/discovery_test.go

    limitations under the License.
    */
    
    package discovery
    
    import (
    	"testing"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    func TestFor(t *testing.T) {
    	tests := []struct {
    		name   string
    		d      kubeadm.JoinConfiguration
    		expect bool
    	}{
    		{
    			name:   "default Discovery",
    			d:      kubeadm.JoinConfiguration{},
    			expect: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top