Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 887 for evacuate (0.24 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ExpectingFailureRuleStatement.groovy

        ExpectingFailureRuleStatement(Statement next, String feature) {
            this.next = next
            this.feature = feature
        }
    
        @Override
        void evaluate() throws Throwable {
            try {
                next.evaluate()
                throw new ToBeFixedSpecInterceptor.UnexpectedSuccessException(feature)
            } catch (ToBeFixedSpecInterceptor.UnexpectedSuccessException ex) {
                throw ex
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/ports/ReleasingPortAllocatorTest.groovy

            Statement base = Mock(Statement)
            Description description = Mock(Description)
            def statement = portAllocator.apply(base, description)
    
            when:
            statement.evaluate()
    
            then:
            1 * base.evaluate() >> {
                portAllocator.assignPort()
                portAllocator.assignPort()
            }
            2 * delegate.assignPort()
    
            and:
            2 * delegate.releasePort(_)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 08 19:04:13 UTC 2015
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/configuration/project/ConfigureActionsProjectEvaluatorTest.groovy

        final def evaluator = new ConfigureActionsProjectEvaluator(action1, action2)
    
        def "executes all configuration actions"() {
            def project = Mock(ProjectInternal)
    
            when:
            evaluator.evaluate(project, state)
    
            then:
            1 * action1.execute(project)
            1 * action2.execute(project)
            0 * _._
        }
    
        def "does not continue executing actions when action fails"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 02:54:42 UTC 2013
    - 1.8K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/ReleasingPortAllocator.groovy

        }
    
        @Override
        Statement apply(Statement base, Description description) {
            return new Statement() {
                @Override
                void evaluate() throws Throwable {
                    base.evaluate()
                    for (int port : portsAllocated) {
                        delegate.releasePort(port)
                    }
                    portsAllocated.clear()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/ProjectEvaluationListener.java

         *
         * @param project The which is to be evaluated. Never null.
         */
        void beforeEvaluate(Project project);
    
        /**
         * <p>This method is called when a project has been evaluated, and before the evaluated project is made available to
         * other projects.</p>
         *
         * @param project The project which was evaluated. Never null.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. testing/architecture-test/src/test/java/org/gradle/architecture/test/FreezeInstructionsPrintingArchRule.java

        public ArchRule as(String newDescription) {
            return new FreezeInstructionsPrintingArchRule(delegate.as(newDescription));
        }
    
        @Override
        public EvaluationResult evaluate(JavaClasses classes) {
            try {
                return delegate.evaluate(classes);
            } catch (RuntimeException e) {
                if (e.getMessage().contains("freeze.store")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

                                << e5 << ") evaluates to false, where"
                                << "\n" << e1 << " evaluates to " << v1
                                << "\n" << e2 << " evaluates to " << v2
                                << "\n" << e3 << " evaluates to " << v3
                                << "\n" << e4 << " evaluates to " << v4
                                << "\n" << e5 << " evaluates to " << v5;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. testing/internal-testing/src/test/groovy/org/gradle/testing/internal/util/ExpectedFailureRule.java

                @Override
                public void evaluate() throws Throwable {
                    ExpectedFailure expectedFailureAnnotation = method.getAnnotation(ExpectedFailure.class);
                    boolean expectedToFail = expectedFailureAnnotation != null;
                    Throwable failed = null;
                    try {
                        base.evaluate();
                    } catch (Throwable t) {
                        failed = t;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                    }
                }
                return expression;
            }
    
            public Object evaluate(String expression) throws ExpressionEvaluationException {
                return evaluate(expression, null);
            }
    
            public File alignToBaseDirectory(File file) {
                if (translator != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/util/SetSystemProperties.java

            return new Statement() {
                @Override
                public void evaluate() throws Throwable {
                    validateCustomProperties();
                    System.getProperties().putAll(customProperties);
                    try {
                        base.evaluate();
                    } finally {
                        System.setProperties(properties);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top