Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for Simple (0.16 sec)

  1. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

    @ElementTypesAreNonnullByDefault
    public class ArrayBasedCharEscaperTest extends TestCase {
      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

       */
      public void testCharacterSimpleSplitToList() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToList(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testCharacterSimpleSplitToStream() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(ImmutableList.<Integer>of(), result);
      }
    
      public void testLeastOfIterable_simple_negativeOne() {
        try {
          numberOrdering.leastOf(Arrays.asList(3, 4, 5, -1), -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testLeastOfIterator_simple_negativeOne() {
        try {
          numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(ImmutableList.<Integer>of(), result);
      }
    
      public void testLeastOfIterable_simple_negativeOne() {
        try {
          numberOrdering.leastOf(Arrays.asList(3, 4, 5, -1), -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testLeastOfIterator_simple_negativeOne() {
        try {
          numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

    @ElementTypesAreNonnullByDefault
    public class ArrayBasedCharEscaperTest extends TestCase {
      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

    @ElementTypesAreNonnullByDefault
    public class ArrayBasedUnicodeEscaperTest extends TestCase {
      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
      private static final char[] NO_CHARS = new char[0];
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible(emulated = true)
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        Preconditions.checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
        try {
          Preconditions.checkArgument(false);
          fail("no exception thrown");
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      public void testStringSimpleSplit() {
        String simple = "a,b,c";
        Iterable<String> letters = Splitter.on(",").split(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testStringSimpleSplitWithNoDelimiter() {
        String simple = "a,b,c";
        Iterable<String> letters = Splitter.on(".").split(simple);
        assertThat(letters).containsExactly("a,b,c").inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
      /**
       * Indicates that a collection disallows certain elements (other than {@code null}, whose validity
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible(emulated = true)
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        Preconditions.checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
        try {
          Preconditions.checkArgument(false);
          fail("no exception thrown");
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top