Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for intentional (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0));
      }
    
      @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing.
      public void testLenientFormat() {
        assertEquals("%s", Strings.lenientFormat("%s"));
        assertEquals("5", Strings.lenientFormat("%s", 5));
        assertEquals("foo [5]", Strings.lenientFormat("foo", 5));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12)));
        assertEquals(Range.atLeast(4), range.span(Range.atLeast(10)));
      }
    
      @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method
      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntsTest extends TestCase {
      private static final int[] EMPTY = {};
      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  5. android/pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @NullMarked
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @NullMarked
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12)));
        assertEquals(Range.atLeast(4), range.span(Range.atLeast(10)));
      }
    
      @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method
      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntsTest extends TestCase {
      private static final int[] EMPTY = {};
      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
Back to top