Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasAncestor (0.18 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/BuildProgressCrossVersionSpec.groovy

            compileClasspath.hasAncestor compileJava
    
            def testCompileClasspath = events.operation("Resolve dependencies :testCompileClasspath", "Resolve dependencies of :testCompileClasspath")
            testCompileClasspath.hasAncestor compileTestJava
    
            def testRuntimeClasspath = events.operation(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

            }
    
            boolean hasAncestor(Operation ancestor) {
                return hasAncestor({ it == ancestor })
            }
    
            boolean hasAncestor(Predicate<? super Operation> predicate) {
                return parent == null
                    ? false
                    : (predicate.test(parent) || parent.hasAncestor(predicate))
            }
        }
    
        static class OperationStatus {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy

            def compileJavaActions = events.operations.findAll { it.descriptor.displayName.matches('Execute .*( action [0-9]+/[0-9]+)? for :compileJava') }
            compileJavaActions.size() > 0
            compileJavaActions[0].hasAncestor { it.descriptor.displayName == 'Task :compileJava' }
        }
    
        @TargetGradleVersion('>=3.5 <5.1')
        def "generates events for worker actions (pre 5.1)"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

    while(context.ancestors.length){context=context.pop();if(this.subExpression.evaluate(context))return true;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top