Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 6,827 for Result (0.1 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactResolveResultTest.groovy

            result.failure == null
            result.hasResult()
        }
    
        def "can have missing result"() {
            when:
            result.notFound(artifactId)
    
            then:
            result.failure instanceof ArtifactNotFoundException
            result.hasResult()
    
            when:
            result.result
    
            then:
            def e = thrown(ArtifactNotFoundException)
            result.failure == e
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

        def "can change the destination for test results and reports with #dsl dsl"() {
            given:
            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            def result = fails("test")
    
            then: "the test task is executed"
            result.assertTaskExecuted(":test")
    
            and: "the test results are in the custom directory"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentIdentifierSerializerTest.groovy

            when:
            def result = serialize(identifier, serializer)
    
            then:
            result.identityPath == identifier.identityPath
            result.projectPath == identifier.projectPath
            result.buildTreePath == identifier.buildTreePath
            result.projectPath() == identifier.projectPath()
            result.projectName == identifier.projectName
        }
    
        def "serializes root build ProjectComponentIdentifier"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMavenImmutableAttributesFactory.java

                result = concat(result, CATEGORY_ATTRIBUTE, new CoercingStringValueSnapshot(Category.DOCUMENTATION, objectInstantiator));
                result = concat(result, Bundling.BUNDLING_ATTRIBUTE, objectInstantiator.named(Bundling.class, Bundling.EXTERNAL));
                result = concat(result, DocsType.DOCS_TYPE_ATTRIBUTE, objectInstantiator.named(DocsType.class, DocsType.JAVADOC));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/FinalizeBuildCacheConfigurationBuildOperationIntegrationTest.groovy

            succeeds("help")
    
            then:
            def result = result()
    
            result.enabled
            result.localEnabled
            !result.remoteEnabled
    
            result.local.className == 'org.gradle.caching.local.DirectoryBuildCache'
            result.local.config.location == cacheDir.absoluteFile.toString()
            result.local.config.removeUnusedEntriesAfter == "7 days"
            result.local.type == 'directory'
            result.local.push == true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

            def result = resource.withContentIfPresent(new ExternalResource.ContentAction<String>() {
                @Override
                String execute(InputStream input) throws IOException {
                    assert input.text == "1234"
                    return "result 1"
                }
            })
            result.result == "result 1"
            result.bytesRead == 4
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. clause/expression_test.go

    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    			clause.Expr{SQL: result.SQL, Vars: result.Vars}.Build(stmt)
    			if stmt.SQL.String() != result.Result {
    				t.Errorf("generated SQL is not equal, expects %v, but got %v", result.Result, stmt.SQL.String())
    			}
    		})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) {
            assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals()));
            assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
            assertEquals(warnings, result.getWarnings().size(), String.valueOf(result.getWarnings()));
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

                expr.isSafe()
            );
            result.setSpreadSafe(expr.isSpreadSafe());
            result.setStatic(expr.isStatic());
            result.setImplicitThis(expr.isImplicitThis());
            result.setType(expr.getType());
            result.setSourcePosition(expr);
            replaceVisitedExpressionWith(result);
        }
    
        @Override
        public void visitAttributeExpression(AttributeExpression expr) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestListenerIntegrationTest.groovy

                    void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [\$suite] [\$suite.name] [\$result.resultType] [\$result.testCount]" }
                    void beforeTest(TestDescriptor test) { println "START [\$test] [\$test.name]" }
                    void afterTest(TestDescriptor test, TestResult result) { println "FINISH [\$test] [\$test.name] [\$result.resultType] [\$result.testCount] [\$result.exception]" }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top