Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for testConcat (0.07 seconds)

  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";
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  2. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  3. 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});
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. 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});
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  6. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.constrainToRange(5.0, 2.0, 2.0)).isEqualTo(2.0);
        assertThrows(IllegalArgumentException.class, () -> Doubles.constrainToRange(1.0, 3.0, 2.0));
      }
    
      public void testConcat() {
        assertThat(Doubles.concat()).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.constrainToRange((int) 5, (int) 2, (int) 2)).isEqualTo((int) 2);
        assertThrows(
            IllegalArgumentException.class, () -> Ints.constrainToRange((int) 1, (int) 3, (int) 2));
      }
    
      public void testConcat() {
        assertThat(Ints.concat()).isEqualTo(EMPTY);
        assertThat(Ints.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Ints.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  10. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
Back to Top