- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 7,967 for testLang (0.29 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) -
src/testing/testing.go
// If this happens during testing of package testing it could be that // package testing's own logic for when to run a test is broken, // in which case every test will run nothing and succeed, // with no obvious way to detect this problem (since no tests are running). // So make 'no tests to run' a hard failure when testing package testing itself. fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K 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/go/doc/testdata/testing.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package testing provides support for automated testing of Go packages. // It is intended to be used in concert with the “go test” utility, which automates // execution of any function of the form // func TestXxx(*testing.T) // where Xxx can be any alphanumeric string (but the first letter must not be in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0)