Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 200 for assertAll (0.11 sec)

  1. 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)
  2. 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)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(double.class, TypeToken.of(double[].class).getComponentType().getType());
        assertNull(TypeToken.of(Object.class).getComponentType());
        assertNull(TypeToken.of(void.class).getComponentType());
      }
    
      public <T> void testGetComponentType_genericArrayClasses() {
        assertNull(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertEquals("dollar", bimap2.get(Currency.DOLLAR));
        assertEquals(bimap1, bimap2);
        bimap2.inverse().put("franc", Currency.FRANC);
        assertEquals("franc", bimap2.get(Currency.FRANC));
        assertNull(bimap1.get(Currency.FRANC));
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumHashBiMap<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          Path root = fs.getRootDirectories().iterator().next();
          assertNull(root.getParent());
          assertNull(root.toRealPath().getParent());
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertNull(path.getParent());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. 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)
  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. 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)
  9. 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)
  10. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("909.5T", FessFunctions.formatFileSize(1000000000000000L));
        }
    
        public void test_parseDate() {
            Date date;
    
            date = FessFunctions.parseDate("");
            assertNull(date);
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z");
            assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top