Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for testvol (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/cover/testdata/test.go

    //go:linkname some_name some_name
    var some_name int
    
    const anything = 1e9 // Just some unlikely value that means "we got here, don't care how often"
    
    func testAll() {
    	testSimple()
    	testBlockRun()
    	testIf()
    	testFor()
    	testRange()
    	testSwitch()
    	testTypeSwitch()
    	testSelect1()
    	testSelect2()
    	testPanic()
    	testEmptySwitches()
    	testFunctionLiteral()
    	testGoto()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  8. src/maps/iter_test.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package maps
    
    import (
    	"slices"
    	"testing"
    )
    
    func TestAll(t *testing.T) {
    	for size := 0; size < 10; size++ {
    		m := make(map[int]int)
    		for i := range size {
    			m[i] = i
    		}
    		cnt := 0
    		for i, v := range All(m) {
    			v1, ok := m[i]
    			if !ok || v != v1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:44:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginDependenciesIntegrationTest.groovy

                import static org.junit.Assert.assertTrue;
    
                import org.junit.Test;
    
                public class Class1Test<T> {
                    @Test
                    public void testFoo() {
                        Class1 c = new Class1();
                        assertTrue(c.isFoo("foo"));
                    }
    
                    public boolean equals(Object arg) { return java.lang.Boolean.valueOf(true); }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    go 1.18
    
    -- foo/foo.go --
    package foo
    
    func FooFunc() int {
    	return 42
    }
    func FooFunc2() int {
    	return 42
    }
    
    -- foo/foo_test.go --
    package foo
    
    import "testing"
    
    func TestFoo(t *testing.T) {
    	if FooFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- bar/bar.go --
    package bar
    
    import "example/foo"
    
    func BarFunc() int {
    	return foo.FooFunc2()
    }
    
    -- bar/bar_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top