Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 226 for fail (0.13 sec)

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

            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
        try {
          Doubles.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Doubles.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

          fail();
        } catch (NullPointerException e) {
          // success
        }
        try {
          builder.put(Tables.immutableCell('a', (Integer) null, "foo"));
          fail();
        } catch (NullPointerException e) {
          // success
        }
        try {
          builder.put(Tables.immutableCell('a', 1, (String) null));
          fail();
        } catch (NullPointerException e) {
          // success
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
        assertEquals("www.foo.com", domain.child("www").toString());
    
        try {
          domain.child("www.");
          fail("www..google.com should have been invalid");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. maven-core/src/site/apt/offline-mode.apt

      altogether obvious:
    
      * Localhost may be unavailable. Therefore, even locally installed
        server processes which work by conversing over a port may fail.
    
      * Not all "remote" repositories will fail. Specifically, if the remote
        repo uses the file:// protocol, and it doesn't refer to a shared
        filesystem, it will continue to be available.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. 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)
  7. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // the list which it supports. If none of the versions specified in this list
      // supported by API server, validation will fail for this object.
      // If a persisted webhook configuration specifies allowed versions and does not
      // include any versions known to the API Server, calls to the webhook will fail
      // and be subject to the failure policy.
      // Default to `['v1beta1']`.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          MinMaxPriorityQueue.isEvenLevel((1 << 31) - 1);
          fail("Should overflow");
        } catch (IllegalStateException expected) {
        }
        try {
          MinMaxPriorityQueue.isEvenLevel(Integer.MAX_VALUE);
          fail("Should overflow");
        } catch (IllegalStateException expected) {
        }
        try {
          MinMaxPriorityQueue.isEvenLevel(1 << 31);
          fail("Should be negative");
        } catch (IllegalStateException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. 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)
  10. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top