Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for checkMap (0.16 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                    checkModel(actualItem, expectedItem, specs)
                }
                return
            }
    
            if (expected instanceof Map) {
                assert actual instanceof Map
                checkMap(actual, expected) { actualItem, expectedItem ->
                    checkModel(actualItem, expectedItem, specs)
                }
                return
            }
    
            for (def spec in specs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/cover/testdata/test.go

    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 2 {
    			check(LINE, 3)
    		}
    		if checkVal(LINE, 3, i) <= 1 {
    			check(LINE, 2)
    		}
    		if checkVal(LINE, 3, i) <= 0 {
    			check(LINE, 1)
    		}
    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 1 {
    			check(LINE, 2)
    		} else {
    			check(LINE, 1)
    		}
    	}
    	for i := 0; i < 3; i++ {
    		if checkVal(LINE, 3, i) <= 0 {
    			check(LINE, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. src/internal/trace/batchcursor_test.go

    	"slices"
    )
    
    func TestHeap(t *testing.T) {
    	var heap []*batchCursor
    
    	// Insert a bunch of values into the heap.
    	checkHeap(t, heap)
    	heap = heapInsert(heap, makeBatchCursor(5))
    	checkHeap(t, heap)
    	for i := int64(-20); i < 20; i++ {
    		heap = heapInsert(heap, makeBatchCursor(i))
    		checkHeap(t, heap)
    	}
    
    	// Update an element in the middle to be the new minimum.
    	for i := range heap {
    		if heap[i].ev.time == 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDependencyResolveIntegrationTest.groovy

                }
                'org.gradle:other:preview-1' {
                    expectGetMetadata()
                    expectGetArtifact()
                }
            }
    
            expect:
            succeeds "checkDep"
            resolve.expectGraph {
                root(':', 'org.gradle:testproject:1.0') {
                    module("org.gradle:test:1.45") {
                        module("org.gradle:other:preview-1")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/compatibility/ArtifactAndClassifierCompatibilityIntegrationTest.groovy

                    expectResolve()
                }
                'org:bar:1.0' {
                    expectGetMetadata()
                    expectGetArtifact(classifier: 'classy')
                }
            }
            succeeds "checkDep"
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module("org:foo:1.0") {
                        module("org:bar:1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy

            runtime 'org.test:m2:1.0'
            master 'org.test:m3:1.0'
            other 'org.test.ignore-me:1.0'
            "default" 'org.test:dont-ignore-me:1.0'
        }
    }
    """
            expect:
            succeeds 'child1:checkDep'
            resolve.expectGraph {
                root(':child1', 'testproject:child1:') {
                    module('org.test:maven:1.0') {
                        edge('org.test:replaced:1.0', ':child2', 'testproject:child2:') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/cmd/cover/testdata/main.go

    func check(line, count uint32) {
    	b := block{
    		count,
    		line,
    	}
    	counters[b] = true
    }
    
    // checkVal is a version of check that returns its extra argument,
    // so it can be used in conditionals.
    func checkVal(line, count uint32, val int) int {
    	b := block{
    		count,
    		line,
    	}
    	counters[b] = true
    	return val
    }
    
    var PASS = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenRealProjectsDependencyResolveIntegrationTest.groovy

    dependencies {
        compile "commons-collections:commons-collections:3.0"
        compile "ch.qos.logback:logback-classic:0.9.30"
        compile "org.hibernate:hibernate-core:3.6.7.Final"
    }
    """
    
            expect:
            succeeds "checkDep"
            resolve.expectDefaultConfiguration('runtime')
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('ch.qos.logback:logback-classic:0.9.30') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BomSupportPluginsSmokeTest.groovy

                }
            """
            def resolve = new ResolveTestFixture(new TestFile(buildFile), 'testCompileClasspath')
            resolve.prepare()
    
            when:
            def runner = runner('checkDep')
            if (bomSupportProvider == "spring dependency management plugin") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top