Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 446 for assertFalse (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAbsent() {
        assertFalse(multimap().remove(k0(), v1()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemovePresent() {
        assertTrue(multimap().remove(k0(), v0()));
    
        assertFalse(multimap().containsEntry(k0(), v0()));
        expectMissing(e0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class MetadataTest {
    
        Artifact artifact;
    
        Metadata target;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        unused = BloomFilter.create(Funnels.unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99);
      }
    
      private static void checkSanity(BloomFilter<Object> bf) {
        assertFalse(bf.mightContain(new Object()));
        assertFalse(bf.apply(new Object()));
        for (int i = 0; i < 100; i++) {
          Object o = new Object();
          bf.put(o);
          assertTrue(bf.mightContain(o));
          assertTrue(bf.apply(o));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      public void testSpliteratorNullable() {
        initCollectionWithNullElement();
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSpliteratorNotImmutable_collectionAllowsAdd() {
        // If add is supported, verify that IMMUTABLE is not reported.
        assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/IntMathTest.java

      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
        long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L;
        assertFalse(IntMath.isPowerOfTwo((int) value));
      }
    
      public void testCeilingPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
          BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            ArtifactRepository localRepo = repositorySystem.createLocalRepository(localRepoDir);
    
            String basedir = localRepo.getBasedir();
    
            assertFalse(basedir.endsWith("/"));
            assertFalse(basedir.endsWith("\\"));
    
            assertEquals(localRepoDir, new File(basedir));
    
            assertEquals(localRepoDir.getPath(), basedir);
        }
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertFalse(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullIterableYes() {
        Iterable<String> iterable = iterable("a", null, "b");
        assertTrue(FluentIterable.from(iterable).contains(null));
      }
    
      public void testContains_nullIterableNo() {
        Iterable<String> iterable = iterable("a", "b");
        assertFalse(FluentIterable.from(iterable).contains(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertTrue(docString.contains("<NOSCRIPT>"));
            assertTrue(docString.contains("bar"));
            assertFalse(pnString.contains("<SCRIPT>"));
            assertFalse(pnString.contains("foo"));
            assertFalse(pnString.contains("<NOSCRIPT>"));
            assertFalse(pnString.contains("bar"));
            ComponentUtil.setFessConfig(null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFromStream_doesNotCloseThatStream() throws IOException {
        TestReader in = new TestReader();
        assertFalse(in.closed());
        sink.writeFrom(in);
        assertFalse(in.closed());
      }
    
      public void testWriteLines_withSpecificSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamClosed());
      }
    
      public void testCopyToAppendable_doesNotCloseIfWriter() throws IOException {
        TestWriter writer = new TestWriter();
        assertFalse(writer.closed());
        source.copyTo(writer);
        assertFalse(writer.closed());
      }
    
      public void testClosesOnErrors_copyingToCharSinkThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top