Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Dasia (0.15 sec)

  1. tests/tests_test.go

    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	postgresDSN  = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai"
    	sqlserverDSN = "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm"
    	tidbDSN      = "root:@tcp(localhost:9940)/test?charset=utf8&parseTime=True&loc=Local"
    )
    
    func init() {
    	var err error
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  2. cmd/bucket-handlers_test.go

    			shouldPass:         false,
    		},
    		// Test case - 5.
    		// Invalid upload id and marker combination.
    		{
    			bucket:             bucketName,
    			prefix:             "asia",
    			keyMarker:          "asia/europe/",
    			uploadIDMarker:     "abc",
    			delimiter:          "",
    			maxUploads:         "0",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  3. cmd/object-api-listobjects_test.go

    			Objects: []ObjectInfo{
    				{Name: "Asia-maps.png"},
    				{Name: "Asia/India/India-summer-photos-1"},
    				{Name: "Asia/India/Karnataka/Bangalore/Koramangala/pics"},
    			},
    		},
    
    		// ListObjectsResult-25.
    		// Prefix is set to "Asia" in the testCase, and delimiter is set (testCase 57).
    		25: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "Asia-maps.png"},
    			},
    			Prefixes: []string{"Asia/"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		{
    			bucketNames[0], "Asia", "europe-object", "", "", 0,
    			ListMultipartsInfo{KeyMarker: "europe-object", Prefix: "Asia", IsTruncated: false},
    			nil, true,
    		},
    		// Setting an invalid combination of uploadIDMarker and Marker (Test number 11-12).
    		{
    			bucketNames[0], "asia", "asia/europe/", "abc", "", 0,
    			ListMultipartsInfo{},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/object-api-getobjectinfo_test.go

    		{"test-getobjectinfo", "Asia/myfile", ObjectInfo{}, ObjectNotFound{Bucket: "test-getobjectinfo", Object: "Asia/myfile"}, false},
    		// Valid case with existing object (Test number 12).
    		{"test-getobjectinfo", "Asia/asiapics.jpg", resultCases[0], nil, true},
    		{"test-getobjectinfo", "Asia/empty-dir/", resultCases[1], nil, true},
    	}
    	for i, testCase := range testCases {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top