Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadEmptyString (0.06 sec)

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

    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
      public void testReadsStringsCorrectly() throws IOException {
        assertReadsCorrectly("abc");
        assertReadsCorrectly("abcde");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacLogonInfoTest.java

            String result = pacStream.readString();
            assertEquals(testString, result);
        }
    
        @Test
        @DisplayName("Test PacDataInputStream readString with empty string")
        void testReadEmptyString() throws Exception {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write an empty string structure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top