Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for testObj (0.2 sec)

  1. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    	}
    }
    -- b/b.go --
    package b
    
    import (
    	"M/a"
    	"M/d"
    )
    
    func BFunc() int {
    	return -d.FortyTwo + a.AFunc()
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() == 1010101 {
    		t.Fatalf("bad!")
    	}
    }
    -- c/c.go --
    package c
    
    var G int
    
    func CFunc(x, y int) int {
    	G += x
    	G -= y
    	return x + y
    }
    -- c/c_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskDependencyIntegrationTest.groovy

        }
    """
            buildB.buildFile << """
        allprojects {
            apply plugin: 'java'
        }
    
        dependencies {
            implementation "org.test:b1:1.0"
        }
    """
    
            when:
            execute(buildA, ":delegate")
    
            then:
            executed ":buildB:b1:jar", ":buildB:jar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    func TestA(*testing.T) {}
    -- a/default.pgo --
    -- b/b.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- b/b_test.go --
    package main
    import "testing"
    import _ "test/testdep"
    func TestB(*testing.T) {}
    -- b/default.pgo --
    -- nopgo/nopgo.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- nopgo/nopgo_test.go --
    package main
    import "testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy

                }
            }.publish()
    
            when:
            buildFile << """
                dependencies {
                    implementation platform(project(":platform"))
                    implementation "org.test:b:1.9"
                }
            """
    
    
            moduleA.pom.expectGet()
            moduleA.moduleMetadata.expectGet()
            moduleA.artifact.expectGet()
    
            then:
            succeeds ":compileJava"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fail_fast.txt

    import "testing"
    
    func TestA(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestFailingA(t *testing.T) {
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestB(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyMultiprojectIntegrationTest.groovy

            repo.expectListVersions()
            assertResolvesTo("foo-1.0.jar")
        }
    
        @ToBeFixedForConfigurationCache
        def "can resolve root of multi-project source dependency"() {
            mappingFor(repo, "org.test:B")
            buildFile << """
                dependencies {
                    conf 'org.test:B:latest.integration'
                }
            """
            expect:
            repo.expectListVersions()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeatureCompilationIntegrationTest.groovy

                apply plugin: 'java-library'
    
                dependencies {
                    implementation(project(":b")) {
                        capabilities {
                            requireCapability("org.gradle.test:b-my-feature")
                        }
                    }
                }
    
                task verifyClasspath {
                    dependsOn(configurations.compileClasspath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedArtifactOrderingIntegrationTest.groovy

                }
                project(":a") {
                    dependencies {
                        common files("a-lib.jar")
                        common project(":b")
                        common "org.test:B:1.0"
                    }
                }
                project(":b") {
                    dependencies {
                        common project(":c")
                        common files("b-lib.jar")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerIntegrationTest.groovy

        }
    
        void "can version listing can use module identifier to return the version list"() {
            withLister([testA: [1, 2, 3], testB: [1, 2]])
            given:
            repository {
                'org:testA:1'()
                'org:testA:2'()
                'org:testA:3'()
                'org:testB:1'()
                'org:testB:2'()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. test/codegen/shift.go

    func lshSigned(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:"TESTB"
    	_ = x << v8
    	// amd64:"TESTW"
    	_ = x << v16
    	// amd64:"TESTL"
    	_ = x << v32
    	// amd64:"TESTQ"
    	_ = x << v64
    }
    
    // We want to avoid generating a test + panicshift for these cases.
    func lshSignedMasked(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:-"TESTB"
    	_ = x << (v8 & 7)
    	// amd64:-"TESTW"
    	_ = x << (v16 & 15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top