Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 633 for composite_ (0.17 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestDescriptor.java

         *
         * @return The class name. May return null.
         */
        @Nullable
        @UsedByScanPlugin("test-retry")
        String getClassName();
    
        /**
         * Is this test a composite test?
         *
         * @return true if this test is a composite test.
         */
        boolean isComposite();
    
        /**
         * Returns the parent of this test, if any.
         *
         * @return The parent of this test. Null if this test has no parent.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/common/maplist.go

    // use as a composite key.
    func (ks *singleKeyStrategy) CompositeKeyFor(obj map[string]interface{}) (interface{}, bool) {
    	v, ok := obj[ks.key]
    	if !ok {
    		return nil, false
    	}
    
    	switch v.(type) {
    	case bool, float64, int64, string:
    		return v, true
    	default:
    		return nil, false // non-scalar
    	}
    }
    
    // multiKeyStrategy computes a composite key of all key values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 02:56:51 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy

            }
        }
    
        def expectTestPasses() {
            suiteDescriptor.id >> "suite"
            suiteDescriptor.parent >> null
            suiteDescriptor.composite >> true
    
            testDescriptor.id >> "test"
            testDescriptor.parent >> suiteDescriptor
            testDescriptor.composite >> false
            testDescriptor.className >> "class"
            testDescriptor.classDisplayName >> "class"
            testDescriptor.name >> "method"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            @Override
            public CompositeIdGenerator.CompositeId read(Decoder decoder) throws Exception {
                return new CompositeIdGenerator.CompositeId(decoder.readLong(), decoder.readLong());
            }
    
            @Override
            public void write(Encoder encoder, CompositeIdGenerator.CompositeId value) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultBuildableCompositeBuildContext.java

     * limitations under the License.
     */
    
    package org.gradle.composite.internal;
    
    import org.gradle.api.Action;
    import org.gradle.api.artifacts.DependencySubstitution;
    import org.gradle.api.artifacts.ModuleVersionIdentifier;
    import org.gradle.api.artifacts.component.ProjectComponentIdentifier;
    import org.gradle.api.internal.composite.CompositeBuildContext;
    import org.gradle.internal.Actions;
    import org.gradle.internal.Pair;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 22 06:47:51 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue8961.go

    // license that can be found in the LICENSE file.
    
    // Issue 8961. Empty composite literals to small globals were not filled in
    package main
    
    type small struct { a int }
    var foo small
    
    func main() {
    	foo.a = 1
    	foo = small{}
    	if foo.a != 0 {
    		println("expected foo.a to be 0, was", foo.a)
    		panic("composite literal not filled in")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 454 bytes
    - Viewed (0)
  7. test/fixedbugs/bug300.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type T struct {
    	x, y *T
    }
    
    func main() {
    	// legal composite literals
    	_ = struct{}{}
    	_ = [42]int{}
    	_ = [...]int{}
    	_ = []int{}
    	_ = map[int]int{}
    	_ = T{}
    
    	// illegal composite literals: parentheses not allowed around literal type
    	_ = (struct{}){}    // ERROR "parenthesize"
    	_ = ([42]int){}     // ERROR "parenthesize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 697 bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildCommandLineArgsIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.integtests.composite
    
    import org.gradle.integtests.fixtures.build.BuildTestFile
    import org.gradle.integtests.fixtures.resolve.ResolveTestFixture
    import org.gradle.test.fixtures.maven.MavenModule
    
    /**
     * Tests for resolving dependency artifacts with substitution within a composite build.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 09 12:02:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  9. test/fixedbugs/issue18231.go

    // license that can be found in the LICENSE file.
    
    // Test that error message for composite literals with
    // missing type is at the right place.
    
    package p
    
    type T struct {
    	f map[string]string
    }
    
    var _ = T{
    	f: {                // ERROR "missing type in composite literal|may only omit types within"
    		"a": "b",
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:26:06 UTC 2020
    - 443 bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest.groovy

            assertJunit(rootTestOp, this.operations)
        }
    
        def "emits test operations as expected for composite builds"() {
            given:
            resources.maybeCopy('TestExecutionBuildOperationsIntegrationTest')
            settingsFile.text = """
                rootProject.name = "composite"
                includeBuild "emitsBuildOperationsForJUnitTests", { name = 'junit' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top