Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 224 for assertNull (0.15 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            crawlerStatsHelper.done(key);
            assertNull(localLogMsg.get());
        }
    
        public void test_beginDoneWithRecordOnLazy() {
            String key = "test";
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.runOnThread(key);
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        for (BoundType type : BoundType.values()) {
          assertNull(sortedMultiset.headMultiset(e0(), type).lastEntry());
          assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry());
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetLast() {
        assertNull(sortedMultiset.lastEntry());
        assertThrows(
            NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileLocationTest.java

        public void testRoot () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb://", getContext()) ) {
                SmbResourceLocator fl = p.getLocator();
                assertNull(fl.getServer());
                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NtlmTest.java

            Type2Message parsed = new Type2Message(t2.toByteArray());
            assertArrayEquals(challenge, parsed.getChallenge());
            assertNull(parsed.getTarget());
            assertNull(parsed.getTargetInformation());
        }
    
    
        @Test
        public void testParsingType2TargetInformation () throws IOException {
            int flags = 0;
            byte[] challenge = new byte[] {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                    (k, v) -> {
                      assertEquals(k3(), k);
                      assertNull(v);
                      return v3();
                    }));
        expectAdded(e3());
        assertEquals(getNumElements() + 1, getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentToAbsent() {
        assertNull(
            "Map.compute(absent, functionReturningNull) should return null",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                    (k, v) -> {
                      assertEquals(k3(), k);
                      assertNull(v);
                      return v3();
                    }));
        expectAdded(e3());
        assertEquals(getNumElements() + 1, getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentToAbsent() {
        assertNull(
            "Map.compute(absent, functionReturningNull) should return null",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

        assertEquals(TestEnum.CHEETO, converter.convert("CHEETO"));
        assertEquals(TestEnum.HONDA, converter.convert("HONDA"));
        assertEquals(TestEnum.POODLE, converter.convert("POODLE"));
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
      }
    
      @GwtIncompatible // stringConverter
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top