Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 100 for testObj (0.29 sec)

  1. 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)
  2. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    -- b/b_test.go --
    package b
    
    import "testing"
    
    func TestB(t *testing.T) {
    	if BFunc() != -42 {
    		t.Fatalf("bad!")
    	}
    }
    -- deadstuff/deadstuff.go --
    package deadstuff
    
    func downStreamOfPanic(x int) {
    	panic("bad")
    	if x < 10 {
    		println("foo")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Fold boolean tests into blocks
    (NE (TESTB (SETL  cmp) (SETL  cmp)) yes no) => (LT  cmp yes no)
    (NE (TESTB (SETLE cmp) (SETLE cmp)) yes no) => (LE  cmp yes no)
    (NE (TESTB (SETG  cmp) (SETG  cmp)) yes no) => (GT  cmp yes no)
    (NE (TESTB (SETGE cmp) (SETGE cmp)) yes no) => (GE  cmp yes no)
    (NE (TESTB (SETEQ cmp) (SETEQ cmp)) yes no) => (EQ  cmp yes no)
    (NE (TESTB (SETNE cmp) (SETNE cmp)) yes no) => (NE  cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. test/recover.go

    		*s += v
    	}
    	if recover() != nil {
    		*s += 100
    	}
    }
    
    func test8a() (r int) {
    	defer varargs(&r, 1, 2, 3)
    	panic(0)
    }
    
    func test8b() (r int) {
    	defer varargs(&r, 4, 5, 6)
    	return
    }
    
    func test8() {
    	if test8a() != 106 || test8b() != 15 {
    		println("wrong value")
    		die()
    	}
    }
    
    type I interface {
    	M()
    }
    
    // pointer receiver, so no wrapper in i.M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top