Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Skipf (0.05 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. api/go1.18.txt

    pkg testing, method (*F) Name() string
    pkg testing, method (*F) Setenv(string, string)
    pkg testing, method (*F) Skip(...interface{})
    pkg testing, method (*F) SkipNow()
    pkg testing, method (*F) Skipf(string, ...interface{})
    pkg testing, method (*F) Skipped() bool
    pkg testing, method (*F) TempDir() string
    pkg testing, type F struct
    pkg testing, type InternalFuzzTarget struct
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpSuite(c)
    				suite.SetUpLDAP(c, ldapServer)
    				suite.TestLDAPSTS(c)
    				suite.TestLDAPPolicyEntitiesLookup(c)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg testing, method (*B) Skip(...interface{})
    pkg testing, method (*B) SkipNow()
    pkg testing, method (*B) Skipf(string, ...interface{})
    pkg testing, method (*B) Skipped() bool
    pkg testing, method (*T) Skip(...interface{})
    pkg testing, method (*T) SkipNow()
    pkg testing, method (*T) Skipf(string, ...interface{})
    pkg testing, method (*T) Skipped() bool
    pkg testing, method (BenchmarkResult) AllocedBytesPerOp() int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top