Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for testObj (0.67 sec)

  1. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerTest.groovy

            DefaultSerializer serializer = new DefaultSerializer(classLoader)
    
            Class cl = classLoader.parseClass('package org.gradle.cache; class TestObj implements Serializable { }')
            Object o = cl.newInstance(new Object[0])
    
            when:
            def r = serialize(o, serializer)
    
            then:
            cl.isInstance(r)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

                    edge('org:testA:1.0', 'org:testB:1.0')
                        .byConflictResolution("On capability org.test:cap we like testB better")
                    module('org:testB:1.0')
                }
            }
    
            where:
            rule << [
                "select(candidates.find { it.id.module == 'testB'})",
                "select('org:testB:1.0')",
                "select('org:testB:1.1')", // we are lenient wrt to the version number
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/warm-backend-s3.go

    		object = params[0]
    	}
    
    	return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    }
    
    func (s3 *warmBackendS3) getDest(object string) string {
    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/warm-backend-gcs.go

    	client       *storage.Client
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (gcs *warmBackendGCS) getDest(object string) string {
    	destObj := object
    	if gcs.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    	}
    	return destObj
    }
    
    // FIXME: add support for remote version ID in GCS remote tier and remove this.
    // Currently it's a no-op.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. cmd/warm-backend-azure.go

    	serviceURL   azblob.ServiceURL
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (az *warmBackendAzure) getDest(object string) string {
    	destObj := object
    	if az.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", az.Prefix, object)
    	}
    	return destObj
    }
    
    func (az *warmBackendAzure) tier() azblob.AccessTierType {
    	for _, t := range azblob.PossibleAccessTierTypeValues() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 05 16:44:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/AdHocCompositeDependencySubstitutionCrossVersionSpec.groovy

            buildA = singleProjectBuildInRootFolder("buildA") {
                buildFile << """
                    apply plugin: 'java'
                    dependencies {
                        ${testImplementationConfiguration} "org.test:b1:1.0"
                    }
                """
            }
    
            buildB = multiProjectBuildInSubFolder("buildB", ['b1', 'b2']) {
                buildFile << """
                    allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy

            buildA = singleProjectBuildInRootFolder("buildA") {
                buildFile << """
                    apply plugin: 'java-library'
                    dependencies {
                        testImplementation "org.test:b1:1.0"
                    }
                """
                settingsFile << """
                    includeBuild 'buildB'
                    includeBuild 'buildC'
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestFailure.java

     * @since 7.6
     */
    @Incubating
    public abstract class TestFailure {
    
        /**
         * Returns the list of causes.
         * <p>
         * The result is typically non-empty for multi-assertion failures, e.g. for {@code org.test4j.MultipleFailuresError}, where the individual failures are in the returned list.
         *
         * @return the cause failures.
         */
        public abstract List<TestFailure> getCauses();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            buildA = singleProjectBuildInRootFolder("buildA") {
                buildFile << """
                    apply plugin: 'java'
                    dependencies {
                        ${testImplementationConfiguration} "org.test:b1:1.0"
                    }
                """
                settingsFile << """
                    includeBuild 'buildB'
                    includeBuild 'buildC'
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestConfigurationsWithProjectDependenciesIntegrationTest.groovy

                dependencies {
                    implementation(project(':b'))
                    atestImplementation(project(':b')) {
                        capabilities {
                            requireCapability('test:b-feature')
                        }
                    }
                }
            """
    
            file('b/build.gradle') << """
                sourceSets {
                    functionalTest
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top