Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestLocal (0.24 sec)

  1. src/cmd/compile/internal/types2/check_test.go

    } // TODO(gri) narrow column tolerance
    func TestFixedbugs(t *testing.T) {
    	testDirFiles(t, "../../../../internal/types/testdata/fixedbugs", 100, false)
    }                            // TODO(gri) narrow column tolerance
    func TestLocal(t *testing.T) { testDirFiles(t, "testdata/local", 0, false) }
    
    func testDirFiles(t *testing.T, dir string, colDelta uint, manual bool) {
    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/go/types/check_test.go

    func TestExamples(t *testing.T)  { testDirFiles(t, "../../internal/types/testdata/examples", false) }
    func TestFixedbugs(t *testing.T) { testDirFiles(t, "../../internal/types/testdata/fixedbugs", false) }
    func TestLocal(t *testing.T)     { testDirFiles(t, "testdata/local", false) }
    
    func testDirFiles(t *testing.T, dir string, manual bool) {
    	testenv.MustHaveGoBuild(t)
    	dir = filepath.FromSlash(dir)
    
    	fis, err := os.ReadDir(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    				if dr.rule.Name != tt.expectedDrName[i] {
    					t.Errorf("destinationRuleName expected %v got %v", tt.expectedDrName[i], dr.rule.Name)
    				}
    			}
    			testLocal := ps.destinationRuleIndex.namespaceLocal[tt.proxyNs]
    			if testLocal != nil {
    				destRules := testLocal.specificDestRules
    				for _, dr := range destRules[host.Name(testhost)] {
    
    					// Check if the 'from' values match the expectedFrom map
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top