Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Satisfied (0.17 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/TestPrecondition.java

        /**
         * Returns true if the precondition is satisfied.
         * @throws Exception if the precondition cannot be checked
         */
        boolean isSatisfied() throws Exception;
    
        /**
         * Utility method to check if a precondition class is satisfied.
         *
         * @param preconditionClass the class of the precondition to be checked
         * @return true if the precondition is satisfied
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/AbstractPmdPluginVersionIntegrationTest.groovy

                "java.sourceCompatibility = 1.8"
            } else if (versionNumber < VersionNumber.parse('6.4.0') && TestPrecondition.satisfied(UnitTestPreconditions.Jdk10OrLater)) {
                "java.sourceCompatibility = 9"
            } else if (versionNumber < VersionNumber.parse('6.6.0') && TestPrecondition.satisfied(UnitTestPreconditions.Jdk11OrLater)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/PluginTestPreconditions.groovy

            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("bash") != null
            }
        }
    
        static class DashAvailable implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return satisfied(UnitTestPreconditions.UnixDerivative) && locate("dash") != null
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. testing/precondition-tester/README.md

    # Gradle / precondition Tester
    
    This project collections information about where test preconditions can be satisfied.
    We can use this information (i.e. by looking at the test results in Develocity) to see if we have any preconditions or combinations of preconditions, which are never satisfied &ndash; a situation which we otherwise would hardly notice.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. testing/precondition-tester/src/test/groovy/org/gradle/test/precondition/PreconditionProbingTest.groovy

     * <p>
     * Each combination can have three outcomes:
     * <ul>
     *     <li><b>Successful:</b> the precondition combination could be satisfied.</li>
     *     <li>
     *         <b>Skipped:</b> the precondition combination could <i>not</i> be satisfied.
     *         This is normal, and simply signifies that the precondition is not satisfied on the current system
     *     </li>
     *     <li>
     *         <b>Failed:</b> there was an error while checking the combination.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java

                boolean satisfied = javaMethod.getRawReturnType().isAssignableTo(expectedReturnType);
                String message = createMessage(javaMethod, (satisfied ? "has " : "does not have ") + "raw return type assignable to " + expectedReturnType.getName());
                events.add(new SimpleConditionEvent(javaMethod, satisfied, message));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/os/error.go

    	if err == nil {
    		return nil
    	}
    	return &SyscallError{syscall, err}
    }
    
    // IsExist returns a boolean indicating whether the error is known to report
    // that a file or directory already exists. It is satisfied by [ErrExist] as
    // well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrExist).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // Returns true if the provided padding in the composite op can *not* be 
    // satisfied by SAME or VALID tensorflow padding.
    def HasCustomPadding:
      Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
    
    // Returns true if the provided padding in the composite op can be satisfied 
    // by SAME or VALID tensorflow padding.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/AlreadyOnClasspathPluginResolver.java

                        "the plugin is already on the classpath with an unknown version, so compatibility cannot be checked."
                );
            } else if (!existingVersion.equals(version)) {
                throw new InvalidPluginRequestException(
                    pluginRequest,
                    "The request for this plugin could not be satisfied because " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/api/plugins/JvmToolchainsPluginTest.groovy

        def "registers javaToolchains extension"() {
            expect:
            project.extensions.getByType(JavaToolchainService) == project.extensions.getByName("javaToolchains")
        }
    
        def "toolchain service dependencies are satisfied"() {
            expect:
            project.extensions.getByType(JavaToolchainService).launcherFor(Actions.doNothing()).get().executablePath.asFile.isFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top