Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 234 for Satisfied (0.13 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/UnitTestPreconditions.groovy

    import static org.gradle.test.precondition.TestPrecondition.satisfied;
    import static org.gradle.test.precondition.TestPrecondition.notSatisfied;
    
    @CompileStatic
    class UnitTestPreconditions {
    
        static final class Symlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return satisfied(MacOs) || satisfied(Linux)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

            "cacheIf('cache-if reason') { false }"            | CACHE_IF_SPEC_NOT_SATISFIED    | "'cache-if reason' not satisfied"
            "doNotCacheIf('do-not-cache-if reason') { true }" | DO_NOT_CACHE_IF_SPEC_SATISFIED | "'do-not-cache-if reason' satisfied"
        }
    
        def "cacheability for a #taskType task can be enabled via #condition"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
      private final Method method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top