Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for rctest (0.07 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		"valid RuntimeClass":       {rcn: pointer.String(rctest.SandboxRuntimeClass), expectedHandler: rctest.SandboxRuntimeHandler},
    		"missing RuntimeClass":     {rcn: pointer.String("phantom"), expectError: true},
    	}
    	for name, test := range tests {
    		t.Run(name, func(t *testing.T) {
    			fakeRuntime.Called = []string{}
    			pod := newTestPod()
    			pod.Spec.RuntimeClassName = test.rcn
    
    			id, _, err := m.createPodSandbox(ctx, pod, 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //
    // The Google C++ Testing Framework (Google Test)
    //
    // This header file defines the public API for death tests.  It is
    // #included by gtest.h so a user doesn't need to include this
    // directly.
    
    #ifndef GTEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_
    #define GTEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_
    
    #include "gtest/internal/gtest-death-test-internal.h"
    
    namespace testing {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    #endif  // 0
    
    #include "gtest/internal/gtest-port.h"
    #include "gtest/internal/gtest-type-util.h"
    
    // Implements typed tests.
    
    #if GTEST_HAS_TYPED_TEST
    
    // INTERNAL IMPLEMENTATION - DO NOT USE IN USER CODE.
    //
    // Expands to the name of the typedef for the type parameters of the
    // given test case.
    # define GTEST_TYPE_PARAMS_(TestCaseName) gtest_type_params_##TestCaseName##_
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      static bool Create(const char* statement, const RE* regex,
                         const char* file, int line, DeathTest** test);
      DeathTest();
      virtual ~DeathTest() { }
    
      // A helper class that aborts a death test when it's deleted.
      class ReturnSentinel {
       public:
        explicit ReturnSentinel(DeathTest* test) : test_(test) { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/context/x_test.go

    				cancel()
    				return ctx
    			},
    			err:   nil,
    			cause: nil,
    		},
    	} {
    		test := test
    		t.Run(test.name, func(t *testing.T) {
    			t.Parallel()
    			ctx := test.ctx()
    			if got, want := ctx.Err(), test.err; want != got {
    				t.Errorf("ctx.Err() = %v want %v", got, want)
    			}
    			if got, want := Cause(ctx), test.cause; want != got {
    				t.Errorf("Cause(ctx) = %v want %v", got, want)
    			}
    		})
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. src/runtime/gc_test.go

    	"runtime/debug"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestGcSys(t *testing.T) {
    	t.Skip("skipping known-flaky test; golang.org/issue/37331")
    	if os.Getenv("GOGC") == "off" {
    		t.Skip("skipping test; GOGC=off in environment")
    	}
    	got := runTestProg(t, "testprog", "GCSys")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. pkg/kubelet/images/image_manager_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "test_pod",
    			Namespace:       "test-ns",
    			UID:             "bar",
    			ResourceVersion: "42",
    			Annotations: map[string]string{
    				"kubernetes.io/runtimehandler": "handler_name",
    			},
    		}}
    	c := pullerTestCase{ // pull missing image
    		testName:       "test pull and list image with pod annotations",
    		containerImage: "missing_image",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
      public void testSerializable() throws Exception {
        // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    #endif
    
    #include <ctype.h>
    #include <float.h>
    #include <string.h>
    #include <iomanip>
    #include <limits>
    #include <set>
    
    #include "gtest/gtest-message.h"
    #include "gtest/internal/gtest-string.h"
    #include "gtest/internal/gtest-filepath.h"
    #include "gtest/internal/gtest-type-util.h"
    
    // Due to C++ preprocessor weirdness, we need double indirection to
    // concatenate two tokens when one of them is __LINE__.  Writing
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
      @Test
      public void testSerializable() throws Exception {
        // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top