Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for TestOr (0.17 sec)

  1. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    		}
    		resultMask := And(bitMasks[0], bitMasks...)
    		if resultMask.String() != string(tc.andMask) {
    			t.Errorf("Expected mask to be %v, got %v", tc.andMask, resultMask)
    		}
    
    	}
    }
    
    func TestOr(t *testing.T) {
    	tcases := []struct {
    		name   string
    		masks  [][]int
    		orMask string
    	}{
    		{
    			name:   "Mask 01 OR mask 00",
    			masks:  [][]int{{0}, {}},
    			orMask: "01",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public void testNulls_interface() {
        tester.testNulls(AnInterface.class);
      }
    
      public void testNulls_abstractClass() {
        tester.testNulls(AnAbstractClass.class);
      }
    
      public void testNulls_enum() throws Exception {
        tester.testNulls(OneConstantEnum.class);
        tester.testNulls(NoConstantEnum.class);
        tester.testNulls(TimeUnit.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            tester.lastArgs.size() == 2
            tester.lastArgs.first() == "1"
            tester.lastArgs.last() instanceof Action
    
            when:
            tester.threeArgs("1", "2") { assert it == "subject" }
    
            then:
            tester.lastMethod == "threeArgs"
            tester.lastArgs.size() == 3
            tester.lastArgs.first() == "1"
            tester.lastArgs[1] == "2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
            "Should have verified once per stimulus executed",
            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        }
    
        return requirements;
      }
    
      /**
       * Find all the tester annotations declared on a tester class or method.
       *
       * @param classOrMethod a class or method whose tester annotations to find
       * @return an iterable sequence of tester annotations on the class
       */
      public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  6. pkg/kube/kclient/client_test.go

    	obj1.Spec.MinReadySeconds = 2
    	tester.Update(obj1)
    	tracker.WaitOrdered("update/1")
    	assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1)
    
    	// Create some more objects
    	tester.Create(obj3)
    	tester.Create(obj2)
    	tracker.WaitOrdered("add/2")
    	assert.Equal(t, tester.Get(obj2.Name, obj2.Namespace), obj2)
    	// We should not see obj3, it is filtered
    
    	deploys := tester.List(obj1.Namespace, klabels.Everything())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        }
    
        return requirements;
      }
    
      /**
       * Find all the tester annotations declared on a tester class or method.
       *
       * @param classOrMethod a class or method whose tester annotations to find
       * @return an iterable sequence of tester annotations on the class
       */
      public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      public void testNullEqualityGroup() {
        EqualsTester tester = new EqualsTester();
        try {
          tester.addEqualityGroup((Object[]) null);
          fail();
        } catch (NullPointerException e) {
        }
      }
    
      public void testNullObjectInEqualityGroup() {
        EqualsTester tester = new EqualsTester();
        try {
          tester.addEqualityGroup(1, null, 3);
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
            "Should have verified once per stimulus executed",
            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top