Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,270 for expectEq (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

    public interface ModelLocator {
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
         * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
         * the project directory will not be considered when locating the POM file. The return value will be an absolute
         * path if the project directory is given as an absolute path.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          String fieldName = property.name();
          String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
          assertEquals(expected, property.key());
        }
      }
    
      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 10 08:40:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicate.java

     * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a
     * {@code com.google.common.base.Predicate} is expected, use the method reference {@code
     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. cmd/handler-utils_test.go

    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    		_, actualCode := parseLocationConstraint(testCase.request)
    		if testCase.expectedCode != actualCode {
    			t.Errorf("Test %d: Expected the APIErrCode to be %d, but instead found %d", i+1, testCase.expectedCode, actualCode)
    		}
    	}
    }
    
    // Tests validate metadata extraction from http headers.
    func TestExtractMetadataHeaders(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/postpolicyform_test.go

    		t.Run("", func(t *testing.T) {
    			_, err := parsePostPolicyForm(strings.NewReader(testCase.policy))
    			if testCase.success && err != nil {
    				t.Errorf("Expected success but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Errorf("Expected failed but succeeded")
    			}
    		})
    	}
    }
    
    // Test Post Policy parsing and checking conditions
    func TestPostPolicyForm(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    	{"[X0-x]", "register list: bad high register in `[X0-x`"},
    	{"[X0-X1-X2]", "register list: expected ']' after `[X0-X1`, found '-'"},
    	{"[X0,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"[X0,X1,X2,X3]", "register list: expected '-' after `[X0`, found ','"},
    	{"$foo<ABI0>", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    }
    
    var amd64BadOperandRuntimeTests = []badOperandTest{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ExecutionError.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		}
    	})
    }
    
    func TestSplitUSTARPath(t *testing.T) {
    	sr := strings.Repeat
    
    	vectors := []struct {
    		input  string // Input path
    		prefix string // Expected output prefix
    		suffix string // Expected output suffix
    		ok     bool   // Split success?
    	}{
    		{"", "", "", false},
    		{"abc", "", "", false},
    		{"用戶名", "", "", false},
    		{sr("a", nameSize), "", "", false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. internal/config/errors.go

    	)
    
    	ErrMissingEnvCredentialRootPassword = newErrFn(
    		"Missing credential environment variable, \""+EnvRootPassword+"\"",
    		"Environment variable \""+EnvRootPassword+"\" is missing",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 16:57:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top