Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for jsTest (0.16 sec)

  1. src/syscall/js/js_test.go

    // - Add /path/to/go/misc/wasm to your $PATH (so that "go test" can find
    //   "go_js_wasm_exec").
    // - GOOS=js GOARCH=wasm go test
    //
    // See -exec in "go help test", and "go help run" for details.
    
    package js_test
    
    import (
    	"fmt"
    	"math"
    	"runtime"
    	"syscall/js"
    	"testing"
    )
    
    var dummys = js.Global().Call("eval", `({
    	someBool: true,
    	someString: "abc\u1234",
    	someInt: 42,
    	someFloat: 42.123,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. pkg/proxy/healthcheck/healthcheck_test.go

    	}
    
    	if status == http.StatusOK {
    		hsTest.tracking200++
    	}
    	if status == http.StatusServiceUnavailable {
    		hsTest.tracking503++
    	}
    	if hsTest.url == healthzURL {
    		testMetricEquals(metrics.ProxyHealthzTotal.WithLabelValues("200"), float64(hsTest.tracking200), t)
    		testMetricEquals(metrics.ProxyHealthzTotal.WithLabelValues("503"), float64(hsTest.tracking503), t)
    	}
    	if hsTest.url == livezURL {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    									XValidations: apiextensions.ValidationRules{
    										{
    											Rule:            "isTest == true",
    											Message:         "isTest should be true.",
    											OptionalOldSelf: ptr.To(true),
    										},
    									},
    									Properties: map[string]apiextensions.JSONSchemaProps{
    										"isTest": {
    											Type: "boolean",
    										},
    									},
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. docs/pl/docs/tutorial/first-steps.md

    ### OpenAPI
    
    **FastAPI** generuje "schemat" z całym Twoim API przy użyciu standardu **OpenAPI** służącego do definiowania API.
    
    #### Schema
    
    "Schema" jest definicją lub opisem czegoś. Nie jest to kod, który go implementuje, ale po prostu abstrakcyjny opis.
    
    #### API "Schema"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. docs/pl/docs/index.md

    * Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`.
    * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`.
        * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem.
    * Sprawdzi czy w ścieżce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla żądania `GET`.
        * Jako że parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. src/go/doc/example.go

    				continue
    			}
    			f, ok := decl.(*ast.FuncDecl)
    			if !ok || f.Recv != nil {
    				continue
    			}
    			numDecl++
    			name := f.Name.Name
    			if isTest(name, "Test") || isTest(name, "Benchmark") || isTest(name, "Fuzz") {
    				hasTests = true
    				continue
    			}
    			if !isTest(name, "Example") {
    				continue
    			}
    			if params := f.Type.Params; len(params.List) != 0 {
    				continue // function has params; not a valid example
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. docs/pl/docs/features.md

    Cała struktura frameworku **FastAPI** jest na tym oparta. Autouzupełnianie działa wszędzie.
    
    Rzadko będziesz musiał wracać do dokumentacji.
    
    Oto, jak twój edytor może Ci pomóc:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. docs/pl/docs/help-fastapi.md

    ### Zrozum problem
    
    * Najpierw upewnij się, że **rozumiesz problem**, który próbuje rozwiązać pull request. Może być osadzony w większym kontekście w GitHubowej dyskusji lub problemie.
    
    * Jest też duża szansa, że pull request nie jest konieczny, ponieważ problem można rozwiązać w **inny sposób**. Wtedy możesz to zasugerować lub o to zapytać.
    
    ### Nie martw się stylem
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/read.go

    		if pkg == "documentation" {
    			p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			continue
    		}
    		isTest := strings.HasSuffix(name, "_test.go")
    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/load/test.go

    		return true
    	}
    	return false
    }
    
    // isTest tells whether name looks like a test (or benchmark, according to prefix).
    // It is a Test (say) if there is a character after Test that is not a lower-case letter.
    // We don't want TesticularCancer.
    func isTest(name, prefix string) bool {
    	if !strings.HasPrefix(name, prefix) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top