Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 180 for SkipIf (0.22 sec)

  1. tests/create_test.go

    	AssertEqual(t, u2.Email, "on-conflict-user-email-2")
    	AssertEqual(t, u2.Mobile, "133xxxx")
    }
    
    func TestCreateFromMapWithoutPK(t *testing.T) {
    	if !isMysql() {
    		t.Skipf("This test case skipped, because of only supporting for mysql")
    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/net/main_test.go

    func mustSetDeadline(t testing.TB, m func(time.Time) error, d time.Duration) {
    	err := m(time.Now().Add(d))
    	if err != nil {
    		t.Helper()
    		if runtime.GOOS == "plan9" {
    			t.Skipf("skipping: %s does not support deadlines", runtime.GOOS)
    		}
    		t.Fatal(err)
    	}
    }
    
    type ipv6LinkLocalUnicastTest struct {
    	network, address string
    	nameLookup       bool
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/go/go_test.go

    var exeSuffix string = func() string {
    	if runtime.GOOS == "windows" {
    		return ".exe"
    	}
    	return ""
    }()
    
    func tooSlow(t *testing.T, reason string) {
    	if testing.Short() {
    		t.Helper()
    		t.Skipf("skipping test in -short mode: %s", reason)
    	}
    }
    
    // testGOROOT is the GOROOT to use when running testgo, a cmd/go binary
    // build from this process's current GOROOT, but run from a different
    // (temp) directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    	if dir == "." {
    		t.Skip("skipping; running test at root somehow")
    	}
    	parentDir := filepath.Dir(dir) // "/tmp/go-buildNNNN/os/exec"
    	dirBase := filepath.Base(dir)  // "_test"
    	if dirBase == "." {
    		t.Skipf("skipping; unexpected shallow dir of %q", dir)
    	}
    
    	cmd.Path = filepath.Join(dirBase, base)
    	cmd.Dir = parentDir
    
    	out, err := cmd.Output()
    	if err != nil {
    		t.Errorf("echo: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. cmd/sftp-server_test.go

    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    				// LDAP tests
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpLDAP(c, ldapServer)
    
    				suite.SFTPFailedAuthDueToMissingPolicy(c)
    				suite.SFTPFailedAuthDueToInvalidUser(c)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/crypto/x509/platform_test.go

    	}
    	b, _ = pem.Decode(der)
    	testRootKey, err := ParseECPrivateKey(b.Bytes)
    	if err != nil {
    		t.Fatalf("failed to parse test key: %s", err)
    	}
    
    	if _, err := testRoot.Verify(VerifyOptions{}); err != nil {
    		t.Skipf("test root is not in trust store, skipping (err: %q)", err)
    	}
    
    	now := time.Now()
    
    	tests := []struct {
    		name       string
    		cert       *Certificate
    		selfSigned bool
    		dnsName    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/context/context_test.go

    	FailNow()
    	Failed() bool
    	Fatal(args ...any)
    	Fatalf(format string, args ...any)
    	Helper()
    	Log(args ...any)
    	Logf(format string, args ...any)
    	Name() string
    	Parallel()
    	Skip(args ...any)
    	SkipNow()
    	Skipf(format string, args ...any)
    	Skipped() bool
    }
    
    const veryLongDuration = 1000 * time.Hour // an arbitrary upper bound on the test's running time
    
    func contains(m map[canceler]struct{}, key canceler) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 19:13:01 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/link/link_test.go

    	}
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		t.Skip("skipping in -short mode with $GO_BUILDER_NAME empty")
    	}
    	if err := testenv.Command(t, "xcrun", "--help").Run(); err != nil {
    		t.Skipf("error running xcrun, required for iOS cross build: %v", err)
    	}
    
    	t.Parallel()
    
    	sdkPath, err := testenv.Command(t, "xcrun", "--sdk", "appletvos", "--show-sdk-path").Output()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  9. src/net/tcpsock_test.go

    }
    
    func TestTCPReadWriteAllocs(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		// The implementation of asynchronous cancelable
    		// I/O on Plan 9 allocates memory.
    		// See net/fd_io_plan9.go.
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	ln, err := Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer ln.Close()
    	var server Conn
    	errc := make(chan error, 1)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. src/os/timeout_test.go

    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestNonpollableDeadline(t *testing.T) {
    	// On BSD systems regular files seem to be pollable,
    	// so just run this test on Linux.
    	if runtime.GOOS != "linux" {
    		t.Skipf("skipping on %s", runtime.GOOS)
    	}
    	t.Parallel()
    
    	f, err := os.CreateTemp("", "ostest")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.Remove(f.Name())
    	defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top