Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 774 for tests (0.01 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
                return index + 1;
            } else {
                return 0;
            }
        }
    
        /**
         * Tests whether a line is a comment, i.e. whether it starts with a comment
         * character.
         *
         * @param line the line
         * @return a flag if this is a comment line
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                }
                setHeader(new ArrayList<String>(commentLines.subList(0, index + 1)));
                return index + 1;
            } else {
                return 0;
            }
        }
    
        /**
         * Tests whether a line is a comment, i.e. whether it starts with a comment
         * character.
         *
         * @param line the line
         * @return a flag if this is a comment line
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  3. tests/create_test.go

    package tests_test
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"testing"
    	"time"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestCreate(t *testing.T) {
    	u1 := *GetUser("create", Config{})
    
    	if results := DB.Create(&u1); results.Error != nil {
    		t.Fatalf("errors happened when create: %v", results.Error)
    	} else if results.RowsAffected != 1 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  4. tests/update_test.go

    package tests_test
    
    import (
    	"errors"
    	"regexp"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdate(t *testing.T) {
    	var (
    		users = []*User{
    			GetUser("update-1", Config{}),
    			GetUser("update-2", Config{}),
    			GetUser("update-3", Config{}),
    		}
    		user          = users[1]
    		lastUpdatedAt time.Time
    	)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  5. internal/grid/grid_test.go

    	const testPayload = "Hello Grid World!"
    
    	start := time.Now()
    	req := NewMSSWith(map[string]string{"test": testPayload})
    	resp, err := h1.Call(t.Context(), remoteConn, req)
    	errFatal(err)
    	if resp.Get("test") != testPayload {
    		t.Errorf("want %q, got %q", testPayload, resp.Get("test"))
    	}
    	t.Log("Roundtrip:", time.Since(start))
    	h1.PutResponse(resp)
    
    	start = time.Now()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  6. docs/en/docs/virtual-environments.md

        end
    ```
    
    /// tip
    
    It's very common in Python packages to try the best to **avoid breaking changes** in **new versions**, but it's better to be safe, and install newer versions intentionally and when you can run the tests to check everything is working correctly.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 05:09:25 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. cmd/xl-storage-format-v2_test.go

    		},
    	}
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			// Run multiple times, shuffling the input order.
    			for i := range int64(50) {
    				t.Run(fmt.Sprint(i), func(t *testing.T) {
    					rng := rand.New(rand.NewSource(i))
    					rng.Shuffle(len(test.input), func(i, j int) {
    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  8. docs/es/docs/alternatives.md

    * Tareas en segundo plano dentro del proceso.
    * Eventos de inicio y apagado.
    * Cliente de pruebas basado en HTTPX.
    * CORS, GZip, Archivos estáticos, Responses en streaming.
    * Soporte para sesiones y cookies.
    * Cobertura de tests del 100%.
    * Base de código 100% tipada.
    * Pocas dependencias obligatorias.
    
    Starlette es actualmente el framework de Python más rápido probado. Solo superado por Uvicorn, que no es un framework, sino un servidor.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. tests/generics_test.go

    	ctx := context.Background()
    
    	// Just test that the API can be called
    	_, err := gorm.G[User](DB).Count(ctx, "*")
    	if err != nil {
    		t.Fatalf("Count failed: %v", err)
    	}
    }
    
    func TestGenericsUpdate(t *testing.T) {
    	ctx := context.Background()
    
    	// Just test that the API can be called
    	_, err := gorm.G[User](DB).Where("id = ?", 1).Update(ctx, "name", "test")
    	if err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  10. cmd/utils.go

    	for {
    		werr := errors.Unwrap(err)
    		if werr == nil {
    			return err
    		}
    		err = werr
    	}
    }
    
    // stringsHasPrefixFold tests whether the string s begins with prefix ignoring case.
    func stringsHasPrefixFold(s, prefix string) bool {
    	// Test match with case first.
    	return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix))
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
Back to Top