- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,645 for testLang (0.15 sec)
-
src/cmd/compile/internal/test/lang_test.go
} outfile := filepath.Join(dir, "alias.o") if testLang(t, "go9.99", src, outfile) == nil { t.Error("compilation with -lang=go9.99 succeeded unexpectedly") } // This test will have to be adjusted if we ever reach 1.99 or 2.0. if testLang(t, "go1.99", src, outfile) == nil { t.Error("compilation with -lang=go1.99 succeeded unexpectedly") } if testLang(t, "go1.8", src, outfile) == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 1.4K bytes - Viewed (0) -
src/go/version/version_test.go
{"go1.99999999999999998", "go1.99999999999999999", -1}, } func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) } var langTests = []testCase1[string, string]{ {"bad", ""}, {"go1.2rc3", "go1.2"}, {"go1.2.3", "go1.2"}, {"go1.2", "go1.2"}, {"go1", "go1"}, {"go222", "go222.0"}, {"go1.999testmod", "go1.999"}, } func TestIsValid(t *testing.T) { test1(t, isValidTests, "IsValid", IsValid) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 19:56:48 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/internal/gover/gover_test.go
{"1.99999999999999998", "1.99999999999999999", -1}, } func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) } var langTests = []testCase1[string, string]{ {"1.2rc3", "1.2"}, {"1.2.3", "1.2"}, {"1.2", "1.2"}, {"1", "1"}, {"1.999testmod", "1.999"}, } func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) } var isLangTests = []testCase1[string, bool]{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.3K bytes - Viewed (0) -
src/internal/gover/gover_test.go
{"1.99999999999999999", Version{"1", "99999999999999999", "", "", ""}}, } func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) } var langTests = []testCase1[string, string]{ {"1.2rc3", "1.2"}, {"1.2.3", "1.2"}, {"1.2", "1.2"}, {"1", "1"}, {"1.999testmod", "1.999"}, } func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) } var isLangTests = []testCase1[string, bool]{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 3.4K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
# Testing Thanks to <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testing **FastAPI** applications is easy and enjoyable. It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/kube/krt/testing.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package krt // Dump is a *testing* helper to dump the state of a collection, if possible, into logs. func Dump[O any](c Collection[O]) { c.(internalCollection[O]).dump() } type TestingDummyContext struct{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/testing/testing.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package testing import ( "context" "testing" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 09:49:54 UTC 2023 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/testing/testing.go
See the License for the specific language governing permissions and limitations under the License. */ package testing import ( "crypto" "fmt" "os" "path/filepath" "regexp" "runtime" "runtime/debug" "strings" "sync" "testing" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements testing support. package syntax import ( "io" "regexp" ) // CommentsDo parses the given source and calls the provided handler for each // comment or error. If the text provided to handler starts with a '/' it is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing.py
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """Common testing utilities for quantization libraries.""" import itertools import os from typing import Any, Mapping, Sequence def parameter_combinations( test_parameters: Sequence[Mapping[str, Sequence[Any]]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.2K bytes - Viewed (0)