Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for BuildOperationRecord (0.28 sec)

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

        abstract <T extends BuildOperationType<?, ?>> boolean isType(BuildOperationRecord record, Class<T> type)
    
        abstract <T extends BuildOperationType<?, ?>> List<BuildOperationRecord> all(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll())
    
        @SuppressWarnings("GrUnnecessaryPublicModifier")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationsFixture.groovy

        public <T extends BuildOperationType<?, ?>> BuildOperationRecord root(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll()) {
            return getTree().root(type, predicate)
        }
    
        @Override
        @SuppressWarnings("GrUnnecessaryPublicModifier")
        public <T extends BuildOperationType<?, ?>> BuildOperationRecord first(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy

            this.operations = operations
        }
    
        @Override
        List<BuildOperationRecord> getRoots() {
            operations.roots
        }
    
        @Override
        @SuppressWarnings("GrUnnecessaryPublicModifier")
        public <T extends BuildOperationType<?, ?>> BuildOperationRecord root(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll()) {
            def detailsType = BuildOperationTypes.detailsType(type)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheOperationFixtures.groovy

        }
    
        BuildOperationRecord getOnlyPackOperationForTask(String taskPath) {
            return getOnlyOperationForTask(taskPath, BuildCacheArchivePackBuildOperationType.Details)
        }
    
        List<BuildOperationRecord> getLocalLoadOperationsForTask(String taskPath) {
            return getOperationsForTask(taskPath, BuildCacheLocalLoadBuildOperationType.Details)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainBuildOperationsFixture.groovy

                architecture: jdkMetadata.architecture,
            ]
        }
    
        static List<BuildOperationRecord.Progress> filterByJavaVersion(List<BuildOperationRecord.Progress> events, JvmInstallationMetadata jdkMetadata) {
            events.findAll { it.details.toolchain.javaVersion == jdkMetadata.javaVersion }
        }
    
        List<BuildOperationRecord.Progress> toolchainEvents(String taskPath) {
            ensureInitialized()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

        }
    
        private static Spec<? super BuildOperationRecord> not(Spec<? super BuildOperationRecord> predicate) {
            return { !predicate.isSatisfiedBy(it) }
        }
    
        private <T extends BuildOperationType<?, ?>> BuildOperationRecord verifyTaskDetails(Map<String, ?> expectedDetails, Class<T> type, Spec<? super BuildOperationRecord> spec) {
            def ops = buildOperations.all(type, spec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

            List<BuildOperationRecord> partialTree = readLogToTreeRoots(logFile, false);
            return new BuildOperationTree(partialTree);
        }
    
        private static List<BuildOperationRecord> readLogToTreeRoots(final File logFile, boolean completeTree) {
            try {
                final JsonSlurper slurper = new JsonSlurper();
    
                final List<BuildOperationRecord> roots = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheBuildOperationsFixture.groovy

            assertThat(loadOperation(), nullValue())
            assertThat(storeOperation(), nullValue())
        }
    
        private BuildOperationRecord loadOperation() {
            operations.firstMatchingRegex("Load (configuration cache|instant execution) state")
        }
    
        private BuildOperationRecord storeOperation() {
            operations.firstMatchingRegex("Store (configuration cache|instant execution) state.*")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            findOpApplicationId(ApplyPluginBuildOperationType, Specs.intersect(predicates))
        }
    
        private static Spec<? super BuildOperationRecord> targetsGradle() {
            { s -> s.details.targetType == 'gradle' } as Spec<? super BuildOperationRecord>
        }
    
        private static Spec<? super BuildOperationRecord> targetsSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            tasks.eachWithIndex { taskName, index ->
                def operation = taskOperations[taskName] as BuildOperationRecord
                assert operation["progress"].find { BuildOperationRecord.Progress progress ->
                    "org.gradle.api.problems.internal.DefaultProblemProgressDetails" == progress.detailsClassName
                }.any { BuildOperationRecord.Progress progress ->
                    def problem = progress.details["problem"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top