Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 224 for assertNull (0.1 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/app/pager/AccessTokenPagerTest.java

            assertEquals(25, accesstokenpager.getPageSize());
            assertEquals(1, accesstokenpager.getCurrentPageNumber());
            assertNull(accesstokenpager.id);
            assertNull(accesstokenpager.name);
            assertNull(accesstokenpager.createdBy);
            assertNull(accesstokenpager.createdTime);
            assertNull(accesstokenpager.versionNo);
    
            accesstokenpager.setAllRecordCount(999);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                    return "1,2,5:2";
                }
            };
    
            assertNull(fessConfig.getAvailableSmbSidType(0));
            assertEquals(1, fessConfig.getAvailableSmbSidType(1));
            assertEquals(2, fessConfig.getAvailableSmbSidType(2));
            assertNull(fessConfig.getAvailableSmbSidType(3));
            assertNull(fessConfig.getAvailableSmbSidType(4));
            assertEquals(2, fessConfig.getAvailableSmbSidType(5));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
        assertNull("get(null) should return null", get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBigIntegerForEmptyString() throws Exception {
            assertNull(BigIntegerConversionUtil.toBigInteger(""));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 960 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheManualTest.java

        Object one = new Object();
        Object two = new Object();
    
        assertNull(cache.getIfPresent(one));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
        assertNull(cache.asMap().get(one));
        assertFalse(cache.asMap().containsKey(one));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      @CollectionSize.Require(ZERO)
      public void testEmptySetPollFirst() {
        assertNull(navigableSet.pollFirst());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetNearby() {
        assertNull(navigableSet.lower(e0()));
        assertNull(navigableSet.floor(e0()));
        assertNull(navigableSet.ceiling(e0()));
        assertNull(navigableSet.higher(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

    public class RenderDataUtilTest extends UnitFessTestCase {
    
        public void test_register() {
            RenderData data = new RenderData();
    
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
    
            RenderDataUtil.register(data, "key5", "");
            assertEquals(data.getDataMap().get("key5"), "");
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertFalse(testTable.containsValue(""));
      }
    
      public void testGet() {
        assertEquals("blah", testTable.get('a', 1));
        assertNull(testTable.get('a', 2));
        assertNull(testTable.get('A', 1));
        assertNull(testTable.get('A', 2));
      }
    
      public void testIsEmpty() {
        assertFalse(testTable.isEmpty());
      }
    
      public void testSize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class DefaultProblemCollectorTest {
    
        @Test
        void testGetProblems() {
            DefaultProblemCollector collector = new DefaultProblemCollector(null);
            assertNotNull(collector.getProblems());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top