Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,182 for _fail (0.18 sec)

  1. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Bytes.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Bytes.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
        }
    
        private void handleChecksumFailure(String checksumPolicy, String message, Throwable cause)
                throws ChecksumFailedException {
            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) {
                throw new ChecksumFailedException(message, cause);
            } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Shorts.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Shorts.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Ints.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Ints.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/FloatsTest.java

            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
        try {
          Floats.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Floats.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Ints.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Ints.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Shorts.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Shorts.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Chars.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Chars.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top