Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for testAll (0.12 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

        return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail>
            ::Register(prefix, case_name, test_names, index + 1);
      }
    };
    
    // The base case for the compile time recursion.
    template <GTEST_TEMPLATE_ Fixture, class TestSel>
    class TypeParameterizedTest<Fixture, TestSel, Types0> {
     public:
      static bool Register(const char* /*prefix*/, const char* /*case_name*/,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    		ads.WaitClear()
    		s.Discovery.Push(&model.PushRequest{
    			Full: true,
    			ConfigsUpdated: sets.New(
    				model.ConfigKey{Kind: kind.ServiceEntry, Name: "destall.default.svc.cluster.local", Namespace: "default"},
    				model.ConfigKey{Kind: kind.DestinationRule, Name: "destall", Namespace: "testns"}),
    		})
    		if _, err := ads.Wait(time.Second*5, watchAll...); err != nil {
    			t.Fatal(err)
    		}
    		if len(ads.GetEndpoints()) != 4 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. src/syscall/js/js_test.go

    	}
    	if js.Undefined().IsNull() {
    		t.Errorf("undefined is null")
    	}
    	if dummys.Set("test", js.Undefined()); !dummys.Get("test").IsUndefined() {
    		t.Errorf("could not set undefined")
    	}
    }
    
    func TestNull(t *testing.T) {
    	if !js.Null().IsNull() {
    		t.Errorf("null is not null")
    	}
    	if !js.Null().Equal(js.Null()) {
    		t.Errorf("null is not equal to null")
    	}
    	if dummys.IsNull() {
    		t.Errorf("object is null")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	// Configured and works as expected
    	t.Run("PreStop-CMDExec", func(t *testing.T) {
    		ctx := context.Background()
    		testContainer.Lifecycle = cmdLifeCycle
    		_ = m.killContainer(ctx, testPod, cID, "foo", "testKill", "", &gracePeriod, nil)
    		if fakeRunner.Cmd[0] != cmdLifeCycle.PreStop.Exec.Command[0] {
    			t.Errorf("CMD Prestop hook was not invoked")
    		}
    	})
    
    	// Configured and working HTTP hook
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
        // Won't compile: map.putInstance(Double.class, new Long(42));
      }
    
      public void testNull() {
        assertThrows(
            NullPointerException.class,
            () -> map.putInstance((TypeToken<Integer>) null, Integer.valueOf(1)));
        map.putInstance(Integer.class, null);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    func TestMapSetNil(t *testing.T) {
    	m := make(map[string]int)
    	vm := ValueOf(&m)
    	vm.Elem().Set(Zero(vm.Elem().Type()))
    	if m != nil {
    		t.Errorf("got non-nil (%p), want nil", m)
    	}
    }
    
    func TestAll(t *testing.T) {
    	testType(t, 1, TypeOf((int8)(0)), "int8")
    	testType(t, 2, TypeOf((*int8)(nil)).Elem(), "int8")
    
    	typ := TypeOf((*struct {
    		c chan *int32
    		d float32
    	})(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/iter/pull_test.go

    			}
    		}
    	}
    }
    
    func squares(n int) Seq2[int, int64] {
    	return func(yield func(int, int64) bool) {
    		for i := range n {
    			if !yield(i, int64(i)*int64(i)) {
    				break
    			}
    		}
    	}
    }
    
    func TestPull(t *testing.T) {
    	for end := 0; end <= 3; end++ {
    		t.Run(fmt.Sprint(end), func(t *testing.T) {
    			ng := stableNumGoroutine()
    			wantNG := func(want int) {
    				if xg := runtime.NumGoroutine() - ng; xg != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/delete_test.go

    }
    
    // Test multiple calls to syncClaim/syncVolume and periodic sync of all
    // volume/claims. The test follows this pattern:
    //  0. Load the controller with initial data.
    //  1. Call controllerTest.testCall() once as in TestSync()
    //  2. For all volumes/claims changed by previous syncVolume/syncClaim calls,
    //     call appropriate syncVolume/syncClaim (simulating "volume/claim changed"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/crypto/aes/aes_test.go

    		}
    
    		// i *= x in GF(2) modulo the polynomial
    		i <<= 1
    		if i&0x100 != 0 {
    			i ^= poly
    		}
    	}
    	return s
    }
    
    // Test all mul inputs against bit-by-bit n² algorithm.
    func TestMul(t *testing.T) {
    	for i := uint32(0); i < 256; i++ {
    		for j := uint32(0); j < 256; j++ {
    			// Multiply i, j bit by bit.
    			s := uint8(0)
    			for k := uint(0); k < 8; k++ {
    				for l := uint(0); l < 8; l++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /* The names of the expected method that tests null checks. */
      private static final ImmutableList<String> NULL_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testNulls", "testNull",
              "testNullPointers", "testNullPointer",
              "testNullPointerExceptions", "testNullPointerException");
    
      /* The names of the expected method that tests serializable. */
    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