Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for testnode (0.33 sec)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.not(predicate).
       */
    
      public void testNot_apply() {
        assertEvalsToTrue(Predicates.not(FALSE));
        assertEvalsToFalse(Predicates.not(TRUE));
        assertEvalsLikeOdd(Predicates.not(Predicates.not(isOdd())));
      }
    
      public void testNot_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd()))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

          }
        } else {
          node = header.succ();
        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    
      @CheckForNull
      private AvlNode<E> lastNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
        if (range.hasUpperBound()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/IntMathTest.java

            try {
              IntMath.divide(p, 0, mode);
              fail("Expected ArithmeticException");
            } catch (ArithmeticException expected) {
            }
          }
        }
      }
    
      public void testMod() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          for (int m : POSITIVE_INTEGER_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m));
          }
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        String testName =
            method.getName()
                + (fair ? "(fair)" : "(nonfair)")
                + (timed ? "(0ms)" : "()")
                + "/NotOccupying->IMSE";
        return new TestCase(testName) {
          @Override
          protected void runTest() throws Throwable {
            Monitor monitor = new Monitor(fair);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        String testName =
            method.getName()
                + (fair ? "(fair)" : "(nonfair)")
                + (timed ? "(0ms)" : "()")
                + "/NotOccupying->IMSE";
        return new TestCase(testName) {
          @Override
          protected void runTest() throws Throwable {
            Monitor monitor = new Monitor(fair);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top