Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,270 for expectEq (0.19 sec)

  1. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

    /**
     * Testing utilities for {@link UrlEscapers} and {@link LegacyUrlEscapersTest}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/expiration_test.go

    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var expiration Expiration
    			err := xml.Unmarshal([]byte(tc.inputXML), &expiration)
    			if err != tc.expectedErr {
    				t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err)
    			}
    		})
    	}
    
    	validationTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with a valid ISO 8601 date
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. cmd/typed-errors.go

    var errDataTooLarge = errors.New("Object size larger than allowed limit")
    
    // When upload object size is less than what was expected.
    var errDataTooSmall = errors.New("Object size smaller than expected")
    
    // errServerNotInitialized - server not initialized.
    var errServerNotInitialized = errors.New("Server not initialized, please try again")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
        assertThat(Doubles.tryParse(input)).isEqualTo(expected);
        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Predicate.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use a reference of this type (say, named {@code guavaPredicate}) in a context where {@code
     * java.util.function.Predicate} is expected, use the method reference {@code
     * guavaPredicate::apply}. For the other direction, use {@code javaUtilPredicate::test}. A future
     * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/bucket/replication/delete-replication.sh

    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt
    
    out=$(diff -qpruN /tmp/myminio1.txt /tmp/myminio2.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after replication: $out"
    	exit 1
    fi
    
    ./mc rm myminio1/testbucket/dir/file
    sleep 1s
    
    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. cmd/handler-utils.go

    			desc = fmt.Sprintf("Server expects client requests with 'admin' API version '%s', found '%s', please upgrade the client to latest releases", madmin.AdminAPIVersion, version)
    		case madmin.AdminAPIVersion:
    			desc = fmt.Sprintf("This 'admin' API is not supported by server in '%s'", getMinioMode())
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
        assertEquals(emptyList(), list);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
          list.set(0, "5");
          fail("transformed list is setable");
        } catch (UnsupportedOperationException expected) {
        }
        list.clear();
        assertEquals(emptyList(), list);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    		return "", err
    	}
    	if meta.Version != formatMetaVersionV1 {
    		return "", fmt.Errorf(`format.Version expected: %s, got: %s`, formatMetaVersionV1, meta.Version)
    	}
    	if meta.Format != formatBackendErasure && meta.Format != formatBackendErasureSingle {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top