Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for testOf_empty (0.22 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, iterator::next);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, iterator::next);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testFromArray() {
        assertEquals(
            ImmutableList.of("1", "2", "3", "4"),
            Lists.newArrayList(FluentIterable.from(new Object[] {"1", "2", "3", "4"})));
      }
    
      public void testOf_empty() {
        assertEquals(ImmutableList.of(), Lists.newArrayList(FluentIterable.of()));
      }
    
      // Exhaustive tests are in IteratorsTest. These are copied from IterablesTest.
      public void testConcatIterable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

    import org.apache.groovy.util.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class FieldConfigsTest extends UnitFessTestCase {
        @Test
        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        @Test
        public void test_values() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            anotherUser.setName("another");
            FessUserBean anotherBean = new FessUserBean(anotherUser);
            assertSame(anotherUser, anotherBean.getFessUser());
        }
    
        @Test
        public void test_empty() {
            // Test empty user bean creation
            FessUserBean emptyBean = FessUserBean.empty();
            assertNotNull(emptyBean);
    
            // Test getUserId returns EMPTY_USER_ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top