Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for teston (0.24 sec)

  1. tests/query_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestFind(t *testing.T) {
    	users := []User{
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    		*GetUser("find", Config{}),
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    		// Test cases with prefixes.
    		// Testing listing with prefix set to "min" (Test number 40)	.
    		{bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true},
    		// Testing listing with prefix set to "ney" (Test number 41).
    		{bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true},
    		// Testing listing with prefix set to "par" (Test number 42).
    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)
  3. cmd/test-utils_test.go

    	return prepareErasure(ctx, 16)
    }
    
    // TestErrHandler - Go testing.T satisfy this interface.
    // This makes it easy to run the TestServer from any of the tests.
    // Using this interface, functionalities to be used in tests can be
    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		case err == nil && n != int64(test.length):
    			t.Errorf("Test %d: %d bytes were expected, but %d were written", i, test.length, n)
    		case err == nil && !bytes.Equal(data[test.offset:test.offset+test.length], buffer):
    			t.Errorf("Test %d: Expected bytes: %v, but got: %v", i, data[test.offset:test.offset+test.length], buffer)
    		case err != nil && err != test.expError:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		// Testing for trancated value (21-24).
    		{"test-bucket-list-object", "", "", "", 5, resultCases[1], nil, true},
    		{"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true},
    		{"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true},
    		{"test-bucket-list-object", "", "", "", 1, resultCases[4], nil, true},
    		// Testing with prefix (25-28).
    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)
  6. src/bytes/bytes_test.go

    		if actual != test.i {
    			t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i)
    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    	if testing.Short() {
    		n = 128
    	}
    	b := make([]byte, n)
    	for i := 0; i < n; i++ {
    		// different start alignments
    		b1 := b[i:]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. .teamcity/test-buckets.json

    					"enterprise",
    					"execution",
    					"execution-e2e-tests",
    					"file-collections",
    					"file-watching",
    					"ide",
    					"ide-plugins",
    					"integ-test",
    					"internal-integ-testing",
    					"internal-performance-testing",
    					"ivy",
    					"java-platform",
    					"jvm-services",
    					"kotlin-dsl",
    					"kotlin-dsl-integ-tests",
    					"language-java",
    					"language-jvm",
    Json
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed May 01 00:36:47 GMT 2024
    - 50.1K bytes
    - Viewed (0)
  8. internal/s3select/select_test.go

    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:       "is-not-missing",
    			query:      `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing`,
    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  9. tests/test_application.py

            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"fmt"
    	"math/rand"
    	"os"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/driver/postgres"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/migrator"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestMigrate(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top