Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,910 for testLang (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/volume/testing/testing.go

    limitations under the License.
    */
    
    package testing
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    	utilstrings "k8s.io/utils/strings"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. 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)
Back to top