Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for testMod (5.81 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            fail("Expected ArithmeticException");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      public void testMod() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            if (b != 0) {
              UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            fail("Expected ArithmeticException");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      public void testMod() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            if (b != 0) {
              UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/text/TokenizerTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAdd_unsupportedNotPresent() {
        try {
          collection.add(e3());
          fail("add(notPresent) should throw");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

                XmlNode child = children.get(filteredIndex);
                if (testNode(child)) {
                    filteredChildren.add(child);
                }
            }
        }
    
        private boolean testNode(XmlNode node) {
            if (test == null) {
                return true;
            }
            if (test instanceof NodeNameTest) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NtlmTest.java

            this.context = SingletonContext.getInstance();
        }
    
    
        @Test
        public void testParsingType1 () throws IOException {
            int flags = 0x80000000;
            String suppliedDomain = "TESTDOM";
            String suppliedWorkstation = "TESTWS";
            Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation);
    
            int origFlags = t1.getFlags();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 16 10:38:43 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/cnieventclient_test.go

    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/sourceCopyright.dfprop

    # sourceCopyright: (NotRequired - Default '')
    #
    # The copyright for all class sources.
    # This property is NOT map style.
    # You should specify before your first generating.
    #
    #/*
    # * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
    # */
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 344 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        assertEquals("a", iterator.next());
        try {
          iterator.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
        assertEquals("b", iterator.previous());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top