Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for Test (0.17 sec)

  1. cmd/test-utils_test.go

    	apiRouter http.Handler, credentials auth.Credentials, t *testing.T)
    
    // Regular object test type.
    type objTestType func(obj ObjectLayer, instanceType string, t TestErrHandler)
    
    // Special test type for test with directories
    type objTestTypeWithDirs func(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler)
    
    // Special object test type for disk not found situations.
    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)
  2. .teamcity/test-buckets.json

    				"subprojects":[
    					"composite-builds",
    					"declarative-dsl-core",
    					"problems",
    					"plugins-test-report-aggregation",
    					"resources-sftp",
    					"build-cache-http",
    					"testing-base",
    					"model-groovy",
    					"plugins-jvm-test-suite",
    					"plugins-version-catalog",
    					"plugins-jvm-test-fixtures"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    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)
  3. src/bytes/bytes_test.go

    		{"a☺b☻c☹d", "b", len("a☺")},               // non-ascii
    	}
    	for _, test := range testCases {
    		actual := LastIndexByte([]byte(test.a), test.b[0])
    		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
    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)
  4. tests/migrate_test.go

    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if err := DB.Migrator().DropTable(table); err != nil {
    				t.Fatalf("failed to drop table, got error: %v", err)
    			}
    			if err := DB.Table(table).AutoMigrate(test.from); err != nil {
    				t.Fatalf("failed to migrate table, got error: %v", err)
    			}
    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)
  5. 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)
  6. src/archive/zip/reader_test.go

    func TestFS(t *testing.T) {
    	for _, test := range []struct {
    		file string
    		want []string
    	}{
    		{
    			"testdata/unix.zip",
    			[]string{"hello", "dir/bar", "readonly"},
    		},
    		{
    			"testdata/subdir.zip",
    			[]string{"a/b/c"},
    		},
    	} {
    		test := test
    		t.Run(test.file, func(t *testing.T) {
    			t.Parallel()
    			z, err := OpenReader(test.file)
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	src := make([]byte, 10)
    	eofR := &eofReader{buf: src}
    	r := NewReader(eofR)
    
    	// Start by reading 5 of the 10 available bytes.
    	dest := make([]byte, 5)
    	read, err := r.Read(dest)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if n := len(dest); read != n {
    		t.Fatalf("read %d bytes; wanted %d bytes", read, n)
    	}
    
    	// The Reader should have buffered all the content from the io.Reader.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K 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/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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      char scratch[64 /* big enough for test_data and more_test_data */] = {0};
      StringPiece result;
      status = read_file->Read(0, test_data.size() + more_test_data.size(), &result,
                               scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      EXPECT_EQ(test_data + more_test_data, result);
      EXPECT_EQ(
          read_file->Read(test_data.size(), more_test_data.size(), &result, scratch)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top