Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestIsEmpty (0.13 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

              @Override
              public OutputStream openStream() throws IOException {
                return out;
              }
            });
        assertExpectedBytes(out.toByteArray());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.length == 0, source.isEmpty());
      }
    
      public void testSize() throws IOException {
        assertEquals(expected.length, source.size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTester.java

          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
      public void testLength() throws IOException {
        assertEquals(expected.length(), source.length());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        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());
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertFalse(table.isEmpty());
      }
    
      public void testSize() {
        assertSize(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 16:54:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.size(), is(1));
            list.removeFirst();
            assertThat(list.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(list.isEmpty(), is(true));
            list.addLast("1");
            assertThat(list.isEmpty(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top