Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for hasDetailsOfType (0.33 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecatedUsageBuildOperationProgressIntegrationTest.groovy

            executer.noDeprecationChecks()
            succeeds 't', 't2', '-I', 'init.gradle'
    
            then:
            def initDeprecation = operations.only("Apply initialization script 'init.gradle' to build").progress.find { it.hasDetailsOfType(DeprecatedUsageProgressDetails) }.each {}
            Map<String, Object> initDeprecationDetails = initDeprecation.details['deprecation'] as Map<String, Object>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/configuration/ExecuteDomainObjectCollectionCallbackBuildOperationTypeIntegrationTest.groovy

            def callbackPluginApplicationId = ops.only(ApplyPluginBuildOperationType, { it.details.pluginClass == 'CallbackPlugin' }).details.applicationId
            creatingBuildOpParent.children.findAll {
                it.hasDetailsOfType(ExecuteDomainObjectCollectionCallbackBuildOperationType.Details) && it.details.applicationId == callbackPluginApplicationId
            }.size == 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationRecord.java

            }
    
            if (!children.isEmpty()) {
                map.put("children", transform(children, BuildOperationRecord::toSerializable));
            }
    
            return map;
        }
    
        public boolean hasDetailsOfType(Class<?> clazz) throws ClassNotFoundException {
            Class<?> detailsType = getDetailsType();
            return detailsType != null && clazz.isAssignableFrom(detailsType);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 03:56:13 UTC 2022
    - 6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

            def jarTaskDoLastOperation = operations.only("Execute doLast {} action for :jar")
            operations.parentsOf(jarTaskDoLastOperation).find {
                it.hasDetailsOfType(ExecuteTaskBuildOperationType.Details) && it.details.taskPath == ":jar"
            }
            def jarProgress = jarTaskDoLastOperation.progress
            jarProgress.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            assert op.children.findAll { it.hasDetailsOfType(ExecuteListenerBuildOperationType.Details) }.size() == expectedChildren
        }
    
        private static List<BuildOperationRecord> verifyHasChildren(BuildOperationRecord op, long expectedApplicationId, String sourceName, List<ExpectedOperation> expectedOps) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy

                if (progressPredicate.isSatisfiedBy(op)) {
                    op.progress.each { p ->
                        def repr = p.hasDetailsOfType(StyledTextOutputEvent) ? p.details.spans*.text.join('') : "$p.detailsType.simpleName ${p.details?.toString() ?: ''}\n"
                        print "${'  ' * (level + 1)} $repr"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheOperationFixtures.groovy

            def parent = getExecutionBuildOperationRecordForTask(taskPath)
            return parent == null ? [] : buildOperations.search(parent) { it.hasDetailsOfType(details) }
        }
    
        private BuildOperationRecord getOnlyOperationForTask(String taskPath, Class<?> details) {
            def ops = getOperationsForTask(taskPath, details)
            assert ops.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

        }
    
        private List<BuildOperationRecord> compileJavaStoreOperations() {
            buildOperations.all(BuildCacheRemoteStoreBuildOperationType) {
                buildOperations.parentsOf(it).any {
                    it.hasDetailsOfType(ExecuteTaskBuildOperationType.Details) && it.details.taskPath == ":compileJava"
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top