Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 833 for fails (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * pipeline is done (other than those captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} fails with an exception of the given type, the derived {@code
       * ClosingFuture} will be equivalent to the one returned by the function.
       *
       * <p>If this {@code ClosingFuture} succeeds or fails with a different exception type, the
       * function will not be called, and the derived {@code ClosingFuture} will be equivalent to this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

      @Override
      protected Collection<Integer> getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return Lists.newArrayList(0);
      }
    
      /**
       * The version of this test supplied by {@link MapInterfaceTest} fails for this particular Map
       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/HashMultimapTest.java

      }
    
      public void testCreateFromIllegalSizes() {
        try {
          HashMultimap.create(-20, 15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HashMultimap.create(20, -15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEmptyMultimapsEqual() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. cni/pkg/log/uds_test.go

    	log.Debug("debug log")
    	log.Info("info log")
    	log.Warn("warn log")
    	log.Error("error log")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = log.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, log.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

      }
    
      public void testCreateFromIllegalSizes() {
        try {
          HashMultimap.create(-20, 15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HashMultimap.create(20, -15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEmptyMultimapsEqual() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Dns.kt

     * Implementations of this interface must be safe for concurrent use.
     */
    fun interface Dns {
      /**
       * Returns the IP addresses of `hostname`, in the order they will be attempted by OkHttp. If a
       * connection to an address fails, OkHttp will retry the connection with the next address until
       * either a connection is made, the set of IP addresses is exhausted, or a limit is exceeded.
       */
      @Throws(UnknownHostException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        try {
          getList().set(-1, e3());
          fail("set(-1) should throw IndexOutOfBoundsException");
        } catch (IndexOutOfBoundsException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_indexTooHigh() {
        int index = getNumElements();
        try {
          getList().set(index, e3());
          fail("set(size) should throw IndexOutOfBoundsException");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

      /**
       * Invoked as soon as a call causes a connection to be started.
       */
      open fun connectStart(
        route: Route,
        call: Call,
      ) {}
    
      /**
       * Invoked when a connection fails to be established.
       */
      open fun connectFailed(
        route: Route,
        call: Call,
        failure: IOException,
      ) {}
    
      /**
       * Invoked as soon as a connection is successfully established.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/object-api-putobject_test.go

    			t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but passed instead.", i, instanceType, testCase.expectedError.Error())
    			continue
    		}
    		// Failed as expected, but does it fail for the expected reason.
    		if actualErr != nil && actualErr != testCase.expectedError {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. internal/event/target/postgresql_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top