Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testOrder0 (0.09 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            VersionRange vr = null;
    
            vr = VersionRange.createFromVersionSpec(requiredVersionRange);
    
            return vr.containsVersion(actualVersion);
        }
    
        @Test
        void testOrder0() {
            // assertTrue( new DefaultArtifactVersion( "1.0-alpha10" ).compareTo( new DefaultArtifactVersion( "1.0-alpha1" )
            // ) > 0 );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. tests/query_test.go

    	}
    
    	result = User{}
    	if DB.Where(map[string]interface{}{}).Where("name = ?", user.Name).First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty map")
    	}
    }
    
    func TestOrder(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	result := dryDB.Order("").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* IS NULL$").MatchString(result.Statement.SQL.String()) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top