Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 200 for assertAll (0.11 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K 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. 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)
  5. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

            assertEquals(0, ShortConversionUtil.toPrimitiveShort(""));
        }
    
        /**
         * @throws Exception
         */
        public void testToShortForEmptyString() throws Exception {
            assertNull(ShortConversionUtil.toShort(""));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        try {
          assertNull(
              "remove(null) should return null or throw NullPointerException", getMap().remove(null));
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES})
      public void testRemove_nullSupportedMissing() {
        assertNull("remove(null) should return null", getMap().remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertNull(table.get("foo", 2));
        assertNull(table.get("bar", 3));
        assertNull(table.get("cat", 1));
        assertNull(table.get("foo", null));
        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertNull(table.get("foo", 2));
        assertNull(table.get("bar", 3));
        assertNull(table.get("cat", 1));
        assertNull(table.get("foo", null));
        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Verifies scope of root project is preserved regardless of parent dependency management.
     *
     * @see <a href="https://issues.apache.org/jira/browse/MNG-2919">MNG-2919</a>
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

        @Test
        public void resolveRootNotExist () throws CIFSException, URISyntaxException {
            DfsReferralData ref = doResolve("\\doesnotexist\\", null, false);
            assertNull(ref);
    
            ref = doResolve("\\deep\\doesnotexist\\", null, false);
            assertNull(ref);
        }
    
    
        @Test
        public void resolveNonDfs () throws CIFSException {
            CIFSContext context = getContext();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
Back to top