Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 433 for testOrg (0.17 sec)

  1. pkg/kube/krt/testing.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package krt
    
    // Dump is a *testing* helper to dump the state of a collection, if possible, into logs.
    func Dump[O any](c Collection[O]) {
    	c.(internalCollection[O]).dump()
    }
    
    type TestingDummyContext struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. docs/tr/docs/advanced/testing-websockets.md

    Hasan Sezer Taşan <******@****.***> 1716826863 +0300
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 27 16:21:03 UTC 2024
    - 471 bytes
    - Viewed (0)
  3. src/testing/internal/testdeps/deps.go

    }
    
    // ImportPath is the import path of the testing binary, set by the generated main function.
    var ImportPath string
    
    func (TestDeps) ImportPath() string {
    	return ImportPath
    }
    
    // testLog implements testlog.Interface, logging actions by package os.
    type testLog struct {
    	mu  sync.Mutex
    	w   *bufio.Writer
    	set bool
    }
    
    func (l *testLog) Getenv(key string) {
    	l.add("getenv", key)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/internal/testlog/exit.go

    // license that can be found in the LICENSE file.
    
    package testlog
    
    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/testing/benchmark_test.go

    		}
    	})
    }
    
    func TestRunParallelFail(t *testing.T) {
    	testing.Benchmark(func(b *testing.B) {
    		b.RunParallel(func(pb *testing.PB) {
    			// The function must be able to log/abort
    			// w/o crashing/deadlocking the whole benchmark.
    			b.Log("log")
    			b.Error("error")
    		})
    	})
    }
    
    func TestRunParallelFatal(t *testing.T) {
    	testing.Benchmark(func(b *testing.B) {
    		b.RunParallel(func(pb *testing.PB) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/build.gradle.kts

    }
    
    description = """JVM-specific testing functionality, including the Test type and support for configuring options for and detecting
    tests written in various JVM testing frameworks. This project "extends" the testing-base project by sub-typing many
    of its abstractions with JVM-specific abstractions or implementations.
    
    This project is a implementation dependency of many other testing-related subprojects in the Gradle build, and is a necessary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. pkg/util/smallset/smallset_test.go

    		b.Run("New/1", func(b *testing.B) {
    			for range b.N {
    				_ = smallset.New("a")
    			}
    		})
    		b.Run("New/1000", func(b *testing.B) {
    			for range b.N {
    				_ = smallset.New(items1000...)
    			}
    		})
    		b.Run("NewPresorted/1000", func(b *testing.B) {
    			for range b.N {
    				_ = smallset.NewPresorted(items1000...)
    			}
    		})
    		b.Run("Contains/1000", func(b *testing.B) {
    			for range b.N {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/sync/pool_test.go

    	})
    	t.Run("Put", func(t *testing.T) {
    		defer catch()
    		p.Put("a")
    		t.Error("should have panicked already")
    	})
    }
    
    func BenchmarkPool(b *testing.B) {
    	var p Pool
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			p.Put(1)
    			p.Get()
    		}
    	})
    }
    
    func BenchmarkPoolOverflow(b *testing.B) {
    	var p Pool
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/reflect/iter_test.go

    import (
    	"iter"
    	"maps"
    	. "reflect"
    	"testing"
    )
    
    func TestValueSeq(t *testing.T) {
    	m := map[string]int{
    		"1": 1,
    		"2": 2,
    		"3": 3,
    		"4": 4,
    	}
    	c := make(chan int, 3)
    	for i := range 3 {
    		c <- i
    	}
    	close(c)
    	tests := []struct {
    		name  string
    		val   Value
    		check func(*testing.T, iter.Seq[Value])
    	}{
    		{"int", ValueOf(4), func(t *testing.T, s iter.Seq[Value]) {
    			i := int64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    }
    
    var allDecModes = []cbor.DecMode{
    	modes.Decode,
    	modes.DecodeLax,
    }
    
    func assertNilError(t *testing.T, e error) {
    	if e != nil {
    		t.Errorf("expected nil error, got: %v", e)
    	}
    }
    
    func assertOnConcreteError[E error](fn func(*testing.T, E)) func(t *testing.T, e error) {
    	return func(t *testing.T, ei error) {
    		var ec E
    		if !errors.As(ei, &ec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top