Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for TestA (0.05 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

        def "reasonable error message when a user rule throws an exception (#rule)"() {
            given:
            repository {
                'org:testA:1.0' {
                    variant('runtime') {
                        capability('org', 'testA', '1.0')
                        capability('cap')
                    }
                }
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    -- a/a.go --
    package a
    
    func init() {
    	println("package 'a' init: launch the missiles!")
    }
    
    func AFunc() int {
    	return 42
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- aa/aa.go --
    package aa
    
    import "M/it"
    
    func AA(y int) int {
    	c := it.Conc{}
    	x := it.Callee(&c)
    	println(x, y)
    	return 0
    }
    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/go/testdata/script/cover_coverpkg_partial.txt

    -- a/a.go --
    package a
    
    import "M/f"
    
    var G int
    
    func AFunc() int {
    	G = 1
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    package b
    
    import (
    	"M/a"
    	"M/d"
    )
    
    func BFunc() int {
    	return -d.FortyTwo + a.AFunc()
    }
    -- b/b_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)
  4. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    package a
    
    import "M/f"
    
    func init() {
    	println("package 'a' init: launch the missiles!")
    }
    
    func AFunc() int {
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    	return -42
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/testing/match_test.go

    		{"TestFoo/", "", "TestBar", "x", false, false},
    		{"TestFoo/bar/baz", "", "TestBar", "x/bar/baz", false, false},
    
    		{"A/B|C/D", "", "TestA", "B", true, false},
    		{"A/B|C/D", "", "TestC", "D", true, false},
    		{"A/B|C/D", "", "TestA", "C", false, false},
    
    		// subtests only
    		{"", "", "TestFoo", "x", true, false},
    		{"/", "", "TestFoo", "x", true, false},
    		{"./", "", "TestFoo", "x", true, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_pgo_auto.txt

    ! stderr 'build\\t-pgo='
    
    -- go.mod --
    module test
    go 1.20
    -- a/a1/a1.go --
    package main
    import _ "test/dep"
    func main() {}
    -- a/a1/a1_test.go --
    package main
    import "testing"
    func TestA(*testing.T) {}
    -- a/a1/external_test.go --
    package main_test
    import "testing"
    func TestExternal(*testing.T) {}
    -- a/a1/default.pgo --
    -- nopgo/nopgo.go --
    package main
    func main() {}
    -- dep/dep.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/benchmarks.md

    Especificamente, para ver o Uvicorn, Starlette e FastAPI comparados entre si (entre diversas outras ferramentas).
    
    Quanto mais simples o problema resolvido pela ferramenta, melhor será a performance. E a maioria das análises não testa funcionalidades adicionais que são oferecidas pela ferramenta.
    
    A hierarquia é:
    
    * **Uvicorn**: um servidor ASGI
        * **Starlette**: (utiliza Uvicorn) um microframework web
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    -- go.mod --
    module test
    go 1.20
    -- a/a.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- a/a_test.go --
    package main
    import "testing"
    import _ "test/testdep"
    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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/object_test.cc

      // Test a trivial lambda that doubles an integer.
      Callable c(
          TFLIB_CALLABLE_ADAPTOR([](Integer a) { return Integer(a.get() * 2); }));
      EXPECT_EQ(c.Call<Integer>(Integer(3))->get(), 6);
      // Testa lambda that has captured state (call count).
      int call_count = 0;
      Callable f(TFLIB_CALLABLE_ADAPTOR([&call_count](Integer a, Integer b) {
        call_count++;
        return Integer(a.get() + b.get());
      }));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

            given:
            repository {
                'org:testA:1.0' {
                    variant('runtime') {
                        capability('org', 'testA', '1.0')
                        capability('cap')
                    }
                }
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top