Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for checkable (0.2 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable([])
        }
    
        def "can removeAll elements"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy

                add 'foo'
                add 'bar'
                add 'baz'
                remove(1)
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['foo', 'baz'])
        }
    
        def "can add using index"() {
            when:
            mutate {
                add 'foo'
                add(0, 'bar')
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/SetModelProjectionTest.groovy

        @Managed
        static interface Internal {
            Set<String> getItems()
        }
    
        @Override
        Class<?> holderType() {
            Internal
        }
    
        @Override
        Set<String> checkable(List<String> list) {
            new LinkedHashSet<String>(list)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/api/CheckableComponentSpec.java

     * limitations under the License.
     */
    
    package org.gradle.api;
    
    import org.gradle.platform.base.ComponentSpec;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@link ComponentSpec} that is directly checkable via a specified task.
     */
    @Incubating
    public interface CheckableComponentSpec extends ComponentSpec {
    
        /**
         * Returns the task responsible for checking this component.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. test/checkbce.go

    // errorcheck -0 -d=ssa/check_bce/debug=3
    
    //go:build amd64 && !gcflags_noopt
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that the compiler does bounds check elimination as expected.
    // This avoids accidental regressions.
    
    package main
    
    import "encoding/binary"
    
    func f0(a []int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/organizing_tasks.adoc

    My CI build tasks
    -----------------
    checkAll - Runs checks for all projects (CI)
    
    My global build tasks
    ---------------------
    qualityCheckApp - Runs checks on app (globally)
    ----
    
    If we run the `:checkAll` task, we see that it compiles all the code and runs the code quality checks (including `spotbug`):
    
    [source,text]
    ----
    $ ./gradlew :checkAll
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 23:21:15 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    			return
    		}
    	})
    }
    
    -- check_file/main.go --
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    )
    
    func checkFile(name, expected string) (bool, error) {
    	data, err := os.ReadFile(name)
    	if err != nil {
    		return false, err
    	}
    	for _, line := range bytes.Split(data, []byte("\n")) {
    		m := valRe.FindSubmatch(line)
    		if m == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/kotlin/build.gradle.kts

    defaultTasks("run")
    
    // tag::run[]
    tasks.register("run") {
        dependsOn(gradle.includedBuild("my-app").task(":app:run"))
    }
    // end::run[]
    
    tasks.register("checkAll") {
        dependsOn(gradle.includedBuild("my-app").task(":app:check"))
        dependsOn(gradle.includedBuild("my-utils").task(":number-utils:check"))
        dependsOn(gradle.includedBuild("my-utils").task(":string-utils:check"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 387 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/groovy/build.gradle

    defaultTasks 'run'
    
    // tag::run[]
    tasks.register('run') {
        dependsOn gradle.includedBuild('my-app').task(':app:run')
    }
    // end::run[]
    
    task checkAll {
        dependsOn gradle.includedBuild('my-app').task(':app:check')
        dependsOn gradle.includedBuild('my-utils').task(':number-utils:check')
        dependsOn gradle.includedBuild('my-utils').task(':string-utils:check')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 369 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func_test.go

    				if !checkVal(fv.Args[i], gv.Args[i]) {
    					return false
    				}
    			}
    		}
    		return valcor[fv] == gv && valcor[gv] == fv
    	}
    	blkcor := make(map[*Block]*Block)
    	var checkBlk func(fb, gb *Block) bool
    	checkBlk = func(fb, gb *Block) bool {
    		if blkcor[fb] == nil && blkcor[gb] == nil {
    			blkcor[fb] = gb
    			blkcor[gb] = fb
    			// ignore ids
    			if fb.Kind != gb.Kind {
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top