Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 962 for testOrg (0.31 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/credentialprovider"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func TestPullImage(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-junit-platform/build.gradle.kts

    }
    
    
    description = """Support classes used to run tests with the JUnit Platform testing framework.
    This project is separate from :testing-jvm-infrastructure since it requires junit-platform which itself requires Java 8+.
    This project should only be used by :testing-jvm-infrastructure, however it is not depended upon directly.
    Instead :testing-jvm-infrastructure loads classes from this project via reflection due to the above noted Java version issue.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 986 bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		}
    	}
    }
    
    func TestHandlerPanicNil(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, nil)
    	}, testNotParallel)
    }
    
    func TestHandlerPanic(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, "intentional death for testing")
    	}, testNotParallel)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. src/net/http/clientserver_test.go

    func TestH2_204NoBody(t *testing.T) { testH12_noBody(t, 204) }
    func TestH2_304NoBody(t *testing.T) { testH12_noBody(t, 304) }
    func TestH2_404NoBody(t *testing.T) { testH12_noBody(t, 404) }
    
    func testH12_noBody(t *testing.T, status int) {
    	h12Compare{Handler: func(w ResponseWriter, r *Request) {
    		w.WriteHeader(status)
    	}}.run(t)
    }
    
    func TestH12_SmallBody(t *testing.T) {
    	h12Compare{Handler: func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  5. pkg/test/framework/suite_test.go

    		setupCalled = true
    		return fmt.Errorf("can't run this")
    	})
    	s.Run()
    
    	g.Expect(setupCalled).To(BeTrue())
    	g.Expect(runCalled).To(BeFalse())
    }
    
    func TestSuite_Cleanup(t *testing.T) {
    	t.Run("cleanup", func(t *testing.T) {
    		defer cleanupRT()
    		g := NewWithT(t)
    
    		var cleanupCalled bool
    		var conditionalCleanupCalled bool
    		var waitForRun1 sync.WaitGroup
    		waitForRun1.Add(1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    package v1
    
    import (
    	"encoding/json"
    	"fmt"
    	"reflect"
    	"testing"
    	"time"
    
    	cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct"
    	"sigs.k8s.io/yaml"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    )
    
    type MicroTimeHolder struct {
    	T MicroTime `json:"t"`
    }
    
    func TestMicroTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  MicroTime
    		result string
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/net/netip/netip_test.go

    func BenchmarkStdParseIP(b *testing.B) {
    	for _, test := range parseBenchInputs {
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				sinkStdIP = net.ParseIP(test.ip)
    			}
    		})
    	}
    }
    
    func BenchmarkAddrString(b *testing.B) {
    	for _, test := range parseBenchInputs {
    		ip := MustParseAddr(test.ip)
    		b.Run(test.name, func(b *testing.B) {
    			b.ReportAllocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    
    	authenticationv1 "k8s.io/api/authentication/v1"
    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    func TestCompileClaimsExpression(t *testing.T) {
    	testCases := []struct {
    		name                string
    		expressionAccessors []ExpressionAccessor
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. platforms/software/testing-base/build.gradle.kts

    }
    
    description = """Basic testing related plugins, which establish conventions for testing output directories,
    and setup basic testing-related features like a testSuites container and the testing extension.  It provides most of the
    testing-related abstract base types and interfaces for things like Test tasks, listeners and filters.
    
    This project is a implementation dependency of many other testing-related subprojects in the Gradle build.
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/net/http/request_test.go

    Host: localhost:8080
    `)
    }
    
    func BenchmarkFileAndServer_1KB(b *testing.B) {
    	benchmarkFileAndServer(b, 1<<10)
    }
    
    func BenchmarkFileAndServer_16MB(b *testing.B) {
    	benchmarkFileAndServer(b, 1<<24)
    }
    
    func BenchmarkFileAndServer_64MB(b *testing.B) {
    	benchmarkFileAndServer(b, 1<<26)
    }
    
    func benchmarkFileAndServer(b *testing.B, n int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top