Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 446 for assertFalse (0.38 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        return false;
      }
    
      public void testClear() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private static Test testsForSetUpTearDown() {
        final AtomicBoolean setUpRan = new AtomicBoolean();
        Runnable setUp =
            new Runnable() {
              @Override
              public void run() {
                assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true));
              }
            };
        Runnable tearDown =
            new Runnable() {
              @Override
              public void run() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
      private void doTestLazyStackTraceFallback() {
        assertFalse(lazyStackTraceIsLazy());
    
        Exception e = new Exception();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) e.getStackTrace()).inOrder();
    
        try {
          lazyStackTrace(e).set(0, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashCodeTest.java

        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/main/resources/fess_message_fr.properties

    errors.suffix=</li>
    
    # ----------------------------------------------------------
    #                                            Javax Validator
    #                                            ---------------
    constraints.AssertFalse.message = {item} doit être faux.
    constraints.AssertTrue.message  = {item} doit être vrai.
    constraints.DecimalMax.message  = {item} doit être plus petit que ${inclusive == true ? 'or equal to ' : ''}{value}.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 06 22:59:17 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        for (Range<Integer> range : RANGES) {
          RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
          rangeMap.put(range, 1);
    
          try {
            assertEquals(range, rangeMap.span());
            assertFalse(range.isEmpty());
          } catch (NoSuchElementException e) {
            assertTrue(range.isEmpty());
          }
        }
      }
    
      public void testSpanTwoRanges() {
        for (Range<Integer> range1 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        rangeSet.add(Range.closed(3, 10));
        assertEquals(Range.closed(3, 10), rangeSet.rangeContaining(5));
        assertTrue(rangeSet.contains(5));
        assertNull(rangeSet.rangeContaining(1));
        assertFalse(rangeSet.contains(1));
      }
    
      public void testRangeContaining2() {
        RangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 10));
        rangeSet.remove(Range.open(5, 7));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ContextConfigTest.java

            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
            assertFalse(this.context.hasDefaultCredentials());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertTrue(subset.remove("c"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
        assertThat(subset).containsExactly("b", "d", "e").inOrder();
        assertEquals(10, ms.size());
    
        assertFalse(subset.remove("a"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
        assertThat(subset).containsExactly("b", "d", "e").inOrder();
        assertEquals(10, ms.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

            builder.put(range1, 1).put(range2, 2);
            try {
              ImmutableRangeMap<Integer, Integer> unused = builder.build();
              assertFalse(expectRejection);
            } catch (IllegalArgumentException e) {
              assertTrue(expectRejection);
            }
          }
        }
      }
    
      public void testGet() {
        for (Range<Integer> range1 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top