Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testConcat (0.07 sec)

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

        TestCharSource okSource = new TestCharSource(STRING);
        assertThrows(IOException.class, () -> okSource.copyTo(new TestWriter(WRITE_THROWS)));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

        OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS);
        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 4)).isEqualTo(2);
        assertThat(Bytes.lastIndexOf(new byte[] {(byte) 2, (byte) 3, (byte) 2, (byte) 3}, (byte) 3))
            .isEqualTo(3);
      }
    
      public void testConcat() {
        assertThat(Bytes.concat()).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS);
        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.lastIndexOf(ARRAY234, (byte) 4)).isEqualTo(2);
        assertThat(Bytes.lastIndexOf(new byte[] {(byte) 2, (byte) 3, (byte) 2, (byte) 3}, (byte) 3))
            .isEqualTo(3);
      }
    
      public void testConcat() {
        assertThat(Bytes.concat()).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource okSource = new TestCharSource(STRING);
        assertThrows(IOException.class, () -> okSource.copyTo(new TestWriter(WRITE_THROWS)));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThrows(
            IllegalArgumentException.class, () -> Chars.constrainToRange((char) 1, (char) 3, (char) 2));
      }
    
      public void testConcat() {
        assertThat(Chars.concat()).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Doubles.constrainToRange((double) 1, (double) 3, (double) 2));
      }
    
      public void testConcat() {
        assertThat(Doubles.concat()).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.lastIndexOf(ARRAY_FALSE_TRUE, true)).isEqualTo(1);
        assertThat(Booleans.lastIndexOf(new boolean[] {false, true, true}, true)).isEqualTo(2);
      }
    
      public void testConcat() {
        assertThat(Booleans.concat()).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Floats.constrainToRange((float) 1, (float) 3, (float) 2));
      }
    
      public void testConcat() {
        assertThat(Floats.concat()).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top