Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for checkTest (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    				checkExampleName(pass, fn)
    				checkExampleOutput(pass, fn, f.Comments)
    			case strings.HasPrefix(fn.Name.Name, "Test"):
    				checkTest(pass, fn, "Test")
    			case strings.HasPrefix(fn.Name.Name, "Benchmark"):
    				checkTest(pass, fn, "Benchmark")
    			case strings.HasPrefix(fn.Name.Name, "Fuzz"):
    				checkTest(pass, fn, "Fuzz")
    				checkFuzz(pass, fn)
    			}
    		}
    	}
    	return nil, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check_test.go

    Robert Griesemer <******@****.***> 1716398809 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/go/types/check_test.go

    Robert Griesemer <******@****.***> 1716398809 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. test/typeparam/list2.go

    	l3 := _New[int]()
    	l3.PushBackList(l1)
    	checkList(l3, []interface{}{1, 2, 3})
    	l3.PushBackList(l2)
    	checkList(l3, []interface{}{1, 2, 3, 4, 5})
    
    	l3 = _New[int]()
    	l3.PushFrontList(l2)
    	checkList(l3, []interface{}{4, 5})
    	l3.PushFrontList(l1)
    	checkList(l3, []interface{}{1, 2, 3, 4, 5})
    
    	checkList(l1, []interface{}{1, 2, 3})
    	checkList(l2, []interface{}{4, 5})
    
    	l3 = _New[int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks_test.go

    			}
    			for _, check := range checks {
    				if check.Name() == ipv4File {
    					checkList = append(checkList, ipv4File)
    				}
    				if check.Name() == ipv6File {
    					checkList = append(checkList, ipv6File)
    				}
    			}
    			if diff := cmp.Diff(checkList, rt.expStr); diff != "" {
    				t.Fatalf("unexpected file content check (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. tests/associations_has_one_test.go

    	if err := DB.Create(&pet).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckPet(t, pet, pet)
    
    	// Find
    	var pet2 Pet
    	DB.Find(&pet2, "id = ?", pet.ID)
    	DB.Model(&pet2).Association("Toy").Find(&pet2.Toy)
    	CheckPet(t, pet2, pet)
    
    	// Count
    	AssertAssociationCount(t, pet, "Toy", 1, "")
    
    	// Append
    	toy := Toy{Name: "toy-has-one-append"}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE.md

    <!--- The issue this PR addresses -->
    <!-- Fixes #? -->
    
    ### Context
    <!--- Why do you believe many users will benefit from this change? -->
    <!--- Link to relevant issues or forum discussions here -->
    
    ### Contributor Checklist
    - [ ] [Review Contribution Guidelines](https://github.com/gradle/gradle/blob/master/CONTRIBUTING.md).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

    import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.primitiveTypeStrings
    import org.gradle.kotlin.dsl.support.bytecode.ALOAD
    import org.gradle.kotlin.dsl.support.bytecode.ARETURN
    import org.gradle.kotlin.dsl.support.bytecode.CHECKCAST
    import org.gradle.kotlin.dsl.support.bytecode.INVOKEINTERFACE
    import org.gradle.kotlin.dsl.support.bytecode.INVOKESTATIC
    import org.gradle.kotlin.dsl.support.bytecode.InternalName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. tests/create_test.go

    		}
    
    		if err := DB.Create(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		CheckPet(t, pet, pet)
    
    		var pet2 Pet
    		DB.Preload("Toy").Find(&pet2, "id = ?", pet.ID)
    		CheckPet(t, pet2, pet)
    	})
    
    	t.Run("Slice", func(t *testing.T) {
    		pets := []Pet{{
    			Name: "PolymorphicHasOne-Slice-1",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          if (object == null) {
            throw new NullPointerException();
          }
        }
        Platform.checkCast(type, object); // behave badly
        return Arrays.asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top