Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for TestJoin (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

              }
            };
    
        assertThat(FluentIterable.from(iterable).copyInto(list))
            .containsExactly(1, 2, 3, 9, 8, 7)
            .inOrder();
      }
    
      public void testJoin() {
        assertEquals("2,1,3,4", fluent(2, 1, 3, 4).join(Joiner.on(",")));
      }
    
      public void testJoin_empty() {
        assertEquals("", fluent().join(Joiner.on(",")));
      }
    
      public void testGet() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Shorts.join(",", EMPTY)).isEmpty();
        assertThat(Shorts.join(",", ARRAY1)).isEqualTo("1");
        assertThat(Shorts.join(",", (short) 1, (short) 2)).isEqualTo("1,2");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top