Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 224 for assertNull (0.14 sec)

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

        assertEquals(2, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.peekLast());
        assertEquals(1, (int) mmHeap.pollLast());
        assertNull(mmHeap.peek());
        assertNull(mmHeap.peekLast());
        assertNull(mmHeap.pollLast());
      }
    
      public void testSmallMinHeap() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.add(1);
        mmHeap.add(3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testMergePresentToNull() {
        assertNull(
            "Map.merge(present, value, functionReturningNull) should return null",
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/app/pager/CharMappingPagerTest.java

            assertEquals(false, charmappingpager.isExistNextPage());
            assertEquals(25, charmappingpager.getPageSize());
            assertEquals(1, charmappingpager.getCurrentPageNumber());
            assertNull(charmappingpager.id);
    
            assertEquals(25, charmappingpager.getDefaultPageSize());
            assertEquals(1, charmappingpager.getDefaultCurrentPageNumber());
    
            charmappingpager.setAllRecordCount(999);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
    
            data = "<img src=\"http://example/foo.jpg\" width=\"x\" height=\"x\">";
            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
    
            data = "<img src=\"http://example/foo.jpg\" width=\"10\" height=\"100\">";
            assertNull(transformer.getThumbnailUrl(responseData, getDocument(data)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            hash = "$H4sIAAAAAAAAAAMAAAAAAAAAAAA";
            value = "$H4sIAAAAAAAAAAMAAAAAAAAAAAA";
            assertEquals(value, documentHelper.encodeSimilarDocHash(hash));
    
            assertNull(documentHelper.encodeSimilarDocHash(null));
        }
    
        public void test_decodeSimilarDocHash() {
            DocumentHelper documentHelper = new DocumentHelper();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          }
        }
      }
    
      void checkEmpty(BlockingQueue<?> q) {
        try {
          assertTrue(q.isEmpty());
          assertEquals(0, q.size());
          assertNull(q.peek());
          assertNull(q.poll());
          assertNull(q.poll(0, MILLISECONDS));
          assertEquals("[]", q.toString());
          assertTrue(Arrays.equals(q.toArray(), new Object[0]));
          assertFalse(q.iterator().hasNext());
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        assertEquals(v0(), getMap().replace(k0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testReplace_supportedAbsent() {
        assertNull(getMap().replace(k3(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        subMap.remove(key);
        assertNull(subMap.remove(firstEntry.getKey()));
        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            accessResultData.setTransformerName("textTransformer");
            accessResultData.setData(null);
    
            final Object obj = textTransformer.getData(accessResultData);
            assertNull(obj);
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f);
            if (text.startsWith("sort:")) {
                assertNull(builder);
            } else {
                logger.info("{} => {}", text, builder.toString());
                assertEquals(expectedClass, builder.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top