Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for testObj (1.88 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/codegen/comparisons.go

    	}
    	return 0
    }
    
    func UintLtZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCC|JCS)`
    	// arm64: -`(CMPW|CMP|BHS|BLO)`
    	if a < 0 || b < 0 || c < 0 || d < 0 {
    		return 1
    	}
    	return 0
    }
    
    func UintGeqZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCS|JCC)`
    	// arm64: -`(CMPW|CMP|BLO|BHS)`
    	if a >= 0 || b >= 0 || c >= 0 || d >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

    }
    """
    
            expect:
            fails 'retrieve'
            failure.assertHasCause("A dependency was declared from configuration 'something' to configuration 'unknown' which is not declared in the descriptor for test:b:1.0.")
        }
    
        def "correctly handles configuration mapping rule '#rule'"() {
            given:
            buildFile << """
    configurations {
        compile
    }
    dependencies {
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            singleProjectBuildInRootDir("buildA") {
                buildFile << """
                    apply plugin: 'java'
                    dependencies {
                        testImplementation "org.test:b1:1.0"
    
                        testImplementation "org.test:buildC:1.0"
                        testImplementation "org.buildD:b1:1.0"
                    }
                """
                settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. docs/pl/docs/features.md

    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>, z interaktywnym interfejsem - odpytuj i testuj swoje API bezpośrednio z przeglądarki.
    
    ![Swagger UI interakcja](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top